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

Documentation on using --id #788

Closed
shangxiao opened this issue Nov 16, 2017 · 1 comment
Closed

Documentation on using --id #788

shangxiao opened this issue Nov 16, 2017 · 1 comment
Assignees
Labels
Milestone

Comments

@shangxiao
Copy link

@shangxiao shangxiao commented Nov 16, 2017

For someone who's quite new to the hapi ecosystem I can't seem to obtain any information on how to use the --id flag with lab. It looks as though the help text assumes you know how to specify an id on a test. An example may be helpful here :)

@geek

This comment has been minimized.

Copy link
Member

@geek geek commented Nov 16, 2017

@rapilabs I'll update the docs, but you can get the ID of a test by running lab in verbose mode. Then each test will display the ID that relates to it, next you can use the -i argument to run only that test or a range of tests:

lab -v
lab -i 1-3,5

@geek geek added the documentation label Nov 12, 2018
@geek geek self-assigned this Nov 12, 2018
@geek geek added this to the 18.0.0 milestone Nov 12, 2018
@geek geek closed this in #892 Nov 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.