Skip to content

jeroenvandevelde/howtowritetests

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages