-
Notifications
You must be signed in to change notification settings - Fork 20
Enable allure dev reporting #125
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
Conversation
Signed-off-by: PatStLouis <[email protected]>
Signed-off-by: PatStLouis <[email protected]>
aljones15
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
README.md
Outdated
| npx mocha tests/ | ||
|
|
||
| # Running the reporting server | ||
| allure serve allure-results |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this be run with npx?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's not necessary, the allure-commandline package provide a direct commandline access to the allure package:
https://www.npmjs.com/package/allure-commandline
There's 2 npm packages installed here, allure-mocha and allure-commandline. allure-mocha is the mocha specific reporter that will output the results into a directory. The allure-commandline is the allure software that will build the report and host a local reporting server.
BigBlueHat
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1 modulo the recommendations from others.
This enables local allure report generation for developers.