Skip to content

Latest commit

 

History

History
28 lines (23 loc) · 1.04 KB

readme.MD

File metadata and controls

28 lines (23 loc) · 1.04 KB

How to write tests (with Spring)

Why do we write test?

  • We want to know that our code works
  • We want to go faster (less debugging, knows that our code keeps working, ...)

How do we do this?

  1. Expressive, Readable, Reveal intention, ...
  2. Fast

Parts:

  1. Naming Methods
  2. ValueObjects
  3. Use Assertj
  4. Test Builders/Creating test objects - fragile tests
  5. Pure functions
  6. Adapter - Onion architecture
  7. Extensions
  8. Spring

Great videos to watch on this topic