Search, explore and find the perfect course for you

Intentful Testing through Domain Events

Those experienced with automated testing know that the easiest code to test is a filter: something that takes input, does computation without any dependencies on the surrounding environment (date/time, database, etc), and returns a result. No mocking or stubbing, just data in and data out.

In this session, we'll discover how viewing our domain in terms of events enables us to write such tests for our business logic - even when it depends on previous history. Even better, tests expressed this way are great at describing intent, and thus are ideal for discussing with domain experts.

The session finishes up with a short live coding demonstration of writing intentful tests and making them pass.

  • DDD
  • CQRS
  • Testing

Target audience

Pre-requisites

Course info

Course code: A002
Duration: 1 days
Price: 0 SEK

Teachers

Share

Related courses

Contact us for details

+46 40 61 70 720
info@edument.se


All prices excluding VAT