通过REST Api创建测试用例 [英] Creating Test Cases via REST Api

查看:122
本文介绍了通过REST Api创建测试用例的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

一些背景信息:我试图通过使用REST api将测试结果从我们的集成测试套件中获取到VSTS中。测试来自一系列工具,但都是xml格式,所以很容易迭代。


有没有人知道是否可以通过REST API创建测试用例?我知道可以创建套房和套房。计划,但是从文件没有端点创建,我可以看到的情况。

解决方案
问候,


是,截至目前这是不可能的,但你可以得到测试用例和使用REST API测试案例列表


https: //www.visualstudio.com/en-us/docs/integrate/api/test/cases


< span style ="font-size:medium">问候,


A bit of background information: I am trying to get the test results from our integration test suite into VSTS by using the REST api. The tests are from a range of tools, but are all in xml format so are fairly easy to iterate through.

Does anyone know if it possible to create a test case via the REST api? I know it's possible to create suites & plans, but from the documentation there is no endpoint to create cases that I can see?

解决方案

Greetings,

Yes, as of now it is not possible, but you can get the test case and list of test cases using REST API.

https://www.visualstudio.com/en-us/docs/integrate/api/test/cases

Regards,


这篇关于通过REST Api创建测试用例的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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