如果试用Jenkins进行构建,构建中的测试结果可以直接作为Testlink的自动直接结果。
 
1. Testlink 中新增custom field。
 
2. 用例中custom field中加入该用例对应测试类名和方法名,格式:com.example.demo.TestUrl#prodApi。
 
3. Jenkins中安装Testlink Plugin,安装后在“管理Jenkins”->“组态设定”->“TestLink Installation”中填入你的Testlink资料。
URL:http://localhost/testlink-1.9.9/lib/api/xmlrpc/v1/xmlrpc.php
Developer Key:在Testlink的“My Settings”->“API interface”中,“Generate a new key”。
 
4. Jenkins的专案设定中,“新增建置后步骤”选择“Invoke Testlink”,然后在“TestLink Configuration”中填入Testlink中对应的资料。然后“Result Seeking Strategy”->“add strategy”选择“JUnit method name”并填入对应资料(“Include Pattern”填入“**/TEST-*.xml”)。
 
5. 构建项目,完成后应该见到Testlink有相应的执行结果。
 

相关文章:

  • 2021-08-14
  • 2021-11-19
  • 2021-09-14
  • 2021-08-08
  • 2021-10-06
  • 2021-07-04
  • 2021-12-02
猜你喜欢
  • 2021-09-02
  • 2022-12-23
  • 2021-09-08
  • 2022-12-23
  • 2021-05-27
  • 2021-08-02
  • 2022-12-23
相关资源
相似解决方案