Allow skipping test suites (suite.skip()) and running single test suites (suite.only())
3.0.2 (2022-05-15)
Fix: Replace the harness argument to the suite() function with a getHarness() function to avoid accessing a stale harness.
3.0.1 (2022-05-09)
BREAKING: The function signature of defineAdditionalTests in integration tests has changed. All user-defined integration tests must now be grouped in one or more suite blocks. The adapter will now only be started at the beginning of each suite. See the documentation for details.
BREAKING: The function signature of harness.startAdapterAndWait has changed. It now accepts a boolean as the first parameter which controls whether to wait for the alive state (false) or the info.connection state (true).
2.6.0 (2022-04-18)
The loglevel for the adapter and DB instances is now configurable and defaults to "debug" in both cases
2.5.6 (2022-03-05)
Allow immediate exit with code 0 for once and subscribe adapters too
2.5.5 (2022-03-04)
Allow immediate exit with code 0 for schedule adapters
Check that npm is not listed as a local dependency in package.json
Updated dependencies
2.5.4 (2022-02-02)
Modifying ioBroker databases now uses the same methods that JS-Controller uses internally. This ensures that the testing is compatible with the jsonl database format.
Testing adapters with adapter dependencies that try to access the databases during installation now works.
2.5.2 (2021-09-18)
Fix: adminUI.config is now respected for the config UI check and JSON config is allowed too
Updated dependencies
Modernized build process
2.5.1 (2021-09-05)
We now use the nightly js-controller dev builds instead of GitHub installation
2.4.4 (2021-03-14)
Fix error: iopackContent.common.titleLang is not iterable
2.4.3 (2021-03-12)
Fix: The adapter main file now correctly gets located when it is only defined in package.json, not io-package.json
2.4.2 (2021-01-06)
Fixed compatibility with the reworked database classes
Improved shutdown behavior of the adapter
2.4.1 (2021-01-01)
Fixed a bug where the wrong js-controller dependency would be installed
2.4.0 (2020-12-07)
Unit tests for adapter startup were removed and only log a warning that you can remove them
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps @iobroker/testing from 1.3.1 to 4.0.0.
Changelog
Sourced from
@iobroker/testing
's changelog.... (truncated)
Commits
21df86d
chore: release v4.0.03b4937b
update changelog1860356
upgrade dependencies, drop Node.js 12 (#519)9f1f8dc
feat: supportsuite.skip
andsuite.only
(#518)c20c87d
chore(deps-dev): bump@types/node
from 12.20.50 to 18.6.3 (#516)08c9085
chore(deps-dev): bump eslint-plugin-prettier from 4.0.0 to 4.2.1 (#517)762f8c1
chore(deps-dev): bump ts-node from 10.8.1 to 10.9.1 (#513)988eb7b
chore(deps-dev): bump@typescript-eslint/eslint-plugin
(#514)8142f77
chore(deps-dev): bump@types/iobroker
from 4.0.2 to 4.0.4 (#512)9a917d9
chore(deps-dev): bump typescript from 4.7.2 to 4.7.4 (#509)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)