Skipping tests
This is part of a series on Wicked Fast Testing, a testing style that uses the computer to refactor tests saving you countless hours. Check out Part 1 for a quick introduction if you’re not familiar.
Skipping tests is important because waiting for unnecessary tests to finish is a drag on coding speed. However, since this is Wicked Fast Testing, we’ll even make it wicked fast to specify which tests to skip.
In this post, we’ll show how in 1 line of jq we can perform simple test skipping. With 2 lines of python and 1 line of jq, we can implement test skipping with automatic test updating.
Why skip tests?
The fundamental metric for coding velocity is coding feedback loop cycle time. This deserves a post on its own, so for now we’ll take it on faith.
The “development feedback loop cycle time” is the amount of time it takes to code and get feedback on it. The most common case of this is the code-test cycle time where we get feedback from our tests if we wrote any bugs. This cycle time is compos…