commit | a6f3c4d4bf06a21bd63a0a9be7613c1b2ca8a87e | [log] [tgz] |
---|---|---|
author | dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> | Wed Jun 18 14:28:23 2025 +0000 |
committer | Marc Kupietz <kupietz@ids-mannheim.de> | Wed Jun 18 18:04:09 2025 +0200 |
tree | 50fdc6468ba4c4decf82e4901778492c05f4e2e1 | |
parent | 43769d4243d43f86ffd474df9ddd7e34d17e81d5 [diff] |
Bump mocha from 11.5.0 to 11.7.0 Bumps [mocha](https://github.com/mochajs/mocha) from 11.5.0 to 11.7.0. - [Release notes](https://github.com/mochajs/mocha/releases) - [Changelog](https://github.com/mochajs/mocha/blob/main/CHANGELOG.md) - [Commits](https://github.com/mochajs/mocha/compare/v11.5.0...v11.7.0) Change-Id: I6212cf16d422b5c78827b1351bff24cfc68c5a0b --- updated-dependencies: - dependency-name: mocha dependency-version: 11.7.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Closes #63 Change-Id: I805feb0aae7a03461debe2e93740f86661683aeb
Perform basic end-to-end tests on a KorAP-Kalamar instance with a headless browser using mocha, puppeteer and chai.
npm install
npm test
defaults to:
KORAP_URL="http://localhost:64543" KORAP_LOGIN="user2" KORAP_PWD="password2"\ KORAP_QUERIES='geht, [orth=geht & cmc/pos=VVFIN]' KORAP_MIN_TOKENS_IN_CORPUS="100000"\ npm test
KORAP_LOGIN="" npm test
to skip login and logout tests, e.g. to run tests against Kustvakt-lite.KORAP_MIN_TOKENS_IN_CORPUS
to set the minimum expected number of tokens in the corpus for the corpus statistics test (default: 100000).LC_ALL=C npm test
This project includes GitLab CI/CD configuration for automated testing. See GITLAB_CI_SETUP.md for detailed setup instructions.
Quick setup:
KORAP_PASSWORD
variable in your GitLab project's CI/CD settingsSLACK_WEBHOOK
for notificationsIf you run KorAP-E2E-tests as a cronjob or in scheduled pipelines and want to get notified about failed tests via slack, set the environment variable SLACK_WEBHOOK_URL
to the URL of your slack webhook.
Authors:
Copyright (c) 2025, Leibniz Institute for the German Language, Mannheim, Germany
This package is developed as part of the KorAP Corpus Analysis Platform at the Leibniz Institute for German Language (IDS).
The package is published under the Apache 2.0 License.
Contributions are very welcome!
Your contributions should ideally be committed via our Gerrit server to facilitate reviewing (see Gerrit Code Review - A Quick Introduction if you are not familiar with Gerrit). However, we are also happy to accept comments and pull requests via GitHub.
Diewald, Nils/Margaretha, Eliza/Kupietz, Marc (2021): Lessons learned in quality management for online research software tools in linguistics. In: Lüngen, Harald et al. (Hg.): Proceedings of the Workshop on Challenges in the Management of Large Corpora (CMLC-9) 2021. Limerick, 12 July 2021 (Online-Event). Mannheim: Leibniz-Institut für Deutsche Sprache, p. 20–26. doi:10.14618/ids-pub-10469.