2021-03-05
|~3 min read
|418 words
One of those slightly annoying features of Jest’s watch mode is the regex pattern matching. It’s wonderful in how powerful it is, but it…
2021-03-05
|~2 min read
|365 words
CI/CD pipelines are designed to ensure that no broken code reaches the main branch.However, running all of the tests and compiling a project…
2021-03-05
|~5 min read
|815 words
Jest has a robust assertion library, but it’s also a general purpose tool. This can lead to some awkward tests, or imperative at least…
2021-03-05
|~1 min read
|24 words
— how to handle static assets — how to extend Jest’s native assertion library — how to configure a watch plugin
2021-03-05
|~2 min read
|354 words
Webpack, because of its deep integration into an application, can create additional complexity when it comes to testing. Fortunately, Jest…
2021-03-05
|~5 min read
|923 words
Continuing my foray into becoming a better tester, today, I’m exploring the Test Object Factory. This pattern shares some similarities with…
2021-03-05
|~10 min read
|1834 words
When it comes to testing our code, it may be desireable to avoid following the normal code path all the way. Some examples of calls that we…
2021-03-05
|~5 min read
|975 words
How can you gain greater confidence that what you’re testing is what you intend? One solution is to automate away a lot of the noise with a…
2021-03-05
|~6 min read
|1036 words
What is a test? How do testing frameworks work? This post explores how different of a framework fit together and why they’re relevant. In…
2021-03-05
|~5 min read
|993 words
I hit some road blocks with recently which are motivating a refactoring with an eye toward reliability through testing.1 Since ’s primary…
2021-03-05
|~3 min read
|466 words
I was working recently on a project where a function would print to the console when it was executed. I was practicing writing more tests…
2021-03-05
|~3 min read
|466 words
I was working recently on a project where a function would print to the console when it was executed. I was practicing writing more tests…
2021-03-05
|~2 min read
|388 words
Trying to run tests with Jest, I got the following error: Looking at the stack trace (in full at the end of this post), however, there were…
2021-03-05
|~2 min read
|388 words
Trying to run tests with Jest, I got the following error: Looking at the stack trace (in full at the end of this post), however, there were…