Testing of software is one of the best ways to ensure quality is being delivered. The more experience a developer has, the less chance they will supply untested code to production systems.
So software development is not just about writing code. It is also about testing and verifying what you have written. A large portion of your time will be spent proving your work does what it is supposed to do. In exams you are asked to show your work – in software development you need to show how you tested your work. In projects that need high quality, this proof is often required before you can say the job is completed.
This chapter is not designed to address all areas of testing – there are entire books on Agile testing, code quality etc. Rules are only listed in this section to help guide new Java developers.
[test.junit] Test code with Junit
[test.coverage] Code Coverage Importance
[test.waste] Junit testing to oblivion
[test.vertical] Test vertical slices
[test.selenium] Write tolerant Selenium tests