Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consume new rich test events in new Test Explorer UI #2394

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

dbartol
Copy link
Contributor

@dbartol dbartol commented May 1, 2023

This PR updates the new test UI to consume the richer events emitted by codeql test run starting in CLI 2.13.1. We now get a notification when a test starts executing, so we can update the Test Explorer with the right spinning icon.

I had to do a little work in the CLI server client code to handle multiple streaming output formats.

I refactored some of the tracking of which tests are in which directory into a new TestRunContext class.

The legacy test adapter code has been updated to consume the new format for the existing TestCompleted event, but has not been updated to consume the new events.

@dbartol dbartol changed the title Dbartol/rich-tests-events Consume new rich test events in new Test Explorer UI May 1, 2023
@dbartol dbartol added the Complexity: Medium Requires a moderate level of detail in design or review. label May 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Complexity: Medium Requires a moderate level of detail in design or review.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant