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

[1u5ykup] Runtime integration tests parallelization & Mocha v.9 #560

Merged
merged 1 commit into from
Feb 15, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions integration-tests/runtime-tests/.mocharc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"diff": true,
"inline-diffs": true,
"package": "./package.json",
"reporter": "mochawesome",
"reporterOptions": {
Expand All @@ -9,13 +10,15 @@
"html": true,
"json": true
},
"slow": 75,
"slow": 600000,
"timeout": 2000,
"retries": 0,
"retries": 3,
"ui": "bdd",
"trace-warnings": true,
"watch-files": ["src/**/*.ts"],
"watch-ignore": ["lib/vendor"],
"require": "src/utils/testSetup.ts",
"require": ["mochawesome/register", "src/utils/testSetup.ts"],
"full-trace": true,
"parallel": false
"parallel": true,
"recursive": true
}
16 changes: 7 additions & 9 deletions integration-tests/runtime-tests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ $ npm run test
$ npm run gen
```

### If you want to check for dependency updates:
```bash
$ npm run check_dep_updates
```


## ToDo:
* Add all general test cases.
Expand All @@ -50,15 +55,8 @@ e.g.
describe('Imaginary Test', function () {
// Timeout set to 2 minutes
this.timeout(2*60*1000); // <--
it('Imaginary test part', async (done) => {
// Test Stuff...
it('Imaginary test part', async function (done) {
// Test Stuff...
});
});
```


## License
Temporary:
[GNU AGPLv3](https://choosealicense.com/licenses/agpl-3.0/)

Final License TBD.
Loading