Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create an experiment branch to assess using Cucumber for integration/unit test #146

Open
hrajchert opened this issue Dec 22, 2023 · 1 comment
Assignees

Comments

@hrajchert
Copy link
Collaborator

  • 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
@bjornkihlberg
Copy link
Contributor

bjornkihlberg commented Jan 10, 2024

Progress

  • Start a discussion
  • 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
  • Make unknown unknowns known
    • It has a CLI, can you avoid CucumberStudio?
    • Seems like cucumber wants a specific folder structure. Can this be configured?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants