Test suite for demos.tf api
  • Rust 81%
  • Nix 17.2%
  • Shell 1.8%
Find a file
2020-11-30 19:48:16 +01:00
.github/workflows ci 2020-11-30 19:37:44 +01:00
data more filter tests 2020-11-29 21:55:39 +01:00
src status code on failure 2020-11-30 01:51:56 +01:00
.dockerignore add dockerfile 2020-11-30 01:40:52 +01:00
.gitignore init testing 2020-11-29 18:28:08 +01:00
Cargo.lock 0.1.1 2020-11-30 19:25:04 +01:00
Cargo.toml 0.1.1 2020-11-30 19:25:04 +01:00
Dockerfile add dockerfile 2020-11-30 01:40:52 +01:00
README.md basic readme 2020-11-29 22:14:50 +01:00
start_test_server.sh init testing 2020-11-29 18:28:08 +01:00

api-test

Test suite for demos.tf api

Usage

Start the test with the following environment variables

  • DB_URL - sqlx database url for the database used by the api
  • BASE_URL - base url for the api
  • EDIT_KEY - edit key for the api

Note that the test suite is destructive, all data saved in the database will be wiped for each test run.