3. Unit Testing
Efficient Software Testing
•
15m
The unit testing method, intended for testing individual units of software on their own, is presented, along with examples and a demo.
Learning Goals:
1. Understand what unit tests are concerned with
2. How set up quick unit tests
Up Next in Efficient Software Testing
-
4. Integration Testing
The need for integration testing is presented, along with its benefits and best practices for performing it during development cycles.
Learning Goals:
1. Learn what integration testing is concerned with
2. See how it can find bugs in groups of correctly-working units -
5. Good Test Design
Good general testing principles are presented, to give a solid foundation that can be used in most circumstances.
Learning Goals:
1. Understand some typical psychological biases around testing
2. Assess and address risk
3. Form a defensive testing mindset -
6. Testing Complex Code
Testing strategies and demos for complex code are presented, with a focus on property-based testing (PBT). Common PBT patterns and typical examples are covered.
Learning Goals:
1. Recognize when code can have complex behavior
2. Form a systemic perspective on your code
3. Learn how to generate t...