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

Bug xunit theory #1936

Merged
merged 6 commits into from
Oct 2, 2023
Merged

Bug xunit theory #1936

merged 6 commits into from
Oct 2, 2023

Conversation

farlee2121
Copy link
Contributor

WHAT

#1935
Parameterized tests were never finishing for xUnit and MSTest.
This gets them completing properly.

HOW

Piece together consistent fully qualified test names from different fields based on the test framework.

Merge?

I'm not sure if this PR is worth merging yet.
It does get parameterized tests completing and status showing across xUnit, nUnit, MSTest, and expecto.

However, MSTest and xUnit still can't individually run the theory cases (some kind of filter issue), and the theory cases aren't nested under their shared method.
This makes it a impossible to run the theory test without running a larger grouping of tests.

Conditional was removed unintentionally. Perhaps clobbered in a merge?
ionide@61c4d71#r127656246
Each test framework has different ideas about the data that belongs in each name field.
The quirks are especially bad around parameterized tests.
So, I have to piece together a consistent fully qualified name
from different field combinations for different frameworks
@farlee2121
Copy link
Contributor Author

There aren't any clear wholistic solutions to the issues with parameterized tests.
It might take me a while to get a good solution out there.
Therefore, I think it's worth getting this change out so users can at least run test suites including parameterized tests

@TheAngryByrd
Copy link
Member

Might be worth opening issues on the respective frameworks asking questions of how to get at them.

Also maybe we should have it documented the features/limitations of each framework currently.

@TheAngryByrd TheAngryByrd merged commit a06a859 into ionide:main Oct 2, 2023
@farlee2121 farlee2121 mentioned this pull request Oct 5, 2023
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.

2 participants