olivetin/integration-tests
James Read dde8a9cbb6
cicd: More test coverage that would have caught recent issues (#287)
* cicd: More test coverage that would have caught recent issues

* bugfix: test flake

* bugfix: test flake

* cicd: Reduce test flake

* cicd: more test coverage

* depbump: testing packages
2024-04-22 21:40:48 +00:00
..
configs cicd: More test coverage that would have caught recent issues (#287) 2024-04-22 21:40:48 +00:00
lib cicd: More test coverage that would have caught recent issues (#287) 2024-04-22 21:40:48 +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 cicd: More test coverage that would have caught recent issues (#287) 2024-04-22 21:40:48 +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 cicd: More test coverage that would have caught recent issues (#287) 2024-04-22 21:40:48 +00:00
README.md cicd: wip 2024-02-09 23:47:27 +00:00
Vagrantfile cicd: Vagrant, need /opt/OliveTin-configs created 2024-02-25 23:04:31 +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
mochaSetup.mjs cicd: Improve tests (#205) 2023-12-28 22:04:47 +00:00
package-lock.json cicd: More test coverage that would have caught recent issues (#287) 2024-04-22 21:40:48 +00:00
package.json cicd: More test coverage that would have caught recent issues (#287) 2024-04-22 21:40:48 +00:00
runner.mjs feature: The mega dashboards & entities commit. 2024-02-22 23:16:43 +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=vm -- vagrant up fedora38 (or whatever distro you like defined in Vagrantfile) -- . envVagrant.sh fedora38 to set the $IP and $PORT
  • mocha