Move all files to sculpin/

This commit is contained in:
Oliver Davies 2025-10-01 00:01:33 +01:00
parent c5d71803a5
commit 0f61b4e9ee
1514 changed files with 0 additions and 0 deletions

View file

@ -0,0 +1,17 @@
---
title: >
Is any code without tests legacy code?
pubDate: 2023-06-26
permalink: >-
daily/2023/06/26/is-any-code-without-tests-legacy
tags:
- automated-testing
---
While I can't find the original quote, I've heard numerous people describe any code without automated tests as legacy.
Legacy code is typically inherited from other Developers and is riskier to work on and harder to change, as there is no guarantee changing one piece of code won't cause breakages elsewhere in the codebase.
This is true for code that doesn't have accompanying automated tests, regardless of when it was written.
I can release a feature to an environment, and although it may be checked and tested at the time, it likely won't be again for every subsequent release. Automated tests can run automatically for every commit and before every deployment, ensuring the code continues to work and for it to be edited without causing regressions.