News for hackers. Stuff that matters.
Re:Software Testing Anti-patterns by alien_at_work on Tuesday April 24, 2018 @09:18AM (#16912278)
It's very simple: Unit tests test a specific "unit" (i.e. in an OO language, that's a class) and integration tests test the ingration of multiple units.

In OO languages, I personally prefer unit tests with all dependancies stubbed or mocked out to verify the interface of that specific unit or component.

Re:Software Testing Anti-patterns by kqr on Tuesday April 24, 2018 @10:43AM (#16912954)
Why can't a unit test work on the unit "package"? Or an integration test work on the integration of multiple methods?