Publishing test assemblies with artifacts in order to use them during functional tests on VSTS

前端 未结 3 1997
[愿得一人]
[愿得一人] 2021-01-13 12:52

I am having a really hard time trying to figure out how to properly configure functional tests on my realease pipeline. I have a solution that contains some web projects bei

相关标签:
3条回答
  • 2021-01-13 13:32

    You need to publish a separate artifact containing your test assemblies.

    0 讨论(0)
  • 2021-01-13 13:34

    You can try to copy the Test Assemblies to $(build.artifactstagingdirectory) and publish with the artifact.

    Alternately you can try to add another Copy Task and Publish Build Artifacts task or directly use Copy and Publish Build Artifacts task to copy the Test Assemblies and publish them as another Artifact.

    0 讨论(0)
  • 2021-01-13 13:41

    I had a related issue, but was able to fix it by changing the search folder from the template default $(System.DefaultWorkingDirectory) to $(Agent.BuildDirectory). This way I do not need to create a copy task.

    My tests are located in a separate project.

    0 讨论(0)
提交回复
热议问题