jamesread 7a327b133d chore: dep update 4 月之前
..
configs 54447774d1 fix: #616 - JSON parsing of ints to float64 (#617) 11 月之前
lib 54447774d1 fix: #616 - JSON parsing of ints to float64 (#617) 11 月之前
proxies 7dce77adcf cicd: These are just testing certs, but they do not need to be in git 2 年之前
test 54447774d1 fix: #616 - JSON parsing of ints to float64 (#617) 11 月之前
.gitignore 5d93704bdb chore: Remove accidently committed screenshots 8 月之前
.mocharc.yml 4ce5b0e645 cicd: Improve tests (#205) 2 年之前
Makefile ffcd19e748 bugfix: use cross-platform module filepath to set usedConfigDir (#369) 1 年之前
README.md c082a5438a cicd: wip 2 年之前
Vagrantfile ea663f8286 cicd: Vagrant, need /opt/OliveTin-configs created 2 年之前
compose.yml 917a0469d8 Proxy integration tests (#228) 2 年之前
envVagrant.sh 4ce5b0e645 cicd: Improve tests (#205) 2 年之前
eslint.config.js 7a327b133d chore: dep update 4 月之前
mochaSetup.mjs 4ce5b0e645 cicd: Improve tests (#205) 2 年之前
package-lock.json 7a327b133d chore: dep update 4 月之前
package.json 7a327b133d chore: dep update 4 月之前
runner.mjs ff31abe66c refactor: Project directories (#541) 1 年之前

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