It is imperative that certain best practices are followed when it comes time to test one's program. What follows are among such tips to keep in mind.
- Test one thing at a time.
- Have your tests ready before you start coding.
- Keep your test suite seperate from your main code.
More tips on precisely how this is done will be available in future articles. For now, allow me to feature the tutorial of one such "Simplyianm" of youtube, and his excellent introduction videos to the concept of Unit Testing.
Below is a decent introduction on how to get started with it:
<iframe width="560" height="315" src="https://www.youtube.com/embed/lYnMyi81hrs" frameborder="0" allowfullscreen></iframe>
~Code Crunch Out~
No comments:
Post a Comment