Skip to content

Commit 4dbcdbe

Browse files
authored
chore: remove unused integration tests (#3512)
* Removes unused integration-test files & NPM script cmd. * Updates the README accordingly.
1 parent aa17a0d commit 4dbcdbe

4 files changed

Lines changed: 4 additions & 156 deletions

File tree

‎InfoLogger/README.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
- [Live mode against synthetic logs (thoroughly test Live mode)](#live-mode-against-synthetic-logs-thoroughly-test-live-mode)
2020
- [Query against a local DB](#query-against-a-local-db)
2121
- [Testing](#testing)
22-
- [Integration tests (now run elsewhere)](#integration-tests-now-run-elsewhere)
22+
- [Integration tests (live elsewhere)](#integration-tests-live-elsewhere)
2323
- [CI](#ci)
2424
- [infologger.yml](#infologgeryml)
2525
- [release.yml](#releaseyml)
@@ -160,11 +160,11 @@ Requires [Docker Desktop](https://www.docker.com/products/docker-desktop/).
160160
- Add or update the matching test when fixing a bug.
161161
- `npm run eslint` - config in [eslint.config.js](eslint.config.js). Lint failures block CI.
162162

163-
### Integration tests (now run elsewhere)
163+
### Integration tests (live elsewhere)
164164

165165
ILG integration tests live in the **system-configuration** repo and run in its pipeline against a pipeline ILG. They are **not** executed by this repo's CI. To run them locally, clone system-configuration and run `npx mocha ilg-main.js`.
166166

167-
> ⚠️ Files under [test/integration/](test/integration) here are a historical FLP-Suite copy, unmaintained for years. If you change behaviour covered by integration tests, update the system-configuration suite during the next ILG release.
167+
> ⚠️ If you change behaviour covered by integration tests, update the system-configuration suite during the next ILG release.
168168

169169
## CI
170170

‎InfoLogger/package.json‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@
2525
"eslint": "./node_modules/.bin/eslint --config eslint.config.js lib/ public/",
2626
"mocha": "mocha --exit $(find test -name 'mocha-*.js')",
2727
"coverage": "npm run eslint && nyc npm run mocha",
28-
"coverage-local": "nyc --reporter=lcov npm run mocha",
29-
"integration-query-test": "mocha --exit --bail ./test/integration/ilg-query-tests.js -R min"
28+
"coverage-local": "nyc --reporter=lcov npm run mocha"
3029
},
3130
"main": "index.js",
3231
"dependencies": {

‎InfoLogger/test/integration/config-provider.js‎

Lines changed: 0 additions & 31 deletions
This file was deleted.

‎InfoLogger/test/integration/ilg-query-tests.js‎

Lines changed: 0 additions & 120 deletions
This file was deleted.

0 commit comments

Comments
 (0)