Testing
Tests are implemented as integration tests against a real eventstore cluster.
You can find code coverage analysis at sonarcloud.com and at codecov.io
Requirements
- node > 10
- linux or mac for running bash scripts
- installed Docker
Running tests
- install all dependencies
npm install
- run tests
npm run test
Test suite
The whole tests are configured and started by scripts/allTest.sh
- starting eventstore with 3 cluster instances
- building test container - a docker container containing this repository
- adding test users to eventstore
- setting up acl for eventstore
- adding test streams to eventstore
- starting test container and running tests within that container
- shutting down eventstore clusters