Working Together to Perfect the Art of Software
A Place to Learn, Certify and Teach
Home : xUnit Test Patterns and Smells - Improving test code to maximize ROI
xUnit Test Patterns and Smells - Improving test code to maximize ROI
Who Should Attend/Prerequisites
Developers who want to learn how to write automated unit tests more effectively. Development leads and architects who need to understand unit test automation and design-for-testability. Some experience using a member of the xUnit family (JUnit, NUnit, VstsUnit, MbUnit, etc.) is highly beneficial.
Class Size Limit: 30
Course Overview
Provide developers with the "thinking tools" they need to write the right tests, and write the tests right!" This includes the following topics:
- How to determine which tests to write.
- How much should a single test verify?
- How to structure the test software for ease of understanding
- How to test software that depends on other software to function?
- How to recognize and avoid common pitfalls?
- How to design software for testability?
This course is process-agnostic. That is, it does not assume you are doing Test-Driven Development although it does point out when TDD makes things easier than "test-after-development".
Agenda
Day 1
- Intro to Unit Testing
- Intro to xUnit
- Unit Testing Methodology
- Test Code Organization
- Component Testing
- xUnit Assertions
- Common Problems (1)
Day 2
- Test Fixture Setup
- Common Problems (2)
- Testing Indirect Inputs
- Testing Indirect Outputs
- Design For Testability
Optional Day 3
- Testing Strategy
- Intro to Test-Driven Development
Cost:
$1,000 per person, minimum 10, with reduced prices for larger numbers.