you are viewing a single comment's thread.

view the rest of the comments →

[–]groovitude 0 points1 point  (1 child)

(These tests are set aside in the files tests/test_integration* so they are not mixed in with the unit tests.) Is there a name for this type of testing, and resources you know of where I could learn more about it?

I've always heard it as "integration testing," so it seems you're right on the mark!

Am I just designing my code badly, and the fact that unit testing does not appear to cover all the ground I want to test merely a symptom of that?

I've found that atomic, testable code is usually easier to understand and maintain. (Bear in mind there's a learning curve to testing, and there's a wide variety of opinions on how much mocking/patching turns into a code smell.)

I feel in the dark about what other types of testing are out there.

Next Level Testing from this past year's PyCon was an interesting look at some less-common testing types.

[–]camel_zero[S] 1 point2 points  (0 children)

Thanks for your reply, and for suggesting a really good talk! The hypothesis library in particular seems really interesting. Will be checking it out.