Mercurial > hg > orthanc-tests
annotate NewTests/README @ 717:f2d3d7c701ec find-refactoring
ResponseContent
author | Alain Mazy <am@orthanc.team> |
---|---|
date | Wed, 09 Oct 2024 10:23:21 +0200 |
parents | bdb9763d53ff |
children |
rev | line source |
---|---|
473
4ee85b016a40
added NewTests framework - only the Housekeeper tests right now
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
1 This is a new set of tests directly written in python3. They should be able to handle |
4ee85b016a40
added NewTests framework - only the Housekeeper tests right now
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
2 more complex scenarios like upgrades or change of configurations. |
4ee85b016a40
added NewTests framework - only the Housekeeper tests right now
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
3 |
4ee85b016a40
added NewTests framework - only the Housekeeper tests right now
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
4 Prerequisites: |
4ee85b016a40
added NewTests framework - only the Housekeeper tests right now
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
5 ============= |
4ee85b016a40
added NewTests framework - only the Housekeeper tests right now
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
6 |
4ee85b016a40
added NewTests framework - only the Housekeeper tests right now
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
7 These tests use python3 and require some modules define in requirements.txt. Therefore, you need |
4ee85b016a40
added NewTests framework - only the Housekeeper tests right now
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
8 to first execute |
4ee85b016a40
added NewTests framework - only the Housekeeper tests right now
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
9 |
4ee85b016a40
added NewTests framework - only the Housekeeper tests right now
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
10 pip3 install -r requirements.txt |
4ee85b016a40
added NewTests framework - only the Housekeeper tests right now
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
11 |
4ee85b016a40
added NewTests framework - only the Housekeeper tests right now
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
12 Introduction: |
4ee85b016a40
added NewTests framework - only the Housekeeper tests right now
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
13 ============ |
4ee85b016a40
added NewTests framework - only the Housekeeper tests right now
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
14 |
4ee85b016a40
added NewTests framework - only the Housekeeper tests right now
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
15 You may use these tests to debug Orthanc on your machine. In this case, there is |
4ee85b016a40
added NewTests framework - only the Housekeeper tests right now
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
16 usually a `preparation` phase and `execution` phase. You are usually able to |
4ee85b016a40
added NewTests framework - only the Housekeeper tests right now
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
17 interrupt the tests between these 2 phases such that you can start your debugger. |
4ee85b016a40
added NewTests framework - only the Housekeeper tests right now
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
18 Use the `--break_after_preparation` option to do so. |
4ee85b016a40
added NewTests framework - only the Housekeeper tests right now
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
19 As well, you may skip the preperation phase thanks to the `--skip_preparation` option. |
4ee85b016a40
added NewTests framework - only the Housekeeper tests right now
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
20 |
4ee85b016a40
added NewTests framework - only the Housekeeper tests right now
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
21 The orthanc that is being tested is called the `orthanc-under-tests`. |
4ee85b016a40
added NewTests framework - only the Housekeeper tests right now
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
22 |
4ee85b016a40
added NewTests framework - only the Housekeeper tests right now
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
23 Examples: |
4ee85b016a40
added NewTests framework - only the Housekeeper tests right now
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
24 ======== |
4ee85b016a40
added NewTests framework - only the Housekeeper tests right now
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
25 |
4ee85b016a40
added NewTests framework - only the Housekeeper tests right now
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
26 All-tests: |
4ee85b016a40
added NewTests framework - only the Housekeeper tests right now
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
27 --------- |
4ee85b016a40
added NewTests framework - only the Housekeeper tests right now
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
28 |
474 | 29 with a local executable: |
30 | |
473
4ee85b016a40
added NewTests framework - only the Housekeeper tests right now
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
31 python3 NewTests/main.py --pattern=* \ |
4ee85b016a40
added NewTests framework - only the Housekeeper tests right now
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
32 --orthanc_under_tests_exe=/home/alain/o/build/orthanc/Orthanc \ |
4ee85b016a40
added NewTests framework - only the Housekeeper tests right now
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
33 --orthanc_under_tests_http_port=8043 \ |
4ee85b016a40
added NewTests framework - only the Housekeeper tests right now
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
34 --plugin=/home/alain/o/build/orthanc/libHousekeeper.so \ |
483 | 35 --plugin=/home/alain/o/build/orthanc/libDelayedDeletion.so \ |
489 | 36 --plugin=/home/alain/o/build/orthanc-dicomweb/libOrthancDicomWeb.so \ |
473
4ee85b016a40
added NewTests framework - only the Housekeeper tests right now
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
37 --plugin=/home/alain/o/build/orthanc-gdcm/libOrthancGdcm.so |
4ee85b016a40
added NewTests framework - only the Housekeeper tests right now
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
38 |
4ee85b016a40
added NewTests framework - only the Housekeeper tests right now
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
39 |
474 | 40 with Docker: |
41 | |
42 python3 NewTests/main.py --pattern=* \ | |
616
a5882a40ccb6
rename osimis/orthanc to orthancteam/orthanc
Alain Mazy <am@osimis.io>
parents:
596
diff
changeset
|
43 --orthanc_under_tests_docker_image=orthancteam/orthanc:current \ |
a5882a40ccb6
rename osimis/orthanc to orthancteam/orthanc
Alain Mazy <am@osimis.io>
parents:
596
diff
changeset
|
44 --orthanc_previous_version_docker_image=orthancteam/orthanc:22.4.0 \ |
474 | 45 --orthanc_under_tests_http_port=8043 |
46 | |
473
4ee85b016a40
added NewTests framework - only the Housekeeper tests right now
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
47 Housekeeper: |
4ee85b016a40
added NewTests framework - only the Housekeeper tests right now
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
48 ----------- |
4ee85b016a40
added NewTests framework - only the Housekeeper tests right now
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
49 |
4ee85b016a40
added NewTests framework - only the Housekeeper tests right now
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
50 Run the Housekeeper tests with your locally build version and break between preparation |
4ee85b016a40
added NewTests framework - only the Housekeeper tests right now
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
51 and execution to allow you to start your debugger. |
4ee85b016a40
added NewTests framework - only the Housekeeper tests right now
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
52 |
4ee85b016a40
added NewTests framework - only the Housekeeper tests right now
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
53 python3 NewTests/main.py --pattern=Housekeeper.test_housekeeper.TestHousekeeper.test_before_after_reconstruction \ |
4ee85b016a40
added NewTests framework - only the Housekeeper tests right now
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
54 --orthanc_under_tests_exe=/home/alain/o/build/orthanc/Orthanc \ |
4ee85b016a40
added NewTests framework - only the Housekeeper tests right now
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
55 --orthanc_under_tests_http_port=8043 \ |
4ee85b016a40
added NewTests framework - only the Housekeeper tests right now
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
56 --plugin=/home/alain/o/build/orthanc/libHousekeeper.so \ |
4ee85b016a40
added NewTests framework - only the Housekeeper tests right now
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
57 --break_after_preparation |
4ee85b016a40
added NewTests framework - only the Housekeeper tests right now
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
58 |
648 | 59 python3 NewTests/main.py --pattern=Housekeeper.test_housekeeper2.TestHousekeeper2.test_before_after_reconstruction \ |
60 --orthanc_under_tests_exe=/home/alain/o/build/orthanc/Orthanc \ | |
61 --orthanc_under_tests_http_port=8043 \ | |
62 --plugin=/home/alain/o/build/orthanc/libHousekeeper.so \ | |
63 --break_after_preparation | |
64 | |
473
4ee85b016a40
added NewTests framework - only the Housekeeper tests right now
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
65 The test script will: |
4ee85b016a40
added NewTests framework - only the Housekeeper tests right now
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
66 - generate 2 configuration file in the `configurations` folder, |
4ee85b016a40
added NewTests framework - only the Housekeeper tests right now
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
67 - start your local Orthanc version to prepare the db with one of the configuration file, |
4ee85b016a40
added NewTests framework - only the Housekeeper tests right now
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
68 - drive this Orthanc to prepare the DB |
4ee85b016a40
added NewTests framework - only the Housekeeper tests right now
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
69 - interrupt and instruct you how to start your own version, pointing to the configuration file to use |
4ee85b016a40
added NewTests framework - only the Housekeeper tests right now
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
70 - execute tests |
4ee85b016a40
added NewTests framework - only the Housekeeper tests right now
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
71 |
4ee85b016a40
added NewTests framework - only the Housekeeper tests right now
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
72 |
486
6144ef431512
new tests for sequences in ExtraMainDicomTags
Alain Mazy <am@osimis.io>
parents:
483
diff
changeset
|
73 ExtraMainDicomTags: |
6144ef431512
new tests for sequences in ExtraMainDicomTags
Alain Mazy <am@osimis.io>
parents:
483
diff
changeset
|
74 ------------------ |
6144ef431512
new tests for sequences in ExtraMainDicomTags
Alain Mazy <am@osimis.io>
parents:
483
diff
changeset
|
75 |
6144ef431512
new tests for sequences in ExtraMainDicomTags
Alain Mazy <am@osimis.io>
parents:
483
diff
changeset
|
76 Runs an Orthanc in Index Only mode while storing extra main dicom tags and perform various find (including DicomWeb). |
6144ef431512
new tests for sequences in ExtraMainDicomTags
Alain Mazy <am@osimis.io>
parents:
483
diff
changeset
|
77 |
6144ef431512
new tests for sequences in ExtraMainDicomTags
Alain Mazy <am@osimis.io>
parents:
483
diff
changeset
|
78 Run the ExtraMainDicomTags tests with your locally build version. |
6144ef431512
new tests for sequences in ExtraMainDicomTags
Alain Mazy <am@osimis.io>
parents:
483
diff
changeset
|
79 |
6144ef431512
new tests for sequences in ExtraMainDicomTags
Alain Mazy <am@osimis.io>
parents:
483
diff
changeset
|
80 python3 NewTests/main.py --pattern=ExtraMainDicomTags.* \ |
6144ef431512
new tests for sequences in ExtraMainDicomTags
Alain Mazy <am@osimis.io>
parents:
483
diff
changeset
|
81 --orthanc_under_tests_exe=/home/alain/o/build/orthanc/Orthanc \ |
6144ef431512
new tests for sequences in ExtraMainDicomTags
Alain Mazy <am@osimis.io>
parents:
483
diff
changeset
|
82 --orthanc_under_tests_http_port=8043 \ |
6144ef431512
new tests for sequences in ExtraMainDicomTags
Alain Mazy <am@osimis.io>
parents:
483
diff
changeset
|
83 --plugin=/home/alain/o/build/orthanc-dicomweb/libOrthancDicomWeb.so \ |
6144ef431512
new tests for sequences in ExtraMainDicomTags
Alain Mazy <am@osimis.io>
parents:
483
diff
changeset
|
84 --break_after_preparation |
6144ef431512
new tests for sequences in ExtraMainDicomTags
Alain Mazy <am@osimis.io>
parents:
483
diff
changeset
|
85 |
6144ef431512
new tests for sequences in ExtraMainDicomTags
Alain Mazy <am@osimis.io>
parents:
483
diff
changeset
|
86 The test script will: |
6144ef431512
new tests for sequences in ExtraMainDicomTags
Alain Mazy <am@osimis.io>
parents:
483
diff
changeset
|
87 - generate 1 configuration file in the `configurations` folder, |
6144ef431512
new tests for sequences in ExtraMainDicomTags
Alain Mazy <am@osimis.io>
parents:
483
diff
changeset
|
88 - interrupt and instruct you how to start your own version, pointing to the configuration file to use |
6144ef431512
new tests for sequences in ExtraMainDicomTags
Alain Mazy <am@osimis.io>
parents:
483
diff
changeset
|
89 - execute tests |
473
4ee85b016a40
added NewTests framework - only the Housekeeper tests right now
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
90 |
506
2170c10f9d49
added new tests with ingest transcoding
Alain Mazy <am@osimis.io>
parents:
490
diff
changeset
|
91 WithIngestTranscoding: |
2170c10f9d49
added new tests with ingest transcoding
Alain Mazy <am@osimis.io>
parents:
490
diff
changeset
|
92 ------------------ |
2170c10f9d49
added new tests with ingest transcoding
Alain Mazy <am@osimis.io>
parents:
490
diff
changeset
|
93 |
2170c10f9d49
added new tests with ingest transcoding
Alain Mazy <am@osimis.io>
parents:
490
diff
changeset
|
94 Runs an Orthanc with IngestTranscoding configured. |
2170c10f9d49
added new tests with ingest transcoding
Alain Mazy <am@osimis.io>
parents:
490
diff
changeset
|
95 |
2170c10f9d49
added new tests with ingest transcoding
Alain Mazy <am@osimis.io>
parents:
490
diff
changeset
|
96 Run theses tests with your locally build version. |
2170c10f9d49
added new tests with ingest transcoding
Alain Mazy <am@osimis.io>
parents:
490
diff
changeset
|
97 |
2170c10f9d49
added new tests with ingest transcoding
Alain Mazy <am@osimis.io>
parents:
490
diff
changeset
|
98 python3 NewTests/main.py --pattern=WithIngestTranscoding.* \ |
2170c10f9d49
added new tests with ingest transcoding
Alain Mazy <am@osimis.io>
parents:
490
diff
changeset
|
99 --orthanc_under_tests_exe=/home/alain/o/build/orthanc/Orthanc \ |
2170c10f9d49
added new tests with ingest transcoding
Alain Mazy <am@osimis.io>
parents:
490
diff
changeset
|
100 --orthanc_under_tests_http_port=8043 \ |
2170c10f9d49
added new tests with ingest transcoding
Alain Mazy <am@osimis.io>
parents:
490
diff
changeset
|
101 --break_after_preparation |
2170c10f9d49
added new tests with ingest transcoding
Alain Mazy <am@osimis.io>
parents:
490
diff
changeset
|
102 |
2170c10f9d49
added new tests with ingest transcoding
Alain Mazy <am@osimis.io>
parents:
490
diff
changeset
|
103 The test script will: |
2170c10f9d49
added new tests with ingest transcoding
Alain Mazy <am@osimis.io>
parents:
490
diff
changeset
|
104 - generate 1 configuration file in the `configurations` folder, |
2170c10f9d49
added new tests with ingest transcoding
Alain Mazy <am@osimis.io>
parents:
490
diff
changeset
|
105 - interrupt and instruct you how to start your own version, pointing to the configuration file to use |
2170c10f9d49
added new tests with ingest transcoding
Alain Mazy <am@osimis.io>
parents:
490
diff
changeset
|
106 - execute tests |
2170c10f9d49
added new tests with ingest transcoding
Alain Mazy <am@osimis.io>
parents:
490
diff
changeset
|
107 |
473
4ee85b016a40
added NewTests framework - only the Housekeeper tests right now
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
108 |
489 | 109 StorageCompression: |
110 ------------------ | |
111 | |
112 Run the StorageCompression tests with your locally build version and break before and after preparation | |
113 and execution to allow you to start your debugger. | |
114 | |
115 python3 NewTests/main.py --pattern=StorageCompression.test_storage_compression.TestStorageCompression.* \ | |
116 --orthanc_under_tests_exe=/home/alain/o/build/orthanc/Orthanc \ | |
117 --orthanc_under_tests_http_port=8043 \ | |
118 --break_after_preparation \ | |
119 --break_before_preparation | |
120 | |
121 The test script will: | |
122 - generate 2 configuration file in the `configurations` folder, | |
123 - start your local Orthanc version to prepare the db with one of the configuration file, | |
124 - drive this Orthanc to prepare the DB | |
125 - interrupt and instruct you how to start your own version, pointing to the configuration file to use | |
126 - execute tests | |
490 | 127 |
128 | |
624 | 129 MaxStorage: |
130 ---------- | |
490 | 131 |
624 | 132 Run the MaxStorage tests with your locally build version and break before and after preparation |
490 | 133 and execution to allow you to start your debugger. |
134 | |
624 | 135 python3 NewTests/main.py --pattern=MaxStorage.test_max_storage_reject.TestMaxStorageReject.* \ |
490 | 136 --orthanc_under_tests_exe=/home/alain/o/build/orthanc/Orthanc \ |
137 --orthanc_under_tests_http_port=8043 \ | |
138 --plugin=/home/alain/o/build/orthanc-dicomweb/libOrthancDicomWeb.so \ | |
139 --break_after_preparation | |
140 | |
624 | 141 python3 NewTests/main.py --pattern=MaxStorage.test_max_storage_pg.TestMaxStoragePG.* \ |
142 --orthanc_under_tests_exe=/home/alain/o/build/orthanc/Orthanc \ | |
143 --orthanc_under_tests_http_port=8043 \ | |
144 --plugin=/home/alain/o/build/orthanc-dicomweb/libOrthancDicomWeb.so \ | |
145 --plugin=/home/alain/o/build/pg/libOrthancPostgreSQLIndex.so \ | |
146 --break_after_preparation | |
147 | |
148 | |
576
80ba6f1d521c
new tests for authorization plugin (native only)
Alain Mazy <am@osimis.io>
parents:
506
diff
changeset
|
149 |
80ba6f1d521c
new tests for authorization plugin (native only)
Alain Mazy <am@osimis.io>
parents:
506
diff
changeset
|
150 Authorization: |
80ba6f1d521c
new tests for authorization plugin (native only)
Alain Mazy <am@osimis.io>
parents:
506
diff
changeset
|
151 -------------- |
80ba6f1d521c
new tests for authorization plugin (native only)
Alain Mazy <am@osimis.io>
parents:
506
diff
changeset
|
152 |
80ba6f1d521c
new tests for authorization plugin (native only)
Alain Mazy <am@osimis.io>
parents:
506
diff
changeset
|
153 Run the Authorization tests with your locally build version and break before execution to allow you to start your debugger. |
80ba6f1d521c
new tests for authorization plugin (native only)
Alain Mazy <am@osimis.io>
parents:
506
diff
changeset
|
154 |
80ba6f1d521c
new tests for authorization plugin (native only)
Alain Mazy <am@osimis.io>
parents:
506
diff
changeset
|
155 python3 NewTests/main.py --pattern=Authorization.test_authorization.TestAuthorization.* \ |
80ba6f1d521c
new tests for authorization plugin (native only)
Alain Mazy <am@osimis.io>
parents:
506
diff
changeset
|
156 --orthanc_under_tests_exe=/home/alain/o/build/orthanc/Orthanc \ |
80ba6f1d521c
new tests for authorization plugin (native only)
Alain Mazy <am@osimis.io>
parents:
506
diff
changeset
|
157 --orthanc_under_tests_http_port=8043 \ |
80ba6f1d521c
new tests for authorization plugin (native only)
Alain Mazy <am@osimis.io>
parents:
506
diff
changeset
|
158 --plugin=/home/alain/o/build/orthanc-dicomweb/libOrthancDicomWeb.so \ |
80ba6f1d521c
new tests for authorization plugin (native only)
Alain Mazy <am@osimis.io>
parents:
506
diff
changeset
|
159 --plugin=/home/alain/o/build/orthanc-authorization/libOrthancAuthorization.so \ |
80ba6f1d521c
new tests for authorization plugin (native only)
Alain Mazy <am@osimis.io>
parents:
506
diff
changeset
|
160 --break_before_preparation |
577 | 161 |
162 with Docker: | |
163 | |
580 | 164 python3 NewTests/main.py --pattern=Authorization.test_authorization.TestAuthorization.* \ |
616
a5882a40ccb6
rename osimis/orthanc to orthancteam/orthanc
Alain Mazy <am@osimis.io>
parents:
596
diff
changeset
|
165 --orthanc_under_tests_docker_image=orthancteam/orthanc:current \ |
634 | 166 --orthanc_previous_version_docker_image=orthancteam/orthanc:24.3.3 \ |
577 | 167 --orthanc_under_tests_http_port=8043 |
592 | 168 |
169 | |
170 Concurrency: | |
171 ----------- | |
172 | |
173 Run the Concurrency tests with your locally build version and break before execution to allow you to start your debugger. | |
174 | |
175 python3 NewTests/main.py --pattern=Concurrency.test_concurrency.TestConcurrency.* \ | |
176 --orthanc_under_tests_exe=/home/alain/o/build/orthanc/Orthanc \ | |
177 --orthanc_under_tests_http_port=8043 \ | |
178 --plugin=/home/alain/o/build/orthanc-dicomweb/libOrthancDicomWeb.so \ | |
179 --plugin=/home/alain/o/build/pg/libOrthancPostgreSQLIndex.so \ | |
180 --break_before_preparation | |
181 | |
182 with Docker: | |
183 | |
622 | 184 python3 NewTests/main.py --pattern=Concurrency.* \ |
616
a5882a40ccb6
rename osimis/orthanc to orthancteam/orthanc
Alain Mazy <am@osimis.io>
parents:
596
diff
changeset
|
185 --orthanc_under_tests_docker_image=orthancteam/orthanc:current \ |
592 | 186 --orthanc_under_tests_http_port=8043 |
596 | 187 |
188 PG upgrades: | |
189 ----------- | |
190 | |
191 with Docker: | |
192 | |
193 python3 NewTests/main.py --pattern=PostgresUpgrades.test_pg_upgrades.TestPgUpgrades.* \ | |
616
a5882a40ccb6
rename osimis/orthanc to orthancteam/orthanc
Alain Mazy <am@osimis.io>
parents:
596
diff
changeset
|
194 --orthanc_under_tests_docker_image=orthancteam/orthanc:current |
701 | 195 |
196 | |
197 Read Only PG: | |
198 -------------- | |
199 | |
200 Run the Read Only tests with your locally build version and break before execution to allow you to start your debugger. | |
201 | |
202 python3 NewTests/main.py --pattern=ReadOnly.test_readonly_pg.TestReadOnlyPG.* \ | |
203 --orthanc_under_tests_exe=/home/alain/o/build/orthanc/Orthanc \ | |
204 --orthanc_under_tests_http_port=8043 \ | |
205 --plugin=/home/alain/o/build/orthanc-dicomweb/libOrthancDicomWeb.so \ | |
206 --plugin=/home/alain/o/build/pg/libOrthancPostgreSQLIndex.so \ | |
207 --break_after_preparation | |
208 | |
209 with Docker (TODO): | |
210 | |
211 python3 NewTests/main.py --pattern=ReadOnly.test_readonly_pg.TestReadOnlyPG.* \ | |
212 --orthanc_under_tests_docker_image=orthancteam/orthanc:current \ | |
213 --orthanc_under_tests_http_port=8043 |