xUnit is the collective name for several unit testing frameworks. The xUnit training course provides a vocabulary of test smells and patterns with which to elevate our craft while writing test code. These smells give us a way to reason about the quality of our test code as well as a set of reusable test code design patterns that can be used to eliminate the smells. This course also describes techniques for choosing the right set of tests and how to organize the test code including naming standards.
While the course is designed to be equally applicable to test-driven and test-after styles of development, the interplay between when the tests are written and how the system is designed for testability (and how this impacts one's test automation strategy) is highlighted to help you to make an informed choice.
By attending xUnit workshop, delegates will learn:
- What is the role of automated unit testing?
- What is developer testing?
- How to "think like a tester"
- How to determine which tests to write?
- Why should I automate tests?
- How to automate tests with XUnit
- Basic mechanics of test automation
- What tests should I automate?
- Proper use of assertions
- Testing of exceptions
- Ways to set up the test fixture and when to use which
- Use of stubs to isolate the class being tested
- Common problems and how to avoid them
- Bad smells (symptoms) and what they mean
- How to get the best "bang" for your testing dollar
- When to write the tests
- How to verify the tests
- How to make the tests maintainable and useful as documention
- How to make tests portable (run anywhere)
- How to make tests repeatable and robust (provide consistent results even as the system evolves)
- At least 6 months experience programming in language of training
