jamesread 381bf59fbd feature: The mega dashboards & entities commit. před 2 roky
..
configs 2ada67be04 Migrate integration-test infrastucture from Cypress to Selenium+Mocha (#170) před 2 roky
proxies 7dce77adcf cicd: These are just testing certs, but they do not need to be in git před 2 roky
test 381bf59fbd feature: The mega dashboards & entities commit. před 2 roky
.eslintrc.yml 2ada67be04 Migrate integration-test infrastucture from Cypress to Selenium+Mocha (#170) před 2 roky
.gitignore 8e3112ee16 Vagrant testing support před 4 roky
.mocharc.yml 4ce5b0e645 cicd: Improve tests (#205) před 2 roky
Makefile 917a0469d8 Proxy integration tests (#228) před 2 roky
README.md c082a5438a cicd: wip před 2 roky
Vagrantfile c082a5438a cicd: wip před 2 roky
compose.yml 917a0469d8 Proxy integration tests (#228) před 2 roky
envVagrant.sh 4ce5b0e645 cicd: Improve tests (#205) před 2 roky
mochaSetup.mjs 4ce5b0e645 cicd: Improve tests (#205) před 2 roky
package-lock.json 07cdf378f6 build(deps): bump follow-redirects in /integration-tests (#214) před 2 roky
package.json 15c8abf3d6 build(deps): bump axios and wait-on in /integration-tests (#196) před 2 roky
runner.mjs 381bf59fbd feature: The mega dashboards & entities commit. před 2 roky

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