In xUnit you can write an attribute that run before and after a test just like the action filters in ASP.NET
repo [XUnitSample]: https://github.com/sa-es-ir/youtube-s...
#dotnet #aspnetcore #unittesting #xunit
---------------------------------------------------
LinkedIn Profile:
/ sa-es-ir