Dry run - temporary repository
Working on an MVC app, for process automation, using Event-Consumer
pattern with StructureMap.
Due to the critical nature of some process, we would like to "dry run"
them say 30 minutes before scheduled time.
I'm still exploring options, so please feel free to suggest if you've done
it before.
This specific question is to ask whether it's recommended to mock the
process by
Copying data from the database into a mock IRepository
Which then will be passed on to the consumers, so that all changes etc.
will be saved in the mock repository
Use the same mock repository for all consumers down the pipeline of the
process
At the end display the result of the dry-run, no production information is
altered
Many thanks
No comments:
Post a Comment