commit | b650f9437f53ad13f1ddc929414b05e55b044a5a | [log] [tgz] |
---|---|---|
author | Marc Kupietz <kupietz@ids-mannheim.de> | Sun Dec 04 16:06:39 2022 +0100 |
committer | Marc Kupietz <kupietz@ids-mannheim.de> | Sun Dec 04 16:06:39 2022 +0100 |
tree | 1bd25c7a7651ead05463f3e3738ff0c3b77e5be9 | |
parent | 5a73a4d78c6cec856ce426fd1aaff62f58eacabb [diff] |
Add .mocharc Change-Id: If618e0a8631e440d0940163ad1e89a7dc87ea515
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="npm test" KORAP_QUERIES='geht, [orth=geht & cmc/pos=VVFIN]'\ npm test
Use KORAP_LOGIN="" npm test
to skip login and logout tests, e.g. to run tests against Kustvakt-lite.