razor icon indicating copy to clipboard operation
razor copied to clipboard

Razor PR Integration Tests

Open ryanbrandenburg opened this issue 3 years ago • 4 comments

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

ryanbrandenburg avatar Jan 10 '22 21:01 ryanbrandenburg

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.

ryanbrandenburg avatar Jan 10 '22 21:01 ryanbrandenburg

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.

ryanbrandenburg avatar Jan 12 '22 21:01 ryanbrandenburg

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.

ryanbrandenburg avatar Feb 14 '22 19:02 ryanbrandenburg

@ryzngard We assigned this issue to you during planning, the intention is to just take one of the sub-issues though.

allisonchou avatar Apr 08 '22 03:04 allisonchou