online-bridge-hackathon / DDS

An api that returns DDS results for a given deal or partial deal
https://bit.ly/bridge-hackathon
Apache License 2.0
4 stars 6 forks source link

Run verbose unit test #55

Closed suokko closed 4 years ago

suokko commented 4 years ago

It is possible libdds crashes which makes it hard to guess which test caused the crash. Crash could be a rare random crash making it important to know which test case caused it. Python unittest can print test name before running it. This would make logs show which test crashed.

Verbose mode prints first line of string in the test case. Some test cases had a first line less than optimal for verbose out. I decided to improve first lines to make it easier to match messages to tests.

Signed-off-by: Pauli suokkos@gmail.com