jamesread 7aa308a4c6 chore: broken integration test hai 2 semanas
..
lib 7aa308a4c6 chore: broken integration test hai 2 semanas
proxies 58593c6f04 doc: Improve HAProxy example hai 9 meses
scripts f4b3c4289a chore: Fix many little niggly bugs, test flakes, etc hai 2 meses
tests 9702b42712 chore: fix tests after picocrank update hai 1 mes
.eslintrc.yml 2ada67be04 Migrate integration-test infrastucture from Cypress to Selenium+Mocha (#170) %!s(int64=2) %!d(string=hai) anos
.gitignore 8e3112ee16 Vagrant testing support %!s(int64=4) %!d(string=hai) anos
.mocharc.yml 37cde0d982 fix: custom CSS and custom JS (#804 and #803) hopefully hai 2 meses
Makefile 58dc804e78 fix: coderabbit suggestions on the justification hai 1 mes
README.md c082a5438a cicd: wip %!s(int64=2) %!d(string=hai) anos
Vagrantfile 458f50a6ae chore: colocate tests hai 9 meses
compose.yml 917a0469d8 Proxy integration tests (#228) %!s(int64=2) %!d(string=hai) anos
envVagrant.sh 4ce5b0e645 cicd: Improve tests (#205) %!s(int64=2) %!d(string=hai) anos
mochaSetup.mjs 4ce5b0e645 cicd: Improve tests (#205) %!s(int64=2) %!d(string=hai) anos
package-lock.json e226ec53dd chore: Dependency update hai 1 mes
package.json e226ec53dd chore: Dependency update hai 1 mes
runner.mjs 3471e2fb12 chore: coderabbit suggestions hai 2 meses

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