Remove articles how-to-make-legacy-code-more-testable
article thumbnail

AoAD2 Practice: Fast, Reliable Tests

James Shore

Visit the Second Edition home page for additional excerpts and more! The more tests you have, the more important speed and reliability become. Here’s how. A narrow test is focused on a small amount of code. This is an excerpt from The Art of Agile Development, Second Edition. Rely on Narrow Unit Tests.

article thumbnail

AoAD2 Practice: Test-Driven Development

James Shore

Visit the Second Edition home page for information about the open development process, additional excerpts, and more. We produce high-quality code in small, verifiable steps. At best, mistakes lead to code that won’t compile. Test-driven development, , or TDD, is a rapid cycle of testing, coding, and refactoring.

Insiders

Sign Up for our Newsletter

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Trending Sources

article thumbnail

If there was ever a good time to be sure you have good governance, this is it

The Agile Manager

Since 2006, I've written multiple blog posts , a few articles and self-published an e-book on governing investments in strategic software. In practice, software development governance is clubby, even more clubby than most corporate boards where the CEO has hand-picked the directors.

article thumbnail

Testing Without Mocks: A Pattern Language

James Shore

Without them, programmers waste a huge amount of time manually checking and fixing their code. The easy, obvious way to write tests is to make broad tests that are automated versions of manual tests. Folks in the know use mocks and spies (I say “mocks” for short in this article) to write isolated interaction-based tests.

Testing 138
article thumbnail

Non-functional Requirements: Examples, Types, How to Approach

Altexsoft

We’ve already covered different types of software requirements , but this time we’ll focus on non-functional ones, how to approach and document them. In this article, we’ll cover only the most common types that must make it to your checklist. How fast does the system return results? What would it be? Localization.

Examples 103
article thumbnail

Making Instrumentation Extensible

Honeycomb

Instead of thinking about individual counters or log lines in isolation, we need to consider how the telemetry we might want to transmit fits into a wider whole. It will capture request header fields such as URL and response durations/error codes, but not anything from the business logic or involving the logged-in user’s metadata.

Metrics 54
article thumbnail

The Netflix Cosmos Platform

Netflix Tech

A Cosmos service This article will explain why we built Cosmos, how it works and share some of the things we have learned along the way. Dealing with production issues became an expensive chore that placed a tax on all developers because infrastructure code was all mixed up with application code. Modularity?—?An