You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been trying to set up preconditions for my test scenarios using the given method, but it doesn't seem to be working.
I am using the example provided in the documentation found at https://eventsauce.io/docs/testing/preconditions/ to set up preconditions for my test scenarios.
Specifically, I'm using the SignUpProcess class as an aggregate root to initiate a sign-up process, and I'm trying to record events that occur during the sign-up process using the recordThat method. However, when I try to apply these events using the apply methods, they don't seem to be working as expected.
I've looked at the code examples provided in the documentation and I'm still having trouble figuring out what's going wrong. Has anyone else experienced similar issues with preconditions in test scenarios? Any help would be greatly appreciated.
Thank you.
The text was updated successfully, but these errors were encountered:
@Parables Hi, can you show some code that highlights your problem? You're stating that the apply method does not work as expected, can you elaborate? Normal eventsauce usage would not involve needing to manually invoke that method, so you're most likely doing something wrong 😅
I've been trying to set up preconditions for my test scenarios using the given method, but it doesn't seem to be working.
I am using the example provided in the documentation found at https://eventsauce.io/docs/testing/preconditions/ to set up preconditions for my test scenarios.
Specifically, I'm using the SignUpProcess class as an aggregate root to initiate a sign-up process, and I'm trying to record events that occur during the sign-up process using the recordThat method. However, when I try to apply these events using the apply methods, they don't seem to be working as expected.
I've looked at the code examples provided in the documentation and I'm still having trouble figuring out what's going wrong. Has anyone else experienced similar issues with preconditions in test scenarios? Any help would be greatly appreciated.
Thank you.
The text was updated successfully, but these errors were encountered: