James Read 6bc3a7bf1f Merge branch 'next' into dependabot/npm_and_yarn/integration-tests/glob-10.5.0 il y a 11 mois
..
lib b330fbd1a5 fix: all broken integration tests il y a 1 an
proxies 58593c6f04 doc: Improve HAProxy example il y a 1 an
tests dca8e04518 fix: #765 Page title was not being set il y a 11 mois
.eslintrc.yml 2ada67be04 Migrate integration-test infrastucture from Cypress to Selenium+Mocha (#170) il y a 3 ans
.gitignore 8e3112ee16 Vagrant testing support il y a 5 ans
.mocharc.yml 458f50a6ae chore: colocate tests il y a 1 an
Makefile 458f50a6ae chore: colocate tests il y a 1 an
README.md c082a5438a cicd: wip il y a 2 ans
Vagrantfile 458f50a6ae chore: colocate tests il y a 1 an
compose.yml 917a0469d8 Proxy integration tests (#228) il y a 2 ans
envVagrant.sh 4ce5b0e645 cicd: Improve tests (#205) il y a 2 ans
mochaSetup.mjs 4ce5b0e645 cicd: Improve tests (#205) il y a 2 ans
package-lock.json 4686b044e7 chore(deps-dev): bump glob from 10.4.5 to 10.5.0 in /integration-tests il y a 11 mois
package.json 5bf2d6935b chore: dep update il y a 1 an
runner.mjs 458f50a6ae chore: colocate tests il y a 1 an

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