From 16ff1b5b265878bdb260d704c1100f4a5bbd7d69 Mon Sep 17 00:00:00 2001 From: forest Date: Tue, 27 Jul 2021 14:49:10 -0500 Subject: [PATCH] documenting the janky tests logs situation --- docs/testing.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/testing.md b/docs/testing.md index 42de70f..c29e5ee 100644 --- a/docs/testing.md +++ b/docs/testing.md @@ -6,7 +6,9 @@ To run tests: 1. create a Postgres database called `capsulflask_test` - e.g.: `docker exec -it 98e1ddfbbffb createdb -U postgres -O postgres capsulflask_test` - (`98e1ddfbbffb` is the docker container ID of the postgres container) -2. run `python3 -m unittest` +2. run `python3 -m unittest && cat unittest-log-output.log && rm unittest-log-output.log` + +**NOTE** that right now we can't figure out how to get the tests to properly output the log messages that happened when they failed, (or passed), so for now we have hacked it to write to a file. ### Architecture