Kick off your book project in 2 hours, get started with GhostAI in 2 hours, or do both! Free live workshops, on Zoom. You’ll leave with a real book project and a clear plan to keep going. Saturday, June 27, 2026.

Leanpub Header

Skip to main content

Unit Testing: Stop Shipping Garbage

The Leader’s Guide to Ending the Cycle of Rework, Delays, and Technical Debt

You are not losing velocity because your engineers are slow.

You are losing velocity because every line of untested code is a landmine your team laid for itself — and sooner or later, someone steps on it.

This is the book that explains why. No syntax. No tutorials. Just the argument, the evidence, and the standard your team should already be held to.

A 30-minute read that changes how you lead software quality forever.

Minimum price

$9.99

$14.99

You pay

Author earns

$

Also available for 1 book credit with a Reader Membership

Buying multiple copies for your team? See below for a discount!

PDF
EPUB
46
Pages
About

About

About the Book

You already know how to write a unit test. You have used JUnit, NUnit, Mockito, or Moq. You know what an assertion is. You know what a mock object does.

**So why are you still fighting this battle every sprint?**

You write the tests. The deadline hits. The tests get skipped. Technical debt accumulates. The build breaks in production. The post-mortem happens. Everyone agrees to "do better next time." And the cycle repeats.

This book is not about the syntax. It is about ending that cycle.

---

### What This Book Actually Is

This is the argument you have been trying to make to your manager, your tech lead, or your team — fully assembled, backed by industry evidence, and written in language that both engineers and executives can act on.

It covers the philosophy of Test-Driven Development, the universal best practices that separate high-performing engineering teams from permanently firefighting ones, the anti-patterns that silently destroy test value, and the direct economic connection between automated testing discipline and development velocity.

**If you have ever been told that unit tests are overhead, this book gives you the evidence to push back.**

---

### Who This Book Is For

**Primary audience:** Engineering managers, tech leads, CTOs, and VPs of Engineering who are responsible for setting and enforcing quality standards. If you have the authority to make unit testing a non-negotiable part of your team's definition of done, this book gives you the strategic and economic framework to do it with confidence.

**Secondary audience:** Software engineers who know unit testing is the right thing to do but have never had a clear, concise argument for why — one they could hand to a skeptical manager or use to push back on deadline-driven shortcuts.

---

### What You Will Walk Away With

- A clear, evidence-backed understanding of why automated unit testing is not optional in modern software development

- The economic and strategic case for why a failed unit test breaking the build is the system working *exactly as intended*

- A framework for identifying and eliminating the anti-patterns that make test suites brittle, slow, and ultimately abandoned

- The language to make this argument to non-technical stakeholders, executives, and anyone who has ever said "we'll add tests later"

---

### A Note on Length

This is a **30-minute read**, deliberately. The argument does not require 300 pages. It requires clarity, evidence, and precision — all of which are here.

---

"Unit testing is not a developer preference. It is a strategic business decision. The teams that understand this ship faster, break less, and spend far less time explaining to stakeholders why the last release went sideways."

Team Discounts

Team Discounts

Get a team discount on this book!

  • Up to 3 members

    Minimum price
    $24.00
    Suggested price
    $37.00
  • Up to 5 members

    Minimum price
    $39.00
    Suggested price
    $59.00
  • Up to 10 members

    Minimum price
    $69.00
    Suggested price
    $104
  • Up to 15 members

    Minimum price
    $99.00
    Suggested price
    $149
  • Up to 25 members

    Minimum price
    $149
    Suggested price
    $224

Author

About the Author

Jonathan Jenkins

Jonathan Jenkins is not the kind of advisor who tells you what you want to hear.

He is an AI Strategic Advisor, Enterprise Coach, Solution Architect, and Digital Transformation Executive with over 25 years of experience building, fixing, and scaling engineering organizations across government, healthcare, financial services, cybersecurity, and critical infrastructure.

Jonathan has coached and trained more than 19,000 professionals and 250+ Scrum, Kanban, and XP teams. He has led organizational transformations at Lockheed Martin, Freddie Mac, Deloitte, the Centers for Medicare & Medicaid Services, Anthem, and dozens of federal agencies. He has served as Release Train Engineer for Agile Release Trains consisting of up to 34 teams simultaneously.

He is the founder and principal of disruptiveOps, a transformation, AI strategy, and technology advisory firm based in Rockville, Maryland. He is also the founder and CEO of DataOpus, a database resiliency and operational continuity platform. He serves as a Strategic Advisor to Cyber Capital Partners on software and hardware supply chain vulnerability initiatives.

Jonathan holds a Master of Science in Information Technology and a Bachelor of Science in Computer Studies from the University of Maryland. He is a Certified Scrum Professional, SAFe Program Consultant, Kanban Management Professional, and holds multiple coaching certifications. He is also a patent holder for a system and method for risk, waste, and opportunity evaluation and analysis.

He is a United States Marine and Iraq War veteran. He has trained and consulted internationally, including engagements in Saudi Arabia, Mexico, and across Europe.

Unit Testing: Stop Shipping Garbage is his first published book. A second book, Stop AI Token Waste: How Relational Databases Quietly Drain Your AI Budget, is in final editing.

Jonathan's philosophy is simple: bring the problems, he will bring the solutions. No fluff. No nonsense. Just results.

Learn more at thejonathanjenkins.com

Contents

Table of Contents

Table of Contents Preface A Note to the Reader Why this book exists, who it is for, and what it will not teach you p. 1 Ch. 1 The Velocity Illusion Why skipping tests feels faster — and why that feeling is the most expensive mistake in software development p. 4 Ch. 2 The Compounding Cost of Untested Code Technical debt is not a metaphor — it is a balance sheet entry. The economic case for automated testing, in plain language p. 8 Ch. 3 What Test-Driven Development Actually Means The philosophy behind TDD — not the syntax. Why writing the test first is a design discipline, not a testing ritual p. 13 Ch. 4 The Broken Build Is Not a Crisis Why a failed unit test stopping a deployment is the system working exactly as intended — and how to build a culture that understands this p. 17 Ch. 5 Anti-Patterns That Destroy Testing Value The seven most common ways teams undermine their own test suites — and the organizational decisions that cause them p. 21 Ch. 6 The Standard You Must Set What a non-negotiable unit testing policy looks like in practice — and how engineering leaders implement it without destroying team morale p. 25 Closing The Argument, Assembled A one-page summary of the full case — written to be shared with your team, your manager, or anyone who still needs convincing p. 29

Total length: approximately 30 pages  ·  Estimated reading time: 25–35 minutes

The Leanpub 60 Day 100% Happiness Guarantee

Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

See full terms...

Earn $8 on a $10 Purchase, and $16 on a $20 Purchase

We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.

(Yes, some authors have already earned much more than that on Leanpub.)

In fact, authors have earned over $15 million writing, publishing and selling on Leanpub.

Learn more about writing on Leanpub

Free Updates. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!

Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.

Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.

Learn more about writing on Leanpub