.Net 8 XUnit: Should my tests use real data or how to mock MySql with CQRS?
📝
内容提要
I'm creating tests for our .Net 8 API. We use MySql for data storage and CQRS pattern for queries. In my personal opinion, I shouldn't use the real database for testing, because you will use an...
➡️