jamesread 5bf2d6935b chore: dep update 9 months ago
..
configs 15390f7b80 fix: #721 Datetime args not being rendered 9 months ago
lib b330fbd1a5 fix: all broken integration tests 11 months ago
proxies 58593c6f04 doc: Improve HAProxy example 10 months ago
test 15390f7b80 fix: #721 Datetime args not being rendered 9 months ago
.eslintrc.yml 2ada67be04 Migrate integration-test infrastucture from Cypress to Selenium+Mocha (#170) 2 years ago
.gitignore 8e3112ee16 Vagrant testing support 4 years ago
.mocharc.yml 4ce5b0e645 cicd: Improve tests (#205) 2 years ago
Makefile 91dfe2437e fix: increase integration test timeout 11 months ago
README.md c082a5438a cicd: wip 2 years ago
Vagrantfile ea663f8286 cicd: Vagrant, need /opt/OliveTin-configs created 2 years ago
compose.yml 917a0469d8 Proxy integration tests (#228) 2 years ago
envVagrant.sh 4ce5b0e645 cicd: Improve tests (#205) 2 years ago
mochaSetup.mjs 4ce5b0e645 cicd: Improve tests (#205) 2 years ago
package-lock.json 5bf2d6935b chore: dep update 9 months ago
package.json 5bf2d6935b chore: dep update 9 months ago
runner.mjs ff31abe66c refactor: Project directories (#541) 1 year ago

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