jamesread 3d763a84df fix: Various oauth issues před 1 rokem
..
lib b330fbd1a5 fix: all broken integration tests před 1 rokem
proxies 58593c6f04 doc: Improve HAProxy example před 1 rokem
tests 3d763a84df fix: Various oauth issues před 1 rokem
.eslintrc.yml 2ada67be04 Migrate integration-test infrastucture from Cypress to Selenium+Mocha (#170) před 3 roky
.gitignore 8e3112ee16 Vagrant testing support před 5 roky
.mocharc.yml 458f50a6ae chore: colocate tests před 1 rokem
Makefile 458f50a6ae chore: colocate tests před 1 rokem
README.md c082a5438a cicd: wip před 2 roky
Vagrantfile 458f50a6ae chore: colocate tests před 1 rokem
compose.yml 917a0469d8 Proxy integration tests (#228) před 2 roky
envVagrant.sh 4ce5b0e645 cicd: Improve tests (#205) před 2 roky
mochaSetup.mjs 4ce5b0e645 cicd: Improve tests (#205) před 2 roky
package-lock.json 5bf2d6935b chore: dep update před 1 rokem
package.json 5bf2d6935b chore: dep update před 1 rokem
runner.mjs 458f50a6ae chore: colocate tests před 1 rokem

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