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]: Update _e2e-tests.sh_ Script to Allow Targeting Specific Test Cases Within Test Files #444

Open
1 task done
0xNeshi opened this issue Dec 10, 2024 · 0 comments · May be fixed by #467
Open
1 task done
Assignees
Labels
effort: low Easy or tiny task that takes less than a day. priority: 0 Nice-to-have. Willing to ship without this. type: test Changes to the testing suite.

Comments

@0xNeshi
Copy link
Collaborator

0xNeshi commented Dec 10, 2024

What is the feature you would like to see?

It is possible to update e2e-tests.sh so that we're able to use it in the following ways:

# run every test
./scripts/e2e-tests.sh
# run only tests in files named 'erc721'
./scripts/e2e-tests.sh erc721
# run every test file starting with 'erc721' (erc721)
./scripts/e2e-tests.sh erc721*
# run only test cases that contain 'support_interface' in their name from within erc721 test files
./scripts/e2e-tests.sh erc721 -- support_interface
# run all tests, and pass custom flags/params to `cargo test`
./scripts/e2e-tests.sh * --nocapture

Contribution Guidelines

  • I agree to follow this project's Contribution Guidelines
@0xNeshi 0xNeshi added priority: 0 Nice-to-have. Willing to ship without this. type: test Changes to the testing suite. effort: low Easy or tiny task that takes less than a day. labels Dec 10, 2024
@0xNeshi 0xNeshi self-assigned this Dec 23, 2024
@0xNeshi 0xNeshi linked a pull request Dec 31, 2024 that will close this issue
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
effort: low Easy or tiny task that takes less than a day. priority: 0 Nice-to-have. Willing to ship without this. type: test Changes to the testing suite.
Projects
Status: Todo
Development

Successfully merging a pull request may close this issue.

1 participant