jamesread 5ff6b5d080 fix: Entity ordering (#886, #762) 3 kuukautta sitten
..
lib b4157ed5ba fix: argument validation on bindings 6 kuukautta sitten
proxies 58593c6f04 doc: Improve HAProxy example 7 kuukautta sitten
tests 5ff6b5d080 fix: Entity ordering (#886, #762) 3 kuukautta sitten
.eslintrc.yml 2ada67be04 Migrate integration-test infrastucture from Cypress to Selenium+Mocha (#170) 2 vuotta sitten
.gitignore 8e3112ee16 Vagrant testing support 4 vuotta sitten
.mocharc.yml 458f50a6ae chore: colocate tests 7 kuukautta sitten
Makefile 458f50a6ae chore: colocate tests 7 kuukautta sitten
README.md c082a5438a cicd: wip 2 vuotta sitten
Vagrantfile 458f50a6ae chore: colocate tests 7 kuukautta sitten
compose.yml 917a0469d8 Proxy integration tests (#228) 2 vuotta sitten
envVagrant.sh 4ce5b0e645 cicd: Improve tests (#205) 2 vuotta sitten
mochaSetup.mjs 4ce5b0e645 cicd: Improve tests (#205) 2 vuotta sitten
package-lock.json 7717f735aa chore: dep update 4 kuukautta sitten
package.json 7717f735aa chore: dep update 4 kuukautta sitten
runner.mjs 1e774f0078 chore: integration test for env 5 kuukautta sitten

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