Add Aapache 2.0 license

Change-Id: I29f6874ec9822bd5f09938ed54d476d86f000c95
2 files changed
tree: b4ec01b9709bf5a02ea9068253d49b893cfcd65b
  1. lib/
  2. test/
  3. .mocharc.yml
  4. LICENSE
  5. package.json
  6. Readme.md
Readme.md

KorAP-E2E-Tests

Perform basic end-to-end tests on a KorAP-Kalamar instance with a headless browser using mocha, puppeteer and chai.

Install

npm install

Run

npm test

defaults to:

KORAP_URL="http://localhost:64543" KORAP_LOGIN="user2" KORAP_PWD="password2"\
 KORAP_QUERIES="npm test" KORAP_QUERIES='geht, [orth=geht & cmc/pos=VVFIN]'\
 npm test

Comments on Environment Variables

  • Use KORAP_LOGIN="" npm test to skip login and logout tests, e.g. to run tests against Kustvakt-lite.
  • The tests respect the current locale, consider e.g. LC_ALL=C npm test

Development and License

Authors:

Copyright (c) 2022, 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

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.