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

Doesn't seem to work on when targeting .net framework #35

Open
Awsmolak opened this issue Aug 16, 2023 · 1 comment
Open

Doesn't seem to work on when targeting .net framework #35

Awsmolak opened this issue Aug 16, 2023 · 1 comment
Labels

Comments

@Awsmolak
Copy link

Awsmolak commented Aug 16, 2023

IAssemblyFixture is not working if my test project targets .net framework. (using 4.8 in this case)
The exception raised in test runner:
"The following constructor parameters did not have matching fixture data: MyAssemblyFixture fixture"

I can provide a minimal reproducible example if necessary, but this can be easily repro'd in the current commit by changing this line in AssemblyFixture.Tests.csproj to:
<TargetFramework>net48</TargetFramework>

Rebuild the project and none of the tests will run.

Back this issue
Back this issue

@Awsmolak Awsmolak added the bug label Aug 16, 2023
@dschuermans
Copy link

dschuermans commented Aug 22, 2023

+1
Running into the same issue

@Awsmolak i've just tried Xunit.Extensions.Ordering (because that also has AssemblyFixture functionality) and that seems to be working.

Make sure to you don't forget to do this

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

No branches or pull requests

2 participants