jamesread 76035a56ab chore: fix typo in test hace 8 meses
..
lib 32fea4ec30 feat: Dashboard configs can now self-contain their entities, and actions all in one neat file hace 8 meses
proxies 58593c6f04 doc: Improve HAProxy example hace 9 meses
tests 76035a56ab chore: fix typo in test hace 8 meses
.eslintrc.yml 2ada67be04 Migrate integration-test infrastucture from Cypress to Selenium+Mocha (#170) hace 2 años
.gitignore 8e3112ee16 Vagrant testing support hace 4 años
.mocharc.yml 458f50a6ae chore: colocate tests hace 9 meses
Makefile 458f50a6ae chore: colocate tests hace 9 meses
README.md c082a5438a cicd: wip hace 2 años
Vagrantfile 458f50a6ae chore: colocate tests hace 9 meses
compose.yml 917a0469d8 Proxy integration tests (#228) hace 2 años
envVagrant.sh 4ce5b0e645 cicd: Improve tests (#205) hace 2 años
mochaSetup.mjs 4ce5b0e645 cicd: Improve tests (#205) hace 2 años
package-lock.json a163347992 feat: Sidebar now closes when clicking outside of it (#714) hace 8 meses
package.json 5bf2d6935b chore: dep update hace 9 meses
runner.mjs 458f50a6ae chore: colocate tests hace 9 meses

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