• Skip to main content
  • Skip to primary sidebar
  • Skip to footer

Modern Software Management

The modern way to manage software development.

  • Home
    • Welcome
    • Welcome Video
    • Recent Posts
    • Search
  • Resources
    • Textbook
    • Horizon Planning Intro
    • Horizon Planning Spreadsheet
  • Blog
  • Services
  • About/Contact
You are here: Home / Coding Practices / Episode 5: Is Unit Testing a Productivity Killer?

Mar 11 2023

Episode 5: Is Unit Testing a Productivity Killer?

I’ve been suspicious of Unit Testing for a while now. Hey, I’m retired, I can afford to be “cancelled”. I’ll give you the skeptical argument!

I discuss the general types of tests and emphasize the importance of comprehensive automated system tests. I then ask, given we are doing a great job on system testing (that we have to do anyways), what’s the incremental cost/benefit of extensive unit testing?

I go to the Internet to see what it has to say. That was fun.

I give you my history with testing through grad school days, IBM, Algorithmics, and Electronics Workbench, discussing some cool test harnesses we built.

I then give a demo in C# about how to write Unit Tests from my trivial “hiring a coder” code I wrote back in Episode 3. I give a VERY COOL (and efficient) architecture using C# yield return, explaining how that works. I then demonstrate some simple Dependency Injection that goes along with Unit testing. I then sum up the results of my little exercise: massive code bloat and a worse design?

We then go and have a look at a paper written by James O Coplien, Why most Unit testing is Waste, that I sort of agree with..

If you disagree with me, please have a look at my video and drop a comment.

Written by David Penny · Categorized: Coding Practices · Tagged: coding, testing

Reader Interactions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

Tags

Architecture (1) Business (1) coding (3) estimation (3) experience (1) hiring (2) horizon-plan (2) Multi-tenancy (1) planning (3) Saas (1) testing (2) women (1)

Footer

Search

  • Home
  • Resources
  • Blog
  • Services
  • About/Contact

Copyright © 2022–2025 - David A. Penny