Skip to content

narnau/NServiceBus.AcceptanceTesting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NServiceBus.AcceptanceTesting

Example of using NServiceBus AcceptanceTesting Library in a simple scenario

Scenario

In this scenario, the SALES endPoint receives the command "RegisterOrder". The endPoint processes it and send another command called "OtherOrder". It is received by the SALES endPoint itself. Then, this endPoint publishes an event called "OrderAccepted" that is received by the same endPoint.

This scenario is useful to perform integration tests in a scenario where some aggregates are communicated via servicebus in the same process.

                                   _  _ _ _ _ _ _ _ _ _ _ _
                                  |                        |
                     |---------------------|--OtherOrder--->
RegisterOrder -----> |  SALES   endPoint   |  
                     |---------------------|--OrderAccepted -->
                                    | _ _ _ _ _ _ _ _ _ _ _ _ |

Reference: https://github.com/roycornelissen/NServiceBus.AcceptanceTesting.Sample

About

Example of using NServiceBus AcceptanceTesting Library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages