将nspec集成到测试接口中 [英] integration nspec into test interface
问题描述
大家好,
可以将nspec.org的Nspec集成到测试界面吗?
只需要进行一堆测试togehter在nspec命令行界面上运行良好,并想知道它是否可以将它集成到vsts构建和测试框架中。
非常感谢任何建议。
Warwick
VSTS具有发布测试结果任务,可以发布以nUnit,xUnit,jUnit和trx等格式生成的测试结果。如果可以使用任何这些格式生成结果,则可以使用"发布测试结果"任务。否则,您必须使用REST API发布结果
。 请参阅:
https://www.visualstudio .com / zh-cn / docs / integrate / api / test / runs
https://www.visualstudio.com/en-us/docs/integrate/api/test/results
样本
here 。
hi folks,
Can Nspec of nspec.org be integrated into the test interface?
Just put a bunch of tests togehter which work well on the nspec command line interface and wondering if it was possoble ti integrate it into the vsts build and test framework.
Would appreciate any advice.
Warwick
VSTS has Publish test results task that can publish test results generated in formats like nUnit, xUnit, jUnit, and trx. If your results can be generated in any of these formats, you can use the Publish test results task. Else you will have to publish results using REST APIs. See:
https://www.visualstudio.com/en-us/docs/integrate/api/test/runs
https://www.visualstudio.com/en-us/docs/integrate/api/test/results
Samples here.
这篇关于将nspec集成到测试接口中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!