This repository contains the samples and exercises code that are used during the Good Unit Tests training by Florin Coros.
Training home page: https://oncodedesign.com/training-unit-testing
By participating in this training you will understand what Good Unit Tests are and how you and your team can have real benefits from unit testing. Most of the teams fail in benefiting from unit testing, not because they are not motivated to write them and not because they do not believe in unit testing, but because they are not aware of what unit testing really means and because they do not master some key techniques in writing tests which last; tests which are maintainable, readable and trustworthy.
When unit testing is done incorrectly it can cause your schedule to slip, waste your time, lower your motivation, and lower your code quality. It is a double-edge sword, which many teams learn to master the hard way.
The greatest benefit of writing unit tests the right way is not a bug free code, nor full coverage in regression testing. The greatest benefit you will gain by writing good unit tests is the quality of your code design. It puts a very positive pressure on the design of your code making it inexpensive to change. You and your team will be pursued by good unit tests to discover and apply powerful object oriented design principles and practices. Therefore, the highest benefit you will gain is the decrease of the cost of change. Your code will stand the test of time.
There are studies showing that raising the overall code quality in a software project will increase productivity, efficiency and shorten schedules. Writing unit tests the right way is a powerful tool to improve quality.
Read more about this training at: https://oncodedesign.com/training-unit-testing/
Read more about On Code Desing trainings at: https://oncodedesign.com/training