Skip to Main Content
Beautiful Teams
book

Beautiful Teams

by Andrew Stellman, Jennifer Greene
March 2009
Beginner content levelBeginner
512 pages
18h 28m
English
O'Reilly Media, Inc.
Content preview from Beautiful Teams

Unit Tests

The developers knew they had to keep up with testing. But as one developer said to me, "I'm just not nasty enough to be a tester. I know how to do unit tests, but I'm not very good at system tests."

Nancy and I and the team agreed that we would incur the technical debt of not having enough system-level tests. But the team agreed that there was no way they could meet the deadline without having unit tests for all of the code they wrote.

The developers wrote their code and then wrote their unit tests. One of the developers started using McCabe's tools (there was a freeware Unix version) to check that he had written enough unit tests for each of his classes and modules. As the developer explained, "I'm really good at writing tests for everything that works. I always seem to miss the piece that doesn't work. With McCabe's, I'm less likely to miss that one thing."

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Communicate with Teams More Effectively

Communicate with Teams More Effectively

Charles Humble
Seeing What's Next

Seeing What's Next

Clayton Christensen
How to Help High Achievers Overcome Imposter Syndrome

How to Help High Achievers Overcome Imposter Syndrome

Morela Hernandez, Christina Lacerenza

Publisher Resources

ISBN: 9780596801885Catalog PageErrata