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

vstest integration #124

Open
wants to merge 23 commits into
base: main
Choose a base branch
from
Open

Conversation

Nsidorenco
Copy link

@Nsidorenco Nsidorenco commented Nov 10, 2024

Implementing the queries for F# hit so many edge-cases with the different test running and their naming of test that it became easier to just implement the ideas of #90.

Rough draft of a vsconsole-based implementation, where a vstest instance is responsible for test discovery and running tests. Seems to work pretty well and reasonably snappy.

The test discovery logic should probably be cached in some way to avoid discovering test cases for the same dll for every source file.

Still a bit of work to be done as well; for now, the path to both the vstest dll and the test project dlls are (relatively) hard coded and overall test are entirely missing.

Will eventually close #90 and close #82

@Issafalcon
Copy link
Owner

Hi @Nsidorenco - Great work on this so far! I'm very limited on free time at the moment (essentially I have none!) so this is a big help towards improving this adapter. When I get chance, I'll take a good look at the changes, but at first glance, it looks like it's going in the right direction.

@Nsidorenco
Copy link
Author

@Issafalcon just take your time 😄 Outside of testing it is relatively feature complete now and should be ready for a review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Integrate with vstest Test Platform Protocols to enhance performance and consolidate code Add support for F#
2 participants