April 2019
Hidden Benefits of Unit Tests
Unit tests provide a quick way for us to confirm our
code is working as we expect but many developers remain unconvinced whether
it's worth investing time writing unit tests especially in front-end projects.
Once we have implemented a working solution, there's often pressure to move
on to adding more crowd-pleasing features rather than trying to wrap our code
with tests. However, the benefit of writing unit tests is not limited to automated
checking our code still works. In this talk, I'll share some less obvious benefits
for investing time writing unit tests with some examples drawn from a recent
project using GraphQL.
