Skip to content

Commit

Permalink
Add initial decorators support (fixes allure-framework#7).
Browse files Browse the repository at this point in the history
- Added a separate `allure-decorators` module to allow setting framework-specific Allure implementation explicitly in a client code.
- Created core decorators for the main Allure functions like step, attachments, issue, etc.
- Added a testdeck extension for data-driven tests. Note that testdeck currently supports only Mocha, Jasmine and Jest. Any other integrations should be additionally discussed and designed.
- Updated outdated typescript linter dependencies that caused issues while creating a new module. Note that this update introduced some failures in the other modules (primarily related to shadow/unknown objects), that were fixed within this commit.
  • Loading branch information
sskorol committed Aug 6, 2021
1 parent 7d22f5f commit b1fabd0
Show file tree
Hide file tree
Showing 50 changed files with 4,836 additions and 64 deletions.
173 changes: 120 additions & 53 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
},
"devDependencies": {
"@types/node": "^14.6.0",
"@typescript-eslint/eslint-plugin": "^2.34.0",
"@typescript-eslint/parser": "^2.34.0",
"@typescript-eslint/eslint-plugin": "^4.1.1",
"@typescript-eslint/parser": "^4.1.1",
"allure-commandline": "^2.13.0",
"eslint": "^7.21.0",
"eslint-config-prettier": "^8.3.0",
Expand Down
90 changes: 90 additions & 0 deletions packages/allure-cucumberjs/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 13 additions & 0 deletions packages/allure-decorators/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
module.exports = {
globals: {
__PATH_PREFIX__: true,
},
env: {
browser: true,
node: true,
es6: true,
},
extends: [
"../../.eslintrc.js",
],
};
5 changes: 5 additions & 0 deletions packages/allure-decorators/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
*
!dist/**
!package.json
!*.md
!*.txt
Loading

0 comments on commit b1fabd0

Please sign in to comment.