Skip to content

How do you test aggregate-partials? #404

Answered by sebastiandedeyne
ovp87 asked this question in Q&A
Discussion options

You must be logged in to vote

Aggregate partials are like traits: they're a nice way to split a class in multiple parts but still should be considered part of that class.

Ideally, the aggregate root is the subject of your test. Partials are an implementation detail.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by sebastiandedeyne
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants