Skip to main content
Version: v0.14.0

Testing

@quatico/magellan-test

The @quatico/magellan-test package is a end to end test suite for the magellan suite using cucumber-js and BDD scenarios. The test suite is executed as part of the Magellan projects e2e tests (yarn test:e2e) as well as the distribution profile

yarn lib

Usage

yarn test:e2e

# TODO: consider if we want to use something like this: https://github.com/mstroppel/remark-local-plantuml/

@startuml
boundary "test-e2e" as e2e
e2e -> cli: magellan compile
note right: using Gherkin based BDD scenarios
cli -> compiler: emit
activate cli
compiler -> compiler: write output
destroy compiler
deactivate cli
destroy cli
e2e -> e2e: validate output
@enduml