Skip to content

Conversation

@PatStLouis
Copy link
Collaborator

This enables local allure report generation for developers.

Copy link
Contributor

@aljones15 aljones15 left a 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
Copy link
Contributor

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?

Copy link
Collaborator Author

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.

Copy link
Member

@BigBlueHat BigBlueHat left a 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.

@PatStLouis PatStLouis merged commit ca2df12 into main Oct 7, 2024
2 checks passed
@PatStLouis PatStLouis deleted the local-allure-dev-reporting branch October 7, 2024 18:48
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.

6 participants