/tests-clarity-in-DDD

Source code for the article "Domain-Driven Design: Striving for clarity in tests with factories"

Primary LanguageTypeScript

tests-clarity-in-DDD

Source code for the article "Domain-Driven Design: Striving for clarity in tests with factories"

You will find in the folder src :

  • domain : Contains the domain concepts (and related tests) related to Hospital, including an in-memory implementation of a HospitalRepository
  • application : Contains the use-case replaceSomeoneInHospital and its related test