annotate NewTests/README @ 633:7bb22f87fc5b

fix auth test wrt plugin version
author Alain Mazy <am@osimis.io>
date Tue, 19 Mar 2024 08:51:56 +0100
parents 543e372d2265
children f6ee256f2404
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
6917a26881ed NewTests working with Docker
Alain Mazy <am@osimis.io>
parents: 473
diff changeset
29 with a local executable:
6917a26881ed NewTests working with Docker
Alain Mazy <am@osimis.io>
parents: 473
diff changeset
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
45c3fe035fed added tests for delayed_deletion
Alain Mazy <am@osimis.io>
parents: 474
diff changeset
35 --plugin=/home/alain/o/build/orthanc/libDelayedDeletion.so \
489
2078cb20a560 new tests for StorageCompression
Alain Mazy <am@osimis.io>
parents: 486
diff changeset
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
6917a26881ed NewTests working with Docker
Alain Mazy <am@osimis.io>
parents: 473
diff changeset
40 with Docker:
6917a26881ed NewTests working with Docker
Alain Mazy <am@osimis.io>
parents: 473
diff changeset
41
6917a26881ed NewTests working with Docker
Alain Mazy <am@osimis.io>
parents: 473
diff changeset
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
6917a26881ed NewTests working with Docker
Alain Mazy <am@osimis.io>
parents: 473
diff changeset
45 --orthanc_under_tests_http_port=8043
6917a26881ed NewTests working with Docker
Alain Mazy <am@osimis.io>
parents: 473
diff changeset
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
4ee85b016a40 added NewTests framework - only the Housekeeper tests right now
Alain Mazy <am@osimis.io>
parents:
diff changeset
59 The test script will:
4ee85b016a40 added NewTests framework - only the Housekeeper tests right now
Alain Mazy <am@osimis.io>
parents:
diff changeset
60 - 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
61 - 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
62 - 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
63 - 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
64 - execute tests
4ee85b016a40 added NewTests framework - only the Housekeeper tests right now
Alain Mazy <am@osimis.io>
parents:
diff changeset
65
4ee85b016a40 added NewTests framework - only the Housekeeper tests right now
Alain Mazy <am@osimis.io>
parents:
diff changeset
66
486
6144ef431512 new tests for sequences in ExtraMainDicomTags
Alain Mazy <am@osimis.io>
parents: 483
diff changeset
67 ExtraMainDicomTags:
6144ef431512 new tests for sequences in ExtraMainDicomTags
Alain Mazy <am@osimis.io>
parents: 483
diff changeset
68 ------------------
6144ef431512 new tests for sequences in ExtraMainDicomTags
Alain Mazy <am@osimis.io>
parents: 483
diff changeset
69
6144ef431512 new tests for sequences in ExtraMainDicomTags
Alain Mazy <am@osimis.io>
parents: 483
diff changeset
70 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
71
6144ef431512 new tests for sequences in ExtraMainDicomTags
Alain Mazy <am@osimis.io>
parents: 483
diff changeset
72 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
73
6144ef431512 new tests for sequences in ExtraMainDicomTags
Alain Mazy <am@osimis.io>
parents: 483
diff changeset
74 python3 NewTests/main.py --pattern=ExtraMainDicomTags.* \
6144ef431512 new tests for sequences in ExtraMainDicomTags
Alain Mazy <am@osimis.io>
parents: 483
diff changeset
75 --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
76 --orthanc_under_tests_http_port=8043 \
6144ef431512 new tests for sequences in ExtraMainDicomTags
Alain Mazy <am@osimis.io>
parents: 483
diff changeset
77 --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
78 --break_after_preparation
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 The test script will:
6144ef431512 new tests for sequences in ExtraMainDicomTags
Alain Mazy <am@osimis.io>
parents: 483
diff changeset
81 - generate 1 configuration file in the `configurations` folder,
6144ef431512 new tests for sequences in ExtraMainDicomTags
Alain Mazy <am@osimis.io>
parents: 483
diff changeset
82 - 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
83 - execute tests
473
4ee85b016a40 added NewTests framework - only the Housekeeper tests right now
Alain Mazy <am@osimis.io>
parents:
diff changeset
84
506
2170c10f9d49 added new tests with ingest transcoding
Alain Mazy <am@osimis.io>
parents: 490
diff changeset
85 WithIngestTranscoding:
2170c10f9d49 added new tests with ingest transcoding
Alain Mazy <am@osimis.io>
parents: 490
diff changeset
86 ------------------
2170c10f9d49 added new tests with ingest transcoding
Alain Mazy <am@osimis.io>
parents: 490
diff changeset
87
2170c10f9d49 added new tests with ingest transcoding
Alain Mazy <am@osimis.io>
parents: 490
diff changeset
88 Runs an Orthanc with IngestTranscoding configured.
2170c10f9d49 added new tests with ingest transcoding
Alain Mazy <am@osimis.io>
parents: 490
diff changeset
89
2170c10f9d49 added new tests with ingest transcoding
Alain Mazy <am@osimis.io>
parents: 490
diff changeset
90 Run theses tests with your locally build version.
2170c10f9d49 added new tests with ingest transcoding
Alain Mazy <am@osimis.io>
parents: 490
diff changeset
91
2170c10f9d49 added new tests with ingest transcoding
Alain Mazy <am@osimis.io>
parents: 490
diff changeset
92 python3 NewTests/main.py --pattern=WithIngestTranscoding.* \
2170c10f9d49 added new tests with ingest transcoding
Alain Mazy <am@osimis.io>
parents: 490
diff changeset
93 --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
94 --orthanc_under_tests_http_port=8043 \
2170c10f9d49 added new tests with ingest transcoding
Alain Mazy <am@osimis.io>
parents: 490
diff changeset
95 --break_after_preparation
2170c10f9d49 added new tests with ingest transcoding
Alain Mazy <am@osimis.io>
parents: 490
diff changeset
96
2170c10f9d49 added new tests with ingest transcoding
Alain Mazy <am@osimis.io>
parents: 490
diff changeset
97 The test script will:
2170c10f9d49 added new tests with ingest transcoding
Alain Mazy <am@osimis.io>
parents: 490
diff changeset
98 - generate 1 configuration file in the `configurations` folder,
2170c10f9d49 added new tests with ingest transcoding
Alain Mazy <am@osimis.io>
parents: 490
diff changeset
99 - 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
100 - execute tests
2170c10f9d49 added new tests with ingest transcoding
Alain Mazy <am@osimis.io>
parents: 490
diff changeset
101
473
4ee85b016a40 added NewTests framework - only the Housekeeper tests right now
Alain Mazy <am@osimis.io>
parents:
diff changeset
102
489
2078cb20a560 new tests for StorageCompression
Alain Mazy <am@osimis.io>
parents: 486
diff changeset
103 StorageCompression:
2078cb20a560 new tests for StorageCompression
Alain Mazy <am@osimis.io>
parents: 486
diff changeset
104 ------------------
2078cb20a560 new tests for StorageCompression
Alain Mazy <am@osimis.io>
parents: 486
diff changeset
105
2078cb20a560 new tests for StorageCompression
Alain Mazy <am@osimis.io>
parents: 486
diff changeset
106 Run the StorageCompression tests with your locally build version and break before and after preparation
2078cb20a560 new tests for StorageCompression
Alain Mazy <am@osimis.io>
parents: 486
diff changeset
107 and execution to allow you to start your debugger.
2078cb20a560 new tests for StorageCompression
Alain Mazy <am@osimis.io>
parents: 486
diff changeset
108
2078cb20a560 new tests for StorageCompression
Alain Mazy <am@osimis.io>
parents: 486
diff changeset
109 python3 NewTests/main.py --pattern=StorageCompression.test_storage_compression.TestStorageCompression.* \
2078cb20a560 new tests for StorageCompression
Alain Mazy <am@osimis.io>
parents: 486
diff changeset
110 --orthanc_under_tests_exe=/home/alain/o/build/orthanc/Orthanc \
2078cb20a560 new tests for StorageCompression
Alain Mazy <am@osimis.io>
parents: 486
diff changeset
111 --orthanc_under_tests_http_port=8043 \
2078cb20a560 new tests for StorageCompression
Alain Mazy <am@osimis.io>
parents: 486
diff changeset
112 --break_after_preparation \
2078cb20a560 new tests for StorageCompression
Alain Mazy <am@osimis.io>
parents: 486
diff changeset
113 --break_before_preparation
2078cb20a560 new tests for StorageCompression
Alain Mazy <am@osimis.io>
parents: 486
diff changeset
114
2078cb20a560 new tests for StorageCompression
Alain Mazy <am@osimis.io>
parents: 486
diff changeset
115 The test script will:
2078cb20a560 new tests for StorageCompression
Alain Mazy <am@osimis.io>
parents: 486
diff changeset
116 - generate 2 configuration file in the `configurations` folder,
2078cb20a560 new tests for StorageCompression
Alain Mazy <am@osimis.io>
parents: 486
diff changeset
117 - start your local Orthanc version to prepare the db with one of the configuration file,
2078cb20a560 new tests for StorageCompression
Alain Mazy <am@osimis.io>
parents: 486
diff changeset
118 - drive this Orthanc to prepare the DB
2078cb20a560 new tests for StorageCompression
Alain Mazy <am@osimis.io>
parents: 486
diff changeset
119 - interrupt and instruct you how to start your own version, pointing to the configuration file to use
2078cb20a560 new tests for StorageCompression
Alain Mazy <am@osimis.io>
parents: 486
diff changeset
120 - execute tests
490
10a47656e34f new tests for MaximumStorageMode
Alain Mazy <am@osimis.io>
parents: 489
diff changeset
121
10a47656e34f new tests for MaximumStorageMode
Alain Mazy <am@osimis.io>
parents: 489
diff changeset
122
624
543e372d2265 added a PG max storage test
Alain Mazy <am@osimis.io>
parents: 622
diff changeset
123 MaxStorage:
543e372d2265 added a PG max storage test
Alain Mazy <am@osimis.io>
parents: 622
diff changeset
124 ----------
490
10a47656e34f new tests for MaximumStorageMode
Alain Mazy <am@osimis.io>
parents: 489
diff changeset
125
624
543e372d2265 added a PG max storage test
Alain Mazy <am@osimis.io>
parents: 622
diff changeset
126 Run the MaxStorage tests with your locally build version and break before and after preparation
490
10a47656e34f new tests for MaximumStorageMode
Alain Mazy <am@osimis.io>
parents: 489
diff changeset
127 and execution to allow you to start your debugger.
10a47656e34f new tests for MaximumStorageMode
Alain Mazy <am@osimis.io>
parents: 489
diff changeset
128
624
543e372d2265 added a PG max storage test
Alain Mazy <am@osimis.io>
parents: 622
diff changeset
129 python3 NewTests/main.py --pattern=MaxStorage.test_max_storage_reject.TestMaxStorageReject.* \
490
10a47656e34f new tests for MaximumStorageMode
Alain Mazy <am@osimis.io>
parents: 489
diff changeset
130 --orthanc_under_tests_exe=/home/alain/o/build/orthanc/Orthanc \
10a47656e34f new tests for MaximumStorageMode
Alain Mazy <am@osimis.io>
parents: 489
diff changeset
131 --orthanc_under_tests_http_port=8043 \
10a47656e34f new tests for MaximumStorageMode
Alain Mazy <am@osimis.io>
parents: 489
diff changeset
132 --plugin=/home/alain/o/build/orthanc-dicomweb/libOrthancDicomWeb.so \
10a47656e34f new tests for MaximumStorageMode
Alain Mazy <am@osimis.io>
parents: 489
diff changeset
133 --break_after_preparation
10a47656e34f new tests for MaximumStorageMode
Alain Mazy <am@osimis.io>
parents: 489
diff changeset
134
624
543e372d2265 added a PG max storage test
Alain Mazy <am@osimis.io>
parents: 622
diff changeset
135 python3 NewTests/main.py --pattern=MaxStorage.test_max_storage_pg.TestMaxStoragePG.* \
543e372d2265 added a PG max storage test
Alain Mazy <am@osimis.io>
parents: 622
diff changeset
136 --orthanc_under_tests_exe=/home/alain/o/build/orthanc/Orthanc \
543e372d2265 added a PG max storage test
Alain Mazy <am@osimis.io>
parents: 622
diff changeset
137 --orthanc_under_tests_http_port=8043 \
543e372d2265 added a PG max storage test
Alain Mazy <am@osimis.io>
parents: 622
diff changeset
138 --plugin=/home/alain/o/build/orthanc-dicomweb/libOrthancDicomWeb.so \
543e372d2265 added a PG max storage test
Alain Mazy <am@osimis.io>
parents: 622
diff changeset
139 --plugin=/home/alain/o/build/pg/libOrthancPostgreSQLIndex.so \
543e372d2265 added a PG max storage test
Alain Mazy <am@osimis.io>
parents: 622
diff changeset
140 --break_after_preparation
543e372d2265 added a PG max storage test
Alain Mazy <am@osimis.io>
parents: 622
diff changeset
141
543e372d2265 added a PG max storage test
Alain Mazy <am@osimis.io>
parents: 622
diff changeset
142
576
80ba6f1d521c new tests for authorization plugin (native only)
Alain Mazy <am@osimis.io>
parents: 506
diff changeset
143
80ba6f1d521c new tests for authorization plugin (native only)
Alain Mazy <am@osimis.io>
parents: 506
diff changeset
144 Authorization:
80ba6f1d521c new tests for authorization plugin (native only)
Alain Mazy <am@osimis.io>
parents: 506
diff changeset
145 --------------
80ba6f1d521c new tests for authorization plugin (native only)
Alain Mazy <am@osimis.io>
parents: 506
diff changeset
146
80ba6f1d521c new tests for authorization plugin (native only)
Alain Mazy <am@osimis.io>
parents: 506
diff changeset
147 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
148
80ba6f1d521c new tests for authorization plugin (native only)
Alain Mazy <am@osimis.io>
parents: 506
diff changeset
149 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
150 --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
151 --orthanc_under_tests_http_port=8043 \
80ba6f1d521c new tests for authorization plugin (native only)
Alain Mazy <am@osimis.io>
parents: 506
diff changeset
152 --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
153 --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
154 --break_before_preparation
577
0649a19df194 new tests for auth-service
Alain Mazy <am@osimis.io>
parents: 576
diff changeset
155
0649a19df194 new tests for auth-service
Alain Mazy <am@osimis.io>
parents: 576
diff changeset
156 with Docker:
0649a19df194 new tests for auth-service
Alain Mazy <am@osimis.io>
parents: 576
diff changeset
157
580
f4579c9ec73b fix timing
Alain Mazy <am@osimis.io>
parents: 577
diff changeset
158 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
159 --orthanc_under_tests_docker_image=orthancteam/orthanc:current \
a5882a40ccb6 rename osimis/orthanc to orthancteam/orthanc
Alain Mazy <am@osimis.io>
parents: 596
diff changeset
160 --orthanc_previous_version_docker_image=orthancteam/orthanc:22.4.0 \
577
0649a19df194 new tests for auth-service
Alain Mazy <am@osimis.io>
parents: 576
diff changeset
161 --orthanc_under_tests_http_port=8043
592
6753d96dd71f new concurrency tests
Alain Mazy <am@osimis.io>
parents: 580
diff changeset
162
6753d96dd71f new concurrency tests
Alain Mazy <am@osimis.io>
parents: 580
diff changeset
163
6753d96dd71f new concurrency tests
Alain Mazy <am@osimis.io>
parents: 580
diff changeset
164 Concurrency:
6753d96dd71f new concurrency tests
Alain Mazy <am@osimis.io>
parents: 580
diff changeset
165 -----------
6753d96dd71f new concurrency tests
Alain Mazy <am@osimis.io>
parents: 580
diff changeset
166
6753d96dd71f new concurrency tests
Alain Mazy <am@osimis.io>
parents: 580
diff changeset
167 Run the Concurrency tests with your locally build version and break before execution to allow you to start your debugger.
6753d96dd71f new concurrency tests
Alain Mazy <am@osimis.io>
parents: 580
diff changeset
168
6753d96dd71f new concurrency tests
Alain Mazy <am@osimis.io>
parents: 580
diff changeset
169 python3 NewTests/main.py --pattern=Concurrency.test_concurrency.TestConcurrency.* \
6753d96dd71f new concurrency tests
Alain Mazy <am@osimis.io>
parents: 580
diff changeset
170 --orthanc_under_tests_exe=/home/alain/o/build/orthanc/Orthanc \
6753d96dd71f new concurrency tests
Alain Mazy <am@osimis.io>
parents: 580
diff changeset
171 --orthanc_under_tests_http_port=8043 \
6753d96dd71f new concurrency tests
Alain Mazy <am@osimis.io>
parents: 580
diff changeset
172 --plugin=/home/alain/o/build/orthanc-dicomweb/libOrthancDicomWeb.so \
6753d96dd71f new concurrency tests
Alain Mazy <am@osimis.io>
parents: 580
diff changeset
173 --plugin=/home/alain/o/build/pg/libOrthancPostgreSQLIndex.so \
6753d96dd71f new concurrency tests
Alain Mazy <am@osimis.io>
parents: 580
diff changeset
174 --break_before_preparation
6753d96dd71f new concurrency tests
Alain Mazy <am@osimis.io>
parents: 580
diff changeset
175
6753d96dd71f new concurrency tests
Alain Mazy <am@osimis.io>
parents: 580
diff changeset
176 with Docker:
6753d96dd71f new concurrency tests
Alain Mazy <am@osimis.io>
parents: 580
diff changeset
177
622
75dbc81d0e26 fix concurrency transfer tests
Alain Mazy <am@osimis.io>
parents: 616
diff changeset
178 python3 NewTests/main.py --pattern=Concurrency.* \
616
a5882a40ccb6 rename osimis/orthanc to orthancteam/orthanc
Alain Mazy <am@osimis.io>
parents: 596
diff changeset
179 --orthanc_under_tests_docker_image=orthancteam/orthanc:current \
592
6753d96dd71f new concurrency tests
Alain Mazy <am@osimis.io>
parents: 580
diff changeset
180 --orthanc_under_tests_http_port=8043
596
b1e1c7149a37 new PG upgrades tests
Alain Mazy <am@osimis.io>
parents: 592
diff changeset
181
b1e1c7149a37 new PG upgrades tests
Alain Mazy <am@osimis.io>
parents: 592
diff changeset
182 PG upgrades:
b1e1c7149a37 new PG upgrades tests
Alain Mazy <am@osimis.io>
parents: 592
diff changeset
183 -----------
b1e1c7149a37 new PG upgrades tests
Alain Mazy <am@osimis.io>
parents: 592
diff changeset
184
b1e1c7149a37 new PG upgrades tests
Alain Mazy <am@osimis.io>
parents: 592
diff changeset
185 with Docker:
b1e1c7149a37 new PG upgrades tests
Alain Mazy <am@osimis.io>
parents: 592
diff changeset
186
b1e1c7149a37 new PG upgrades tests
Alain Mazy <am@osimis.io>
parents: 592
diff changeset
187 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
188 --orthanc_under_tests_docker_image=orthancteam/orthanc:current