简体   繁体   中英

Can I Automate pester Tests in Azure test plans?

So I am new to Azure Test plans and created few test cases. I wanted to link/associate my tests (written using pester) with the test cases in azure test plans. I saw many tutorials but it's all about Visual studio and c# tests - how to associate automated tests in test plans.

and my requirement is: associate my pester tests with azure test cases. is it possible?

These are the limitations for each type of test are supported for Azure Assosiation:

  • Coded UI test, Selenium tests, and unit tests written using Version 1 of the MSTest framework can be associated with a test case.
  • Tests that use MSTest v2, NUnit, and xUnit frameworks can be associated with a test case workitem when using Visual Studio 15.9 Preview 2 or later. However, these tests cannot be run using Microsoft Test Manager and XAML builds.
  • Tests that use the .NET core framework can be associated with a test case workitem when using Visual Studio 15.9 Preview 2 or later. To run the .NET core tests the appropriate target framework must be specified in a runsettings file. However, these tests cannot be run using Microsoft Test Manager and XAML builds.
  • Tests that use other test frameworks such as Chutzpah (for JavaScript tests such as Mocha or QUnit), or Jest cannot be associated with a test case.
  • Associating generic tests may work, but running these tests is not supported.

https://docs.microsoft.com/en-us/azure/devops/test/associate-automated-test-with-test-case?view=azure-devops#test-types

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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