Commit 7f8186c0 authored by 张艳玲's avatar 张艳玲

update

parent 88e2e70f
......@@ -87,7 +87,7 @@ public class Boss {
params.put("sellerId",vistorId);
Response response = network.getResponse(params,BOSS_IDENTITY);
int identity = response.jsonPath().getInt("data.identity"); //1团长、2成员、3没有团队
Assert.assertEquals(identity, 3, network.message(params,BOSS_IDENTITY,"被邀请人已有团队或已绑定上级,不能再接受邀请",response.body().asString()));
Assert.assertEquals(identity, 3, network.message(params,BOSS_IDENTITY,String.format("被邀请人:%s已有团队或已绑定上级,不能再接受邀请", vistorId),response.body().asString()));
}
//获取info接口的代理人id
......
......@@ -103,7 +103,7 @@ public class ExtentTestNGIReporterListener implements IReporter {
}
contextString.append(suite.getName()).append("\n")
.append(String.format("通过的用例数: %s\n失败的用例数: %s\n", suitePassSize, suiteFailSize))
.append(String.format("总用例数: %s\n通过的用例数: %s\n失败的用例数: %s\n", suite.getAllMethods().size(), suitePassSize, suiteFailSize))
.append("\n");
}
try {
......
......@@ -2,7 +2,7 @@
<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
<suite name="客集集" verbose="1" thread-count="3">
<suite-files>
<!-- <suite-file path="wechatTestNG.xml"></suite-file>-->
<suite-file path="wechatTestNG.xml"></suite-file>
<suite-file path="liveTestNG.xml"></suite-file>
</suite-files>
<!-- 监听器-->
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment