News for hackers. Stuff that matters.
Re:Ask HN: How do you handle large Python projects? by olau on Saturday May 28, 2016 @06:00PM (#11793761)
Write them in terms of user requirements. When someone does X, they expect Y to happen. If a test breaks, it should mean that a user somewhere would think there's a problem. See for instance this:

http://rbcs-us.com/documents/Why-Most-Unit-Testing-is-Waste....

You can write integration tests with the same tools as unit tests.

Personally, I try to make sure all major paths are covered, but I won't test every little UI detail. It's faster to test those manually. But YMMV.

There are no comments on this comment yet.