jamesread c59bcc62db chore: fix sleep action test пре 10 месеци
..
lib b330fbd1a5 fix: all broken integration tests пре 1 година
proxies 58593c6f04 doc: Improve HAProxy example пре 11 месеци
tests c59bcc62db chore: fix sleep action test пре 10 месеци
.eslintrc.yml 2ada67be04 Migrate integration-test infrastucture from Cypress to Selenium+Mocha (#170) пре 3 година
.gitignore 8e3112ee16 Vagrant testing support пре 4 година
.mocharc.yml 458f50a6ae chore: colocate tests пре 10 месеци
Makefile 458f50a6ae chore: colocate tests пре 10 месеци
README.md c082a5438a cicd: wip пре 2 година
Vagrantfile 458f50a6ae chore: colocate tests пре 10 месеци
compose.yml 917a0469d8 Proxy integration tests (#228) пре 2 година
envVagrant.sh 4ce5b0e645 cicd: Improve tests (#205) пре 2 година
mochaSetup.mjs 4ce5b0e645 cicd: Improve tests (#205) пре 2 година
package-lock.json 4686b044e7 chore(deps-dev): bump glob from 10.4.5 to 10.5.0 in /integration-tests пре 10 месеци
package.json 5bf2d6935b chore: dep update пре 10 месеци
runner.mjs 458f50a6ae chore: colocate tests пре 10 месеци

README.md

OliveTin-integration-tests

GitHub Actions (Ubuntu, Local Process)

  • mocha is run with the default runner that starts and stops OliveTin as a local process (ie, localhost:1337).

Running different configurations (Local Process, VM, Container)

  • Get the snapshot you want to test make getsnapshot
  • To test against VMs: -- export OLIVETIN_TEST_RUNNER=vm -- vagrant up fedora38 (or whatever distro you like defined in Vagrantfile) -- . envVagrant.sh fedora38 to set the $IP and $PORT
  • mocha