In the last post, I wrote about unit testing data access in ASP.NET Core. This time I'm going to go into integration tests. This post shows you how to write an end-to-end test using a WebApplicationFactory and hot to write a specific integration test.
Unit Tests vs. Integration Tests
I'm sure most of you already know the difference. In a few discussions, I learned that some developers don't have a clear idea about the difference. In the end, it doesn't really matter, because every test is a good test. Both unit tests and integration tests are coded tests, they look similar, and use the same technology. The difference is in the concepts of how and what to test and in the scope of the test:
from DZone.com Feed http://bit.ly/2MCZaXN
No comments:
Post a Comment