marlowe-ts-sdk
marlowe-ts-sdk copied to clipboard
Create an experiment branch to assess using Cucumber for integration/unit test
- Create an exeperiment/cucumber branch
- Install https://cucumber.io/ and try to create some basic resolvers
initial Idea for resolvers in the integration test space:
Given a swap contract between "Alice" and "Bob" for "20 tokenA" for "40 tokenB"
When I submit contract I get TxId
When I wait for confirmation
Then the tx is confirmed
Progress
- [x] Start a discussion
- [x] Install cucumber
- You can install locally through npm.
npm install --save-dev @cucumber/cucumber
- It is also possible to install through nix
nix-shell -p cucumber
- You can install locally through npm.
- [ ] Make unknown unknowns known
- [ ] It has a CLI, can you avoid CucumberStudio?
- [ ] Seems like cucumber wants a specific folder structure. Can this be configured?