James Read 5fca2d9482 Merge branch 'next' into feat/better-prometheus-metrics il y a 5 jours
..
lib 7bd6e77ae2 chore: fix race conditions and little bugs il y a 2 semaines
proxies 58593c6f04 doc: Improve HAProxy example il y a 7 mois
scripts f4b3c4289a chore: Fix many little niggly bugs, test flakes, etc il y a 2 semaines
tests 5fca2d9482 Merge branch 'next' into feat/better-prometheus-metrics il y a 5 jours
.eslintrc.yml 2ada67be04 Migrate integration-test infrastucture from Cypress to Selenium+Mocha (#170) il y a 2 ans
.gitignore 8e3112ee16 Vagrant testing support il y a 4 ans
.mocharc.yml 37cde0d982 fix: custom CSS and custom JS (#804 and #803) hopefully il y a 2 semaines
Makefile f4b3c4289a chore: Fix many little niggly bugs, test flakes, etc il y a 2 semaines
README.md c082a5438a cicd: wip il y a 2 ans
Vagrantfile 458f50a6ae chore: colocate tests il y a 7 mois
compose.yml 917a0469d8 Proxy integration tests (#228) il y a 2 ans
envVagrant.sh 4ce5b0e645 cicd: Improve tests (#205) il y a 2 ans
mochaSetup.mjs 4ce5b0e645 cicd: Improve tests (#205) il y a 2 ans
package-lock.json f4b3c4289a chore: Fix many little niggly bugs, test flakes, etc il y a 2 semaines
package.json f4b3c4289a chore: Fix many little niggly bugs, test flakes, etc il y a 2 semaines
runner.mjs 3471e2fb12 chore: coderabbit suggestions il y a 2 semaines

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