cactacea / backend

a framework to construct social networking applications
MIT License
2 stars 1 forks source link

Refactoring test code #228

Closed takeshishimada closed 5 years ago

takeshishimada commented 5 years ago

Create all test code, benchmark property based testing.

Refer : https://gakuzzzz.github.io/slides/property_based_testing_for_domain/#22 https://github.com/ovotech/bootcamp-kafka/blob/master/domain/src/test/scala/com/ovoenergy/bootcamp/kafka/domain/Arbitraries.scala How to generate unique id. https://github.com/ovotech/bootcamp-kafka/blob/34cca79cdd4338114a588e42a0c190c38df81e43/domain/src/main/scala/com/ovoenergy/bootcamp/kafka/domain/Account.scala