razor
razor copied to clipboard
Razor PR Integration Tests
Create Integration Tests for razor-tooling pr's.
- [x] Create first pass of tests
- [x] Ensure logs are captured on failure.
- [x] Run on VS Main builds
To come later:
- [ ] #5953
- [ ] #5954
- [x] #5955
- [x] #5956
- [x] #5957
- [ ] #5958
- [ ] #5959
- [ ] #5960
- [x] #5966
- [ ] #6051
- [ ] #6066
For the tests to be added later we can start by porting the behavior from Microsoft.Test.Apex.Razor in the VS repo. That may still involve some significant work because a lot of the convenience APIs from that framework don't exist in https://github.com/microsoft/vs-extension-testing yet, and the recommended ways of "waiting for ready" in the two frameworks are different.
Talked with @JoeRobich offline, Roslyn runs on VS Main here. We're not currently allowed to turn that on in an automated way, but I can start working on it with manual tests then follow up with some level of automation once the current issues resolve.
I've got the Tests running against VS Main now, just need to put them on a schedule, build against each commit in razor/tooling:main and hopefully make sure they're the only tests that run so we don't was CPU/build time.
@ryzngard We assigned this issue to you during planning, the intention is to just take one of the sub-issues though.