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

Allure Mocha: testplan support, env info and categories, metadata #1003

Merged
merged 8 commits into from
Jun 17, 2024

Conversation

delatrie
Copy link
Collaborator

Context

Add test plan support to Allure Mocha.

Extra changes

  • dump the environment info and categories when the test run is done
  • allure metadata (labels and a shorthand for ALLURE_ID) can now be specified via a test's name. That doesn't affect testCaseId and display name:
    it("my test @allure.id:1001 @allure.label.owner:John", () => { /* ... */ });
    That's crucial for filtering by ID via a test plan.
  • hook timeout was increased when testing Allure Mocha (some combinations take around 10 seconds to complete on my machine - the default hook timeout value)
  • Redundant host and thread labels calculation was removed from allure-mocha. Allure-js-commons is used now.

Checklist

@delatrie delatrie added the type:new feature New feature or request label Jun 11, 2024
@github-actions github-actions bot added the theme:mocha Mocha related issue label Jun 11, 2024
@delatrie delatrie marked this pull request as ready for review June 11, 2024 19:00
@delatrie delatrie requested a review from epszaw June 11, 2024 19:01
@baev baev merged commit 347e34b into main Jun 17, 2024
9 checks passed
@baev baev deleted the mocha-testplan branch June 17, 2024 12:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
theme:mocha Mocha related issue type:new feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants