
Bootstrap, an engineering exercise (part 3)
4 min read
This last part in the series of posts on my bootstrap project talks about making the project boring. In this case, boring is a very, very good thing.
Boring
The most important thing about this project was that it needed to be boring. Elegant over efficient and consistent over creative. It needed to be reliable.
Building boring meant lots of testing, lots of linting, lots of standards compliance verification. Each and every change required going through a battery of unit tests so that new changes were demonstrably safe with old code. If this project was to be documentation-first, then it would be testing-second. Each change was built by establishing tests first – tests designed to fail – that would only pass once the code was changed successfully.
After unit tests were built and verified, end-to-end testing needed to be included. To mimic a fresh, minimal environment as best possible, I used containerized end-to-end tests that started with only the slimmest of base functionality. It wasn’t sufficient to show that individual slices of logic worked as expected; the whole tool from start to finish needed to be verified.
