comparison 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
comparison
equal deleted inserted replaced
488:e904b2282b0e 489:2078cb20a560
31 python3 NewTests/main.py --pattern=* \ 31 python3 NewTests/main.py --pattern=* \
32 --orthanc_under_tests_exe=/home/alain/o/build/orthanc/Orthanc \ 32 --orthanc_under_tests_exe=/home/alain/o/build/orthanc/Orthanc \
33 --orthanc_under_tests_http_port=8043 \ 33 --orthanc_under_tests_http_port=8043 \
34 --plugin=/home/alain/o/build/orthanc/libHousekeeper.so \ 34 --plugin=/home/alain/o/build/orthanc/libHousekeeper.so \
35 --plugin=/home/alain/o/build/orthanc/libDelayedDeletion.so \ 35 --plugin=/home/alain/o/build/orthanc/libDelayedDeletion.so \
36 --plugin=/home/alain/o/build/orthanc-dicomweb/libOrthancDicomWeb.so \
36 --plugin=/home/alain/o/build/orthanc-gdcm/libOrthancGdcm.so 37 --plugin=/home/alain/o/build/orthanc-gdcm/libOrthancGdcm.so
37 38
38 39
39 with Docker: 40 with Docker:
40 41
61 - drive this Orthanc to prepare the DB 62 - drive this Orthanc to prepare the DB
62 - interrupt and instruct you how to start your own version, pointing to the configuration file to use 63 - interrupt and instruct you how to start your own version, pointing to the configuration file to use
63 - execute tests 64 - execute tests
64 65
65 66
66
67 TODO: implement and document usage with Docker !!!!
68
69
70 ExtraMainDicomTags: 67 ExtraMainDicomTags:
71 ------------------ 68 ------------------
72 69
73 Runs an Orthanc in Index Only mode while storing extra main dicom tags and perform various find (including DicomWeb). 70 Runs an Orthanc in Index Only mode while storing extra main dicom tags and perform various find (including DicomWeb).
74 71
84 - generate 1 configuration file in the `configurations` folder, 81 - generate 1 configuration file in the `configurations` folder,
85 - interrupt and instruct you how to start your own version, pointing to the configuration file to use 82 - interrupt and instruct you how to start your own version, pointing to the configuration file to use
86 - execute tests 83 - execute tests
87 84
88 85
86 StorageCompression:
87 ------------------
88
89 Run the StorageCompression tests with your locally build version and break before and after preparation
90 and execution to allow you to start your debugger.
91
92 python3 NewTests/main.py --pattern=StorageCompression.test_storage_compression.TestStorageCompression.* \
93 --orthanc_under_tests_exe=/home/alain/o/build/orthanc/Orthanc \
94 --orthanc_under_tests_http_port=8043 \
95 --break_after_preparation \
96 --break_before_preparation
97
98 The test script will:
99 - generate 2 configuration file in the `configurations` folder,
100 - start your local Orthanc version to prepare the db with one of the configuration file,
101 - drive this Orthanc to prepare the DB
102 - interrupt and instruct you how to start your own version, pointing to the configuration file to use
103 - execute tests