jamesread 3df22f2ccb Merge branch 'feat-add-language-support' of github.com:OliveTin/OliveTin into feat-add-language-support 8 달 전
..
configs 961ddac193 fix: Duplicate ACL rendering bug in UserControlPanel 8 달 전
lib b330fbd1a5 fix: all broken integration tests 9 달 전
proxies 58593c6f04 doc: Improve HAProxy example 8 달 전
test 3df22f2ccb Merge branch 'feat-add-language-support' of github.com:OliveTin/OliveTin into feat-add-language-support 8 달 전
.eslintrc.yml 2ada67be04 Migrate integration-test infrastucture from Cypress to Selenium+Mocha (#170) 2 년 전
.gitignore 8e3112ee16 Vagrant testing support 4 년 전
.mocharc.yml 4ce5b0e645 cicd: Improve tests (#205) 2 년 전
Makefile 91dfe2437e fix: increase integration test timeout 9 달 전
README.md c082a5438a cicd: wip 2 년 전
Vagrantfile ea663f8286 cicd: Vagrant, need /opt/OliveTin-configs created 2 년 전
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 b330fbd1a5 fix: all broken integration tests 9 달 전
package.json b330fbd1a5 fix: all broken integration tests 9 달 전
runner.mjs ff31abe66c refactor: Project directories (#541) 1 년 전

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