Further Reading
Fast Test, Slow Test and Boundaries
Gary Bernhardt’s talks from Pycon
2012and
2013. His
screencastsare also well
worth a look.
Ports and Adapters
Steve Freeman and Nat Pryce wrote about this in
their book .You can also catch a
good discussion of the idea in
this talk .See also
Uncle Bob’s description of the clean architecture ,and
Alistair Cockburn coining the term Hexagonal Architecture .Hot Lava
Casey Kinsey’s memorable warning about avoiding the database whenever you can .Inverting the Pyramid
The idea that projects end up with too great a ratio of slow, high-level tests to unit
tests, and a
visual metaphor for the effort to invert that ratio.
Integrated tests are a scam
J.B. Rainsberger has a famous rant about the way integrated tests will ruin your life,
here .Watch the video presentation
hereor
here(there are two videos available,
though neither has perfect cinematography). Then check out a couple of follow-up
posts, particularly
this defence of acceptance tests(what I call functional tests), and
this analysis of how slow tests kill productivity .A pragmatic view
Martin Fowler (author of
Refactoring
) presents a
reasonably balanced, pragmatic approach .Conclusion
|
405