From 6541ca090361af2811f69d74df0d0854f3ba2922 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Mon, 8 Jun 2015 23:40:11 +0300 Subject: test: refactoring * Test vectors are now stored in the Python script rather than in a JSON file. * The tests are now really Python's unittest `TestCase`s, allowing (at least in the future) to discover and run them automatically. * Use logging from the standard library for logging. * Bugfix & refactoring. --- test/README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'test/README.md') diff --git a/test/README.md b/test/README.md index f49979a..b195db6 100644 --- a/test/README.md +++ b/test/README.md @@ -55,5 +55,6 @@ using python 800-32a.py -r C:\build\test\Debug -e -I've tried to make the script output self-explanatory. -The ultimate goal is to get `No mismatches detected!` in the final line. +You can investigate what went wrong (if it did) by logging calls to the `*_encrypt.exe` and `*_decrypt.exe` utilities by passing the `--log/-l FILENAME` option to the script. + +The tests are really Python's `unittest` `TestCase`s, so the output of the script should be self-explanatory and familiary to users with prior Python testing experience. -- cgit v1.2.3