jamesread 09e1f0f984 fix: Argument validation targets the bindings (fixes checkboxes, etc) 9 månader sedan
..
lib 32fea4ec30 feat: Dashboard configs can now self-contain their entities, and actions all in one neat file 10 månader sedan
proxies 58593c6f04 doc: Improve HAProxy example 11 månader sedan
tests 09e1f0f984 fix: Argument validation targets the bindings (fixes checkboxes, etc) 9 månader sedan
.eslintrc.yml 2ada67be04 Migrate integration-test infrastucture from Cypress to Selenium+Mocha (#170) 3 år sedan
.gitignore 8e3112ee16 Vagrant testing support 4 år sedan
.mocharc.yml 458f50a6ae chore: colocate tests 10 månader sedan
Makefile 458f50a6ae chore: colocate tests 10 månader sedan
README.md c082a5438a cicd: wip 2 år sedan
Vagrantfile 458f50a6ae chore: colocate tests 10 månader sedan
compose.yml 917a0469d8 Proxy integration tests (#228) 2 år sedan
envVagrant.sh 4ce5b0e645 cicd: Improve tests (#205) 2 år sedan
mochaSetup.mjs 4ce5b0e645 cicd: Improve tests (#205) 2 år sedan
package-lock.json 14359a5327 chore: Update integration test deps 9 månader sedan
package.json 14359a5327 chore: Update integration test deps 9 månader sedan
runner.mjs 458f50a6ae chore: colocate tests 10 månader sedan

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