Forum Discussion

Kev_Martin's avatar
Kev_Martin
Copper Contributor
Jun 21, 2024
Solved

Is it possible to run VsTest in azure pipelines against pre-installed test project

Hi All I have an azure pipeline that deploys candidate releases to a staging server. When the server update is complete a series of automated tests are then run, this is the current layout.   ...
  • chamindac's avatar
    Jul 24, 2024

    One option I can suggest is you devide the build part (restore and build) to a seperate pipline and add a publish artifact step to publish the built test projects as pipeline artifact. then use a second pipline to run tests with downloading the artifacts from the first pipeline. This way if you do not have a change in your test code you do not have to run the build pipline to produce new test artifacts. You can always run with previously built artifacts. Then when there is a change you can run the build pipline first to get the new smoke test artifacts published.

Resources