将nspec集成到测试接口中 [英] integration nspec into test interface

查看:73
本文介绍了将nspec集成到测试接口中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,


可以将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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆