DEV Community

Discussion on: Should you unit test?

Collapse
 
brogrammerben profile image
Ben

Don’t use unit tests for functional testing though. That’s what integration and e2e tests are for. Unit tests are meant for edge cases and negative testing.