Doctor
Explore posts from servers❔ Using fixtures in xUnit
I've been trying to create some tests for my web application using xUnit (I've just started looking into C# recently, but I mainly use Python)
I wonder if there's a way to "nest" fixtures or use then in each other, for example I can create user in database and then create http client authenticated for that specific user
Here's an example in python + pytest:
3 replies