Skip to content

Conversation

@gibiw
Copy link
Contributor

@gibiw gibiw commented Nov 29, 2024

This pull request includes several updates and improvements to the qase-mocha package, including new features, refactoring, and test updates. The most important changes include the addition of a new qase function, capturing console logs as test attachments, and renaming test files for better clarity.

New Features:

  • Added a qase function to allow specifying QaseID for tests.
  • Implemented functionality to capture console logs and include them as attachments in tests. [1] [2]

Refactoring:

  • Renamed examples/mocha/test/stepsTests.spec.js to stepTests.spec.js for better clarity.
  • Updated mocha-qase-reporter dependency to ^1.0.0-beta.5 in examples/mocha/package.json.

Test Updates:

  • Simplified and renamed test descriptions in attachTests.spec.js, parametrizedTests.spec.js, and simpleTests.spec.js for better readability. [1] [2] [3]

Documentation:

  • Updated changelog.md to include changes for version 1.0.0-beta.5.

Miscellaneous:

  • Added ./mocha export to qase-mocha/package.json.

- Added a `qase` function to allow specifying QaseID for tests.
- Marked the old syntax for QaseID as deprecated.
- Implemented functionality to capture console logs and include them as attachments in tests.
@gibiw gibiw enabled auto-merge (rebase) November 29, 2024 11:54
@apetrosyan1613 apetrosyan1613 self-requested a review November 29, 2024 11:54
@gibiw gibiw merged commit 1d76bb8 into main Nov 29, 2024
42 checks passed
@gibiw gibiw deleted the feat/mocha branch November 29, 2024 11:55
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.

3 participants