olivetin/integration-tests
jamesread 5adab1091f cicd: Utility to get the latest snapshot 2024-02-09 23:01:24 +00:00
..
configs Migrate integration-test infrastucture from Cypress to Selenium+Mocha (#170) 2023-10-09 21:44:29 +00:00
proxies cicd: These are just testing certs, but they do not need to be in git 2024-02-09 16:17:42 +00:00
test feature: Dashboards, at long last (#224) 2024-02-07 08:54:22 +00:00
.eslintrc.yml Migrate integration-test infrastucture from Cypress to Selenium+Mocha (#170) 2023-10-09 21:44:29 +00:00
.gitignore Vagrant testing support 2021-11-17 13:29:10 +00:00
.mocharc.yml cicd: Improve tests (#205) 2023-12-28 22:04:47 +00:00
Makefile Proxy integration tests (#228) 2024-02-09 16:12:25 +00:00
README.md cicd: Improve tests (#205) 2023-12-28 22:04:47 +00:00
Vagrantfile cicd: Improve tests (#205) 2023-12-28 22:04:47 +00:00
compose.yml Proxy integration tests (#228) 2024-02-09 16:12:25 +00:00
envVagrant.sh cicd: Improve tests (#205) 2023-12-28 22:04:47 +00:00
get-latest-snapshot.sh cicd: Utility to get the latest snapshot 2024-02-09 23:01:24 +00:00
mochaSetup.mjs cicd: Improve tests (#205) 2023-12-28 22:04:47 +00:00
package-lock.json build(deps): bump follow-redirects in /integration-tests (#214) 2024-01-11 08:35:50 +00:00
package.json build(deps): bump axios and wait-on in /integration-tests (#196) 2023-12-01 11:53:11 +00:00
runner.mjs cicd: Improve tests (#205) 2023-12-28 22:04:47 +00:00

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