Unit testing is not a new idea, but it has become much more popular in the days of Agile and continuous, iterative development. Unit tests ensure that quality code is written, and gives the developer and the team the peace of mind to know that changes to the system can be made with confidence.
This short module is designed to be like a one-day training session, where the user can come in only knowing how to program in java and leave knowing how to create unit tests against their java code.
By the time you've completed this course, you'll know how to create a unit test, as well as understand the different attributes used in testing, along with the valid commands to issue to write good tests.
Additionally, this course will help you to learn how to use TDD as a driver for all of your development efforts going forward. With a "test-first" approach, we change our standard viewpoint of how we write code. Now, not only do we think about "how do I make this code work," we also think about "how do I break this code" or more often, "what happens when the user or system doesn't play nice with our code?"
This course is structured to take you anywhere from 2-8 hours to complete, depending on how much of the work you do on your own or just use from the provided samples. The lessons and knowledge build from the ground up, but the last few lessons could be done in any order, depending on your needs.
If you've ever wondered how to get started with unit testing, this is the course for you. This course would also be good for anyone looking to implement testing in future and existing development efforts.