Testing practices and libraries

I'm just starting with testing, I'm not that much of a fan, most of the time for me it wasn't needed. But'll just try it just in case I actually need it in the future (probably never :d) What libraries should I use to make testing less bad? And what practices are recommeded when testing?
1 Reply
Pobiega
Pobiega2mo ago
Xunit as your test framework. FluentAssertions or Shouldly for assertion. NSubstitute if you need mocking. That covers the basic needs. You might want to look at TestContainers and Respawn once you start writing database integration tests