PTVS
PTVS copied to clipboard
Migrate test pipelines to DartLab
Our test pipelines need to be moved from legacy release pipelines to YAML-based DartLab. See e-mail for details.
Made some good progress on this. Pipeline is at https://devdiv.visualstudio.com/DevDiv/_build/results?buildId=6213087&view=results and uses https://github.com/microsoft/PTVS/blob/main/azure-pipelines-integration-tests.yml as the definition.
The part we're stuck on now is the run settings needs to have a test store defined in order to run tests. But the test store can be local, so we just need to download the TestData.zip from the build artifacts and maybe the integration test dlls and figure out how to run them.
Did some more digging on this. We have to use test stores and test containers in the run settings, and we have to rearrange our directories so they work with the concept. See https://devdiv.visualstudio.com/DevDiv/_wiki/wikis/DevDiv.wiki/877/Extended-Run-Settings for more information.
I was having trouble finding an integration test with no dependencies that was actually passing, so I fixed ProjectUITestsRunner.BuildSolution. Now I'm going to work on getting that one binary through the new integration test pipeline from end to end. The only prereq for this test MIGHT be that python is installed, so I'll need to add that to the initialize steps before any tests are run. Hopefully python has an unattended installer.