Re-implemented in Node.js, the dull choice for backend.
Compile flag_tool.c (currently unsupported):
$ make build
Inspect database (currently unsupported):
$ ./control.sh inspectdb
Flag message (currently unsupported):
$ ./control.sh flag [message-id]
-
Build and run the full Docker setup as described in the root repository to bring up the application.
-
Install
pytest
with the following command (first time only):$ pip install -U pytest
-
Install local testing dependencies inside
src
folder with the following command (first time only):$ pip install requests
-
Start simulator tests inside
src
with the following command:$ pytest
Note: The test can only run the test once, and then you have to restart the Docker setup to wipe the database clean.