olivetin/integration-tests
wushuzh d9e921950f
bugfix: fix type of the prometheus metric act req as count (#370)
* bugfix: change action request cnt type as Counter

* bugfix: fix type of act req count and typo

* bugfix: change to correct type of act req in TC

---------

Co-authored-by: wushuzh <wushuzh@outlook.com>
2024-07-26 08:41:42 +00:00
..
configs bugfix: fix type of the prometheus metric act req as count (#370) 2024-07-26 08:41:42 +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 bugfix: fix type of the prometheus metric act req as count (#370) 2024-07-26 08:41:42 +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 bugfix: use cross-platform module filepath to set usedConfigDir (#369) 2024-07-22 09:33:56 +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 build(deps-dev): bump braces from 3.0.2 to 3.0.3 in /integration-tests 2024-07-04 00:34:34 +01:00
package.json doc: fix default licenses in package.json (#304) 2024-05-01 07:38:47 +00:00
runner.mjs bugfix: fix type of the prometheus metric act req as count (#370) 2024-07-26 08:41:42 +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