简体   繁体   English

FitNesse:在 Java 中访问测试结果和其他数据

[英]FitNesse: Access the Test Results and other data in Java

I have a suite created in FitNesse.我有一个在 FitNesse 中创建的套件。

All the Test pages under that suite are created using Java.该套件下的所有测试页面都是使用 Java 创建的。

When I run the suite, I am able to see the results in FitNesse.当我运行套件时,我可以在 FitNesse 中看到结果。

Now I want to access the data, results, suite name, etc. in Java.现在我想在 Java 中访问数据、结果、套件名称等。

Also, I need to update HP-Quality Control (ALM) with the results.此外,我需要使用结果更新 HP 质量控制 (ALM)。

Is there an API I can use to access the FitNesse results in Java or to update ALM directly?是否有 API 可用于访问 Java 中的 FitNesse 结果或直接更新 ALM?

You can access the FitNesse Test Page or Test Suite results using Fitnesse RESTful services.您可以使用 Fitnesse RESTful 服务访问 FitNesse 测试页面或测试套件结果。

You can follow up here .你可以在这里跟进。

I have no experience using alm, but assuming importing test results is a common use case: You can use fitnesse's junit runner to run suites.我没有使用 alm 的经验,但假设导入测试结果是一个常见用例:您可以使用 Fitnesse 的 junit runner 来运行套件。 The name and results are then available as junit results.然后,名称和结果可用作 junit 结果。 Is there a standard way to import those?有没有标准的方法来导入这些? I assume there is.我假设有。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM