James Read 4ce5b0e645 cicd: Improve tests (#205) 2 anos atrás
..
configs 2ada67be04 Migrate integration-test infrastucture from Cypress to Selenium+Mocha (#170) 3 anos atrás
test 4ce5b0e645 cicd: Improve tests (#205) 2 anos atrás
.eslintrc.yml 2ada67be04 Migrate integration-test infrastucture from Cypress to Selenium+Mocha (#170) 3 anos atrás
.gitignore 8e3112ee16 Vagrant testing support 4 anos atrás
.mocharc.yml 4ce5b0e645 cicd: Improve tests (#205) 2 anos atrás
Makefile 4ce5b0e645 cicd: Improve tests (#205) 2 anos atrás
README.md 4ce5b0e645 cicd: Improve tests (#205) 2 anos atrás
Vagrantfile 4ce5b0e645 cicd: Improve tests (#205) 2 anos atrás
envVagrant.sh 4ce5b0e645 cicd: Improve tests (#205) 2 anos atrás
mochaSetup.mjs 4ce5b0e645 cicd: Improve tests (#205) 2 anos atrás
package-lock.json 15c8abf3d6 build(deps): bump axios and wait-on in /integration-tests (#196) 2 anos atrás
package.json 15c8abf3d6 build(deps): bump axios and wait-on in /integration-tests (#196) 2 anos atrás
runner.mjs 4ce5b0e645 cicd: Improve tests (#205) 2 anos atrás

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