Forum Discussion
panoslondon645
Oct 18, 2023Copper Contributor
devops pipeline trigger by test case
Hi, I have a devops pipeline that i want to trigger from within an azure devops test case. I was able to assciate a unit test to a test case within Visual Studio but can't see a way to associate...
Kidd_Ip
Jun 24, 2025MVP
Take this:
- Associate Automated Tests with Test Cases
Seems You've already done this in Visual Studio - Create Build and Release Pipelines
- The build pipeline should compile your code and publish test binaries.
- The release pipeline should be created using the "Run automated tests from Test Manager" template.
- Configure Test Plan Settings
In Azure DevOps: - Go to Test Plans → select your test plan.
- Open Test Plan Settings.
- Link the build pipeline that produces your test binaries.
- Link the release pipeline that will run the tests.
- Run the Test Case
From the Test Suite → Execute tab, choose Run. This will trigger the release pipeline, which in turn runs the associated automated test.