jamesread ea7a1fb3e3 fix: cssClass again again #804 преди 4 месеца
..
lib b4157ed5ba fix: argument validation on bindings преди 6 месеца
proxies 58593c6f04 doc: Improve HAProxy example преди 8 месеца
tests ea7a1fb3e3 fix: cssClass again again #804 преди 4 месеца
.eslintrc.yml 2ada67be04 Migrate integration-test infrastucture from Cypress to Selenium+Mocha (#170) преди 2 години
.gitignore 8e3112ee16 Vagrant testing support преди 4 години
.mocharc.yml 458f50a6ae chore: colocate tests преди 7 месеца
Makefile 458f50a6ae chore: colocate tests преди 7 месеца
README.md c082a5438a cicd: wip преди 2 години
Vagrantfile 458f50a6ae chore: colocate tests преди 7 месеца
compose.yml 917a0469d8 Proxy integration tests (#228) преди 2 години
envVagrant.sh 4ce5b0e645 cicd: Improve tests (#205) преди 2 години
mochaSetup.mjs 4ce5b0e645 cicd: Improve tests (#205) преди 2 години
package-lock.json f46a48bf5b chore: bump integraiton test dep on selenium преди 5 месеца
package.json f46a48bf5b chore: bump integraiton test dep on selenium преди 5 месеца
runner.mjs 1e774f0078 chore: integration test for env преди 5 месеца

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