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

Feature/e2e tests #53

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft

Feature/e2e tests #53

wants to merge 3 commits into from

Conversation

boyswan
Copy link
Contributor

@boyswan boyswan commented Mar 18, 2023

Initial e2e testing crate idea

  • In order for e2e tests to work in a cargo workspace project (and separate crate), we need to patch ink and ink_e2e with the latest master ink which contains fixes for these issues. Expecting these to be in the 4.0.2 ink release, so we should be able to remove the patch as soon as it's available.

  • Currently I'm importing and using the equippable contract for all e2e tests. Perhaps we should have a single "mother" contract in the testing crate which provides a complete implementation of all rmrk functionality, instead of testing examples (which could change). I think there's still a few questions around how this might work.

  • Helper directory to avoid duplicating testing logic with a call/query naming convention. These are currently bound to the single imported equippable contract as described above - making this generic is a bit more complex and will require some more thought.

@Maar-io
Copy link
Contributor

Maar-io commented Mar 25, 2023

The PR #57 introduces integration test in CI and it also have e2e job that needs to be un-commented.
Best if you rebase once it is merged.

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

Successfully merging this pull request may close these issues.

2 participants