Introduction to Unit Tests

Units tests are extra lines of code that check to see whether or not the rest of the code we’ve written behaves the way we want it to. While it might seem paradoxical that writing more code can reduce development time, it’s true. Writing unit tests has made me a better developer. Not only does it help me catch bugs, but it has taught be how to write better code. We’ll look at unit testing, how you can start using it today without a formal testing framework, and also how to write your code to make it easier to unit test.

Sal Ferrarello

WordCamp Montclair, NJ 2024 is over. Check out the next edition!