Skip to content

Commit

Permalink
Merge pull request #2 from DamianOsipiuk/error-handling
Browse files Browse the repository at this point in the history
Error handling
  • Loading branch information
Damian Osipiuk authored Jul 7, 2020
2 parents 01313b1 + 673e222 commit 54211b2
Show file tree
Hide file tree
Showing 6 changed files with 5,990 additions and 124 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ Both configuration file and reporter options use the same schema.
| TESTRAIL_USER | user | Account name which will be used to push results. | | `true` |
| TESTRAIL_API_KEY | apiKey | API key which can be generated on the profile page in TestRail. | | `true` |
| TESTRAIL_PROJECT_ID | projectId | Project id in which test cases are stored. Ex. `P123` | | `true` |
| TESTRAIL_PLAN_ID | planId | Plan id in which test run results will be stored. Ex. `R123` | | |
| TESTRAIL_SUITE_ID | suiteId | Suite id in which test cases are stored. Ex. `S123` | | `true` |
| TESTRAIL_COVERAGE_CASE_ID | coverageCaseId | Test Case ID which will be used to post test results. It will appear in Test Run as executed with coverage and results as description. | | `true` |
| TESTRAIL_RUN_NAME | runName | Test Run name. Configurable with variables <ul><li>`%BRANCH%` - see config option `branchEnv`</li><li>`%BUILD%` - see config option `buildNoEnv`</li><li>`%DATE%` - see config option `dateFormat`</li></ul> | `%BRANCH%#%BUILD% - %DATE%` | |
Expand Down
10 changes: 10 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
const { jsWithTs } = require("ts-jest/presets");

module.exports = {
collectCoverage: true,
moduleFileExtensions: ["ts", "js"],
testRegex: ".test.ts$",
transform: {
...jsWithTs.transform,
},
};
Loading

0 comments on commit 54211b2

Please sign in to comment.