Skip to content

IClassFixture with WebApplicationFactory and one time test setup #2865

Discussion options

You must be logged in to vote

https://xunit.net/docs/shared-context shows how you write a fixture (the init logic lives in the fixture, not where you have the logic in the ctor)

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@dmccolloughOneGas
Comment options

@dmccolloughOneGas
Comment options

Answer selected by dmccolloughOneGas
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants