Aug 28, 2017 · 1 min read
Depends on the underlying technology but if you do want to do unit tests you can go for fixtures or seeds to set the state. If not, and the encapsulated logic is simple enough integration tests will do just fine.
Depends on the underlying technology but if you do want to do unit tests you can go for fixtures or seeds to set the state. If not, and the encapsulated logic is simple enough integration tests will do just fine.
Written by