Why you need unit testing in web development

Unit testing is a practice that's gaining more and more of a presence in the modern software development landscape, especially in agile environments.

A unit test is a short function to test the behaviour of a small unit of production code, producing a pass/fail result. Unit testing is a powerful (and in our opinion, essential) tool for ensuring code quality by enabling developers to catch bugs while still in the development stage. (It's not a bug if the problem was solved before the code reached QA, right?)

Thank you for reading 5 articles this month* Join now for unlimited access

Enjoy your first month for just £1 / $1 / €1

*Read 5 free articles per month without a subscription

Join now for unlimited access

Try first month for just £1 / $1 / €1

TOPICS
Creative Bloq Staff
All things Creative Bloq

The Creative Bloq team is made up of a group of design fans, and has changed and evolved since Creative Bloq began back in 2012. The current website team consists of eight full-time members of staff: Editor Georgia Coggan, Deputy Editor Rosie Hilder, Ecommerce Editor Beren Neale, Senior News Editor Daniel Piper, Editor, Digital Art and 3D Ian Dean, Tech Reviews Editor Erlingur Einarsson, Ecommerce Writer Beth Nicholls and Staff Writer Natalie Fear, as well as a roster of freelancers from around the world. The ImagineFX magazine team also pitch in, ensuring that content from leading digital art publication ImagineFX is represented on Creative Bloq.