olivetin/integration-tests
James Read c82beb61a9
feature: Vastly improved logs and tests for killing actions (#330)
* bugfix: Sleep testing

* feature: Vastly improved testing for killing actions (#328)

* cicd: Add find-flakey-tests target

* cicd: Better debugging for domStatus

* cicd: Debug flakey test

* cicd: Debug flakey test

* cicd: Is cors messing with killaction?

* cicd: Slip broken test in CI

* cicd: Skip broken test in CI

* cicd: Skip broken test in CI
2024-06-03 16:19:15 +00:00
..
configs feature: Vastly improved logs and tests for killing actions (#330) 2024-06-03 16:19:15 +00:00
lib feature: Vastly improved logs and tests for killing actions (#330) 2024-06-03 16:19:15 +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: Vastly improved logs and tests for killing actions (#330) 2024-06-03 16:19:15 +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 feature: Vastly improved logs and tests for killing actions (#330) 2024-06-03 16:19:15 +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: update package-lock.json 2024-05-06 23:00:05 +01:00
package.json doc: fix default licenses in package.json (#304) 2024-05-01 07:38:47 +00:00
runner.mjs feature: Vastly improved logs and tests for killing actions (#330) 2024-06-03 16:19:15 +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