NewmanPostman_VSTS_Task:Azure DevOps管道运行纽曼测试的任务

时间:2021-01-30 02:55:49
【文件属性】:
文件名称:NewmanPostman_VSTS_Task:Azure DevOps管道运行纽曼测试的任务
文件大小:222KB
文件格式:ZIP
更新时间:2021-01-30 02:55:49
devops azure vsts pipelines postman 纽曼邮递员的cli伴侣 **不是官方任务** 使用 ,您可以直接从命令行轻松地运行和测试Postman Collections。 现在完成任务! 如何 您可以将此任务包括在构建或发布管道中。 这是快速的“操作方法” 必需品 添加一个以在执行前安装Newman。 设置显示名称(例如:'Install Newman')。 将custom设置为命令 作为“命令和参数”,设置install newman -g 。 请注意,如果任务版本尚不支持最新的Newman版本,则可以使用较旧的版本,例如install newman@4.6.1 -g 。 执行 根据您的要求配置此任务。 (请参阅和了解选项) 报告 测试报告可以集成到团队服务中。 为此: 至少选择junit作为报告程序选项(可以添加其他选项)。 (可选)指定导出junit报告的路径。 添加“发布测试结果”任务,以处理生成的Junit报告。 指定格式(JUnit)和路径以及xml文件。 现在将通过测试统计信息报告执行情况。 报告-HTML Extra 在执行之前,添加一个以安装Newman-reporter-htmlextra
【文件预览】:
NewmanPostman_VSTS_Task-master
----NewmanPostman()
--------icon.png(2KB)
--------task.json(14KB)
--------package-lock.json(4KB)
--------newmantask.ts(10KB)
--------package.json(396B)
----.github()
--------ISSUE_TEMPLATE()
----vss-extension.json(2KB)
----Tests()
--------noEnvironment.ts(920B)
--------noMatchedFileInDir.ts(1KB)
--------globalVarFileTest.ts(1KB)
--------useEnvironmentURL.ts(1KB)
--------emptyContents.ts(1KB)
--------numberOfIterationTest.ts(1KB)
--------folderAsSource.ts(2KB)
--------TestSuite.ts(10KB)
--------useNewmanPath.ts(1KB)
--------globalVarTest.ts(1KB)
--------emptyCollectionTest.ts(805B)
--------emptyEnvironmentURL.ts(802B)
--------folderTest.ts(1KB)
--------wrongCollectionURL.ts(798B)
--------useCollectionURL.ts(853B)
--------emptyEnvironmentFile.ts(803B)
--------useEnvironmentFile.ts(1KB)
--------customReporterTest.ts(1KB)
--------wrongEnvironmentURL.ts(871B)
----ThirdPartyNotices.txt(119B)
----tsconfig.json(149B)
----README.md(5KB)
----azure-pipelines.yml(2KB)
----license.md(1KB)
----.gitignore(515B)
----package-lock.json(61KB)
----package.json(746B)
----static()
--------images()

网友评论