Effective Unit Testing

Effective Unit Testing

Devoxx via YouTube Direct link

Why do we write unit tests?

2 of 17

2 of 17

Why do we write unit tests?

Class Central Classrooms beta

YouTube videos curated by Class Central.

Classroom Contents

Effective Unit Testing

Automatically move to the next video in the Classroom when playback concludes

  1. 1 Intro
  2. 2 Why do we write unit tests?
  3. 3 Eliminate everything that makes input or output unclear or contingent
  4. 4 Why Unit Tests?
  5. 5 Tests and Thread Safety
  6. 6 The Two Least Known Facts of Unit Testing
  7. 7 1. Tests do not share instance data
  8. 8 2. You can have many test classes per model class.
  9. 9 Speed
  10. 10 Passing tests should produce no output
  11. 11 Failing tests should produce clear output
  12. 12 Flakiness
  13. 13 System Skew
  14. 14 Avoid Conditional Logic in Tests
  15. 15 Refactoring
  16. 16 Development Practices
  17. 17 Final Thoughts

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.