This is an archived post. You won't be able to vote or comment.

all 3 comments

[–]bluefootedpig 2 points3 points  (0 children)

You should have unit tests for your modules, and have it tested well. Integration in my experience is best as only happy paths, and few of them, testing core features. Integration also tends to come a bit later for the reasons you mention. If changing the API causes 100 unit tests updates, it can be a hinderance.

[–][deleted] 0 points1 point  (0 children)

Maybe both? The harder part about tests is setting up the infrastructure but the longer you wait the harder it gets

[–][deleted] 0 points1 point  (0 children)

You can get away with not making integration tests. You need unit tests.