Skip to content

Illustrates how to implement unit tests for a MassTransit Automatonymous saga using MsTest. Visual Studio 2017 solution targeting dotnet core.

Notifications You must be signed in to change notification settings

balintn22/AutomatonymousTestExample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Automatonymous Unit Test Example

This repo contains a sample Automatonymous saga and a corresponding set of unit tests. Unit tests are executed with MsTest. It illustrates

  • how to implement unit tests for a saga
  • how to put the state machine through states in a test
  • how to test which state the saga is in
  • how to test being in the Final state

The state machine implemented by the saga:

state_machine_illustration

About

Illustrates how to implement unit tests for a MassTransit Automatonymous saga using MsTest. Visual Studio 2017 solution targeting dotnet core.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages