Reply
Member
Posts: 1
Registered: ‎01-23-2021

Question about Unit Testing and Integration Testing

So I've been trying to get into testing for my own sake, and I feel like I'm misinterpreting the purpose of "testing" and the different types of tests. I know there are plenty types of testing. We have Unit Tests, Integration Tests, and User Acceptance Tests. However, how do you ensure you stay within the domain of each test?

So for example I'll try to write some code to test some of my endpoints and expect them to be an Unit test. This is wrong right? Because normally integration tests may have to depend on other things and it defeats the purpose of isolating a "unit" for testing?