Code Movement

Software Hospitality

Every post with this tag, newest first.

Test in Production

This post is used in my test suite for this app.

Test suites are sweet. With a good test suite you can upgrade or modify different parts of the app, and check that each of the tests are passing. This app currently has 322 tests. Having good tests gives you confidence to make changes.

On this app the most important experience is yours. I check that the app works on different browsers. It works in light and dark mode. It works on mobile or desktop. Tests run ensuring the accessibility(WCAG 2.2 AA - shout out to Axe!) and performance testing with lighthouse. There are tests to check the ‘Copy code’ button works and doesn’t also pull the line numbers out with it. If you want to copy and run the code you probably don’t want to bring the line numbers with you, so I remove those for you. Thoughtfulness and care. Each test a want. A decision. A preference. Tested. Codified, so that going forward we can maintain that level and standard as the app changes over time.