olivetin/integration-tests
jamesread 458f50a6ae chore: colocate tests 2025-11-22 19:24:51 +00:00
..
configs/pageTitle chore: colocate tests 2025-11-22 19:24:51 +00:00
lib fix: all broken integration tests 2025-10-11 00:45:41 +01:00
proxies doc: Improve HAProxy example 2025-11-06 23:44:00 +00:00
tests chore: colocate tests 2025-11-22 19:24:51 +00:00
.eslintrc.yml Migrate integration-test infrastucture from Cypress to Selenium+Mocha (#170) 2023-10-09 21:44:29 +00:00
.gitignore Vagrant testing support 2021-11-17 13:29:10 +00:00
.mocharc.yml chore: colocate tests 2025-11-22 19:24:51 +00:00
Makefile chore: colocate tests 2025-11-22 19:24:51 +00:00
README.md cicd: wip 2024-02-09 23:47:27 +00:00
Vagrantfile chore: colocate tests 2025-11-22 19:24:51 +00:00
compose.yml Proxy integration tests (#228) 2024-02-09 16:12:25 +00:00
envVagrant.sh cicd: Improve tests (#205) 2023-12-28 22:04:47 +00:00
mochaSetup.mjs cicd: Improve tests (#205) 2023-12-28 22:04:47 +00:00
package-lock.json chore: dep update 2025-11-22 08:36:38 +00:00
package.json chore: dep update 2025-11-22 08:36:38 +00:00
runner.mjs chore: colocate tests 2025-11-22 19:24:51 +00:00

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