2 packages tagged with “ChainFlow”
A modern framework based on Chain of Responsibility pattern with: - Worflow based declaration of application logic - Classes Single Responsibility as first class citizen - Unified and predictable way to build application Plus, some extra features out of the box: - Auto-documentation of workflows powered by Memarmaid.js (https://mermaid.js.org/) - Debugger mode to log current handler involved in processing to ease issue investigation - An optional ChainFlow.TestKit package to make testing of Workflows a breeze Source code and samples at: https://github.com/giuseppe-velocci/ChainFlow
TestKit library for ChainFlow Framework. Allows easy setup of Workflows with an autowiring of Mocks. It leverages Moq (https://github.com/moq/moq) to return a container with all resolved dependencies of the tested Workflow. Rule is simple: if it is a class, than a concrete class is returned; if it is an interface, a Mock is created, allowing for overrides. To avoid tedious inizialization, all Mocks have default return values for bool type (true) and OperationResult (always successful). Source code and samples at: https://github.com/giuseppe-velocci/ChainFlow