4
0
James Read 6892a679ee feature: Dashboards, at long last (#224) 2 жил өмнө
..
configs 2ada67be04 Migrate integration-test infrastucture from Cypress to Selenium+Mocha (#170) 2 жил өмнө
test 6892a679ee feature: Dashboards, at long last (#224) 2 жил өмнө
.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 4ce5b0e645 cicd: Improve tests (#205) 2 жил өмнө
README.md 4ce5b0e645 cicd: Improve tests (#205) 2 жил өмнө
Vagrantfile 4ce5b0e645 cicd: Improve tests (#205) 2 жил өмнө
envVagrant.sh 4ce5b0e645 cicd: Improve tests (#205) 2 жил өмнө
mochaSetup.mjs 4ce5b0e645 cicd: Improve tests (#205) 2 жил өмнө
package-lock.json 07cdf378f6 build(deps): bump follow-redirects in /integration-tests (#214) 2 жил өмнө
package.json 15c8abf3d6 build(deps): bump axios and wait-on in /integration-tests (#196) 2 жил өмнө
runner.mjs 4ce5b0e645 cicd: Improve tests (#205) 2 жил өмнө

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=container -- vagrant up f38 (or whatever distro you like defined in Vagrantfile) -- . envVagrant.sh f38 to set the $IP and $PORT
  • mocha