Get the latest tech news

Suite smells: testing legacy code


How do you rescue a legacy codebase that has no tests? Let's look at some techniques for clawing your way back to maintainability, one test at a time.

The Power of Go: Tests is a compilation of all the lessons I’ve learned over a lifetime of software engineering: it’s about how to write robust, reliable, and above all correct programs. Assuming the product makes it to market, the business focus will naturally be on rapid growth, rather than building solid foundations for the long term. The nice thing about this strategy is that any effort you put into test writing will automatically end up right where it’s needed: those parts of the system where you’re regularly making changes.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Suite

Suite

Photo of legacy code

legacy code

Related news:

News photo

We have lift-off Element X, Call and Server Suite are ready

News photo

The executive agenda 2024: Mastering business transformation in the C-suite

News photo

Latest AI training benchmarks show Nvidia has no competition. Across a suite of neural network tasks, competitors' chips didn't even come close to Nvidia's GPUs.