James Read dde8a9cbb6 cicd: More test coverage that would have caught recent issues (#287) há 2 anos atrás
..
configs dde8a9cbb6 cicd: More test coverage that would have caught recent issues (#287) há 2 anos atrás
lib dde8a9cbb6 cicd: More test coverage that would have caught recent issues (#287) há 2 anos atrás
proxies 7dce77adcf cicd: These are just testing certs, but they do not need to be in git há 2 anos atrás
test dde8a9cbb6 cicd: More test coverage that would have caught recent issues (#287) há 2 anos atrás
.eslintrc.yml 2ada67be04 Migrate integration-test infrastucture from Cypress to Selenium+Mocha (#170) há 3 anos atrás
.gitignore 8e3112ee16 Vagrant testing support há 5 anos atrás
.mocharc.yml 4ce5b0e645 cicd: Improve tests (#205) há 2 anos atrás
Makefile dde8a9cbb6 cicd: More test coverage that would have caught recent issues (#287) há 2 anos atrás
README.md c082a5438a cicd: wip há 2 anos atrás
Vagrantfile ea663f8286 cicd: Vagrant, need /opt/OliveTin-configs created há 2 anos atrás
compose.yml 917a0469d8 Proxy integration tests (#228) há 2 anos atrás
envVagrant.sh 4ce5b0e645 cicd: Improve tests (#205) há 2 anos atrás
mochaSetup.mjs 4ce5b0e645 cicd: Improve tests (#205) há 2 anos atrás
package-lock.json dde8a9cbb6 cicd: More test coverage that would have caught recent issues (#287) há 2 anos atrás
package.json dde8a9cbb6 cicd: More test coverage that would have caught recent issues (#287) há 2 anos atrás
runner.mjs 381bf59fbd feature: The mega dashboards & entities commit. há 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=vm -- vagrant up fedora38 (or whatever distro you like defined in Vagrantfile) -- . envVagrant.sh fedora38 to set the $IP and $PORT
  • mocha