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

Add Testing Platform Support #3094

Open
slang25 opened this issue Nov 4, 2024 · 4 comments
Open

Add Testing Platform Support #3094

slang25 opened this issue Nov 4, 2024 · 4 comments
Labels
🚀 Feature request New feature or request

Comments

@slang25
Copy link

slang25 commented Nov 4, 2024

Today Stryker has support for VSTest as the test runner, and this is what is commonly used today by various testing frameworks.

However Microsoft have built a new replacement call the Microsoft Testing Platform, which is being adopted by all of the major players (MSTest, NUnit, xUnit).

While many of these frameworks will support both runner engines for a good while, there are also new testing frameworks that are only support on the new testing platform (the excellent TUnit for example).

It would be amazing if Stryker.NET add support for this as a new runner option.

@slang25 slang25 added the 🚀 Feature request New feature or request label Nov 4, 2024
@slang25
Copy link
Author

slang25 commented Nov 4, 2024

I'll add that it may be possible to get indirect support today by using the VSTest Bridge extension, which I haven't tested but assume would enable TUnit support today.

@rouke-broersma
Copy link
Member

rouke-broersma commented Nov 4, 2024

We are working on it, but it is a very large feature. We have to reimplement a lot of vstest features ourselves because mstest runner assumes to be self contained in the test project and this doesn't really work for us since stryker is the executing binary. A start was made by an intern at #2988

As far as I know the test framework has to provide support for vstest, and TUnit could do this using the vstest bridge if they choose.

@richardwerkman
Copy link
Member

I'm currently working on this. I'll take TUnit into account as well. Would be nice if we could support that.

@slang25
Copy link
Author

slang25 commented Nov 6, 2024

Awesome, I didn't realise that this was being worked on, and how much work it is. I'm going to do some experimentation and see what I can get working today with TUnit,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🚀 Feature request New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants