Mercurial > hg > orthanc-tests
diff NewTests/README @ 489:2078cb20a560
new tests for StorageCompression
author | Alain Mazy <am@osimis.io> |
---|---|
date | Mon, 08 Aug 2022 10:55:47 +0200 |
parents | 6144ef431512 |
children | 10a47656e34f |
line wrap: on
line diff
--- a/NewTests/README Fri Jul 08 15:27:27 2022 +0200 +++ b/NewTests/README Mon Aug 08 10:55:47 2022 +0200 @@ -33,6 +33,7 @@ --orthanc_under_tests_http_port=8043 \ --plugin=/home/alain/o/build/orthanc/libHousekeeper.so \ --plugin=/home/alain/o/build/orthanc/libDelayedDeletion.so \ + --plugin=/home/alain/o/build/orthanc-dicomweb/libOrthancDicomWeb.so \ --plugin=/home/alain/o/build/orthanc-gdcm/libOrthancGdcm.so @@ -63,10 +64,6 @@ - execute tests - -TODO: implement and document usage with Docker !!!! - - ExtraMainDicomTags: ------------------ @@ -86,3 +83,21 @@ - execute tests +StorageCompression: +------------------ + +Run the StorageCompression tests with your locally build version and break before and after preparation +and execution to allow you to start your debugger. + +python3 NewTests/main.py --pattern=StorageCompression.test_storage_compression.TestStorageCompression.* \ + --orthanc_under_tests_exe=/home/alain/o/build/orthanc/Orthanc \ + --orthanc_under_tests_http_port=8043 \ + --break_after_preparation \ + --break_before_preparation + +The test script will: +- generate 2 configuration file in the `configurations` folder, +- start your local Orthanc version to prepare the db with one of the configuration file, +- drive this Orthanc to prepare the DB +- interrupt and instruct you how to start your own version, pointing to the configuration file to use +- execute tests