Commit Graph

79 Commits

Author SHA1 Message Date
Connor Peet
d6b3bc68f1 testing: move types to classes instead of interfaces
Fixes #117373
Fixes #117381
Fixes #117384
2021-03-04 11:51:37 -08:00
Connor Peet
35aed33726 testing: improve RequiredTestItem api
Fixes #117384
2021-03-04 11:51:33 -08:00
Connor Peet
17f63a649e testing: update to more proper provider api 2021-03-03 11:04:02 -08:00
Connor Peet
25b5db4d55 testing: make workspace test hierarchy required
Fixes #117598
2021-03-02 15:58:05 -08:00
Connor Peet
94cda08af5 testing: make runTests required
Fixes #117601
2021-03-02 15:58:03 -08:00
Connor Peet
9cd0f2e8a4 testing: fixes if no document hierarchy is provided 2021-02-22 16:38:27 -08:00
Connor Peet
a776fe9af7 feat: allow excluding tests from runs
Fixes https://github.com/microsoft/vscode/issues/115102
2021-02-22 13:21:53 -08:00
Connor Peet
a0e24147e0 testing: remove duplicate extension and internal IDs
Fixes #117084
2021-02-19 16:57:29 -08:00
Connor Peet
5a0bf3751a testing: add method to publish extension-provided results 2021-02-18 17:33:24 -08:00
Connor Peet
b09a71dce7 testing: update test results api to spec
Refs https://github.com/microsoft/vscode/issues/107467#issuecomment-780776814
2021-02-17 16:34:01 -08:00
Connor Peet
c36a09929c testing: implement retired test state
Fixes https://github.com/microsoft/vscode/issues/115086
2021-02-10 15:34:42 -08:00
Connor Peet
3d4cabb608 testing: refactor to new runState API
Fixes: https://github.com/microsoft/vscode/issues/115101.
See issue for details.

- Adopts the new API
- Test results now persist across reloads (last 64 runs).
- Removed state grouping in favor of sorting option.
- Code lenses are disabled for now
2021-02-09 16:12:37 -08:00
Connor Peet
bd7dff7f07 testing: add test result to proposed api, ids for correlation 2021-01-25 12:20:28 -08:00
Connor Peet
ff08b2509f testing: fix not subscribing to first open workspace document 2021-01-25 12:20:26 -08:00
Tyler James Leonhardt
a8145f67dc testing: polyfill test heirarchies (#114601)
* wip

* partially working

* actually working

* make wrapperMap for each heirarchy

* add tests

* feedback from Connor
2021-01-21 15:52:37 -08:00
Connor Peet
0e9e4e4677 testing: show stats about the last test run 2021-01-20 16:30:25 -08:00
Connor Peet
c2a2e9cabf testing: show test progress, implement result service 2021-01-20 16:30:21 -08:00
Connor Peet
686cd7df53 testing: clean up actions, add run/debug all, rm duplication
The WorkspaceTestCollectionService duplicated collection logic
unnecessarily. Centralize to the TestService's collection.

This also moves the state updates for discovering tests, and a new
update for adding roots, into the diff, which lets us synchronize those
changes with the changes to test collections.

There's a super crazy bug with the "run all" action that I have
not dove into yet.
2021-01-19 17:44:02 -08:00
Connor Peet
03dd7bf1d9 testing: polish and unit tests for the test tree 2021-01-15 10:01:56 -08:00
Connor Peet
04efea43fa testing: peek diff test outputs 2021-01-12 12:57:42 -08:00
Connor Peet
01089c0a50 testing: fix unit tests 2021-01-06 15:35:20 -08:00
Connor Peet
e2c9137841 testing: fix unit tests 2021-01-06 15:32:50 -08:00
Connor Peet
5909115757 testing: code lens and diagnostic information for tests 2021-01-06 15:22:49 -08:00
Connor Peet
2c5c0a3be1 testing: fix loading indicators, add progress during initial test discovery 2021-01-05 13:02:58 -08:00
Connor Peet
cf94178b89 testing: improved test explorer, cancellation 2020-12-16 17:13:35 -08:00
Connor Peet
a9bf16e001 testing: base test explorer 2020-12-11 15:15:44 -08:00
Connor Peet
06be9f4029 testing: tests and speed improvements 2020-11-20 15:14:35 -08:00
Connor Peet
7265dfb6d7 testing: smarter change event 2020-11-20 13:03:45 -08:00
Connor Peet
d1280418d7 testing: initial api implementation
* wip

* wip

* wip

* wip

* wip

* wip
2020-11-20 08:31:35 -08:00