ryan-mars / stochastic

TypeScript framework for building event-driven services. Easily go from Event Storming → Code.
MIT License
6 stars 1 forks source link

feat(local): local runtime for testing and debugging business logic #87

Open ryan-mars opened 3 years ago

ryan-mars commented 3 years ago

Create a local runtime stochastic-local (as compared to stochastic-aws-serverless) that allows for fast in-memory testing of business logic, and experimentation for maintainers, without the complexity of infra and temporary uncertainty of eventual consistency.

Ideal use cases:

The unit and business acceptance tests should execute against stochastic-local in before commit, and in CI, providing faster feedback on business rules without requiring service deployment and endpoint discovery. Instead of mocking polyglot data sources the developer could opt to run a local instance of any collaborating databases (e.g. redis, dynamodb-local, sqlite, etc...).

sam-goodwin commented 3 years ago

Please remember to provide useful descriptions in PR. It will serve as a form of documentation for developers browsing the changelog