Azure Devops-Visual studio Test Task , Fails to recognize Automated Test cases from Test Suite

Anonymous
2023-03-29T14:11:37.9433333+00:00

I Have some automated Test cases (with automated Tag) to be run from Pipeline by using a Visual studio test task.

Test cases are maintained in a sperate test plan and if it is imported to the current testing plan , Automated testing will work

If the same test cases are added using REST API script in a suite and pipeline run is not detecting automated test cases

Error-'

TeamFoundation.DistributedTask.Task.TestExecution.NoTestPointsException: No automated test cases were found matching the specified test plan, test suites, test configuration. Ensure that right values were specified and try again.

'

Visual Studio Testing
Visual Studio Testing
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Testing: The act or process of applying tests as a means of analysis or diagnosis.
331 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Tianyu Sun-MSFT 27,796 Reputation points Microsoft Vendor
    2023-03-30T02:40:36.5466667+00:00

    Hello @Anonymous ,

    Thank you for taking time to post this issue in Microsoft Q&A forum.

    Azure DevOps is currently not supported in the Microsoft Q&A forums, the supported products are listed over here: https://learn.microsoft.com/en-us/answers/

    For the related questions about Azure DevOps, you can post here: Developer Community - Azure DevOps.

    Thanks for your understanding, have a great day.

    Sincerely,

    Tianyu


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments