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

New Feature: Allow the CLI to be ran against a specific test only #27

Open
SgtPooki opened this issue Apr 22, 2022 · 1 comment
Open

Comments

@SgtPooki
Copy link
Member

SgtPooki commented Apr 22, 2022

When debugging a particular compliance check, it's very time-consuming to run them all only to see if one is passing/failing. We should allow a cli option to filter the checks.

initial idea is to filter based on name, something like:

npx @ipfs-shipyard/pinning-service-compliance -- pinning-service-compliance -s $ENDPOINT $TOKEN -f 'Pins post of CID'

in order to run only the 'addPins' compliance check.

Though we could create allow/deny filtering as well to simply exclude a single test. @lidel do you have any thoughts?

@lidel
Copy link
Member

lidel commented Apr 25, 2022

fwiw aegir uses --grep for a similar feature (matching tests that include passed string)

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

No branches or pull requests

2 participants