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

Support automatic generation of values for[MatrixDataSource] when using bool? and TEnum? #2088

Conversation

andrewimcclement
Copy link
Contributor

This brings TUnit inline with NUnit [Values]/[Theory] value generation.

@thomhurst
Copy link
Owner

Thanks @andrewimcclement !

@thomhurst thomhurst enabled auto-merge (squash) March 13, 2025 18:25
@andrewimcclement
Copy link
Contributor Author

Hmm. Looks like I broke something :(

@thomhurst thomhurst disabled auto-merge March 13, 2025 20:15
@thomhurst thomhurst merged commit bbe8c85 into thomhurst:main Mar 13, 2025
3 of 7 checks passed
@andrewimcclement andrewimcclement deleted the aim/autogenerate-nullable-bools-and-enums branch March 13, 2025 20:26
@andrewimcclement
Copy link
Contributor Author

Thanks for fixing it up - didn't have time to keep working on it.

@samtrion
Copy link
Contributor

@thomhurst @andrewimcclement - This PR seems to break the creation of an enum (not nullable) based matrix. Only the value for the enum default is created.

After the update, instead of >2800 tests, I only get 50 tests that are created.

@thomhurst
Copy link
Owner

@samtrion oh really? Can you give a repro and I'll take a look?

@samtrion
Copy link
Contributor

@samtrion oh really? Can you give a repro and I'll take a look?

I will try to provide you with one for reproduction in the course of the evening.

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.

None yet

3 participants