Writing Unit Tests for More Accurate and Valuable Feedback

As you are going down the path of unit testing your code, remember to ensure your tests are actually testing and verifying the conditions you want to test and further that when they fail, you get plentiful information back from them.

I wrote a post for the Loadsys blog on writing unit tests that are more valuable. This is a problem I greatly struggled with when I first started writing tests and I hope it helps you out.

Justin Yost is a full-time Software Engineer and a part time educator. A graduate of Texas Tech University with a bachelor's degree in computer science, Justin relishes programming and learning more about anything and everything. When not working, Justin occasionally gives talks at the local PHP Meetup. In his free time, Justin enjoys backpacking and reading science fiction books.

Tagged with: ,
Posted in Software Code, Web Development, Writings
Short Link: https://justinyost.com?p=4893