annotate README @ 660:2f6686a3cd16 default tip

conditional test
author Alain Mazy <am@orthanc.team>
date Mon, 24 Jun 2024 18:32:13 +0200
parents 31a7e52b3da6
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
19
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1 Orthanc - A Lightweight, RESTful DICOM Server
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
2 =============================================
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
3
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
4
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
5 General Information
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
6 ===================
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
7
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
8 This repository contains the integration tests that are used to
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
9 validate Orthanc before each official release, in complement to the
22
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 19
diff changeset
10 unit tests that are part of the Orthanc core repository. These
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 19
diff changeset
11 integration tests should be run by the package maintainers of the
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 19
diff changeset
12 various platforms supported by Orthanc.
19
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
13
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
14 General information about Orthanc can be found on its official
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
15 Website: http://www.orthanc-server.com/
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
16
174
d468cbe1b161 added tests for IncomingWorklistRequestFilter
am@osimis.io
parents: 135
diff changeset
17 Prerequisites:
d468cbe1b161 added tests for IncomingWorklistRequestFilter
am@osimis.io
parents: 135
diff changeset
18 =============
d468cbe1b161 added tests for IncomingWorklistRequestFilter
am@osimis.io
parents: 135
diff changeset
19
564
Alain Mazy <am@osimis.io>
parents: 541
diff changeset
20 For python2.7 tests, you need the following package
Alain Mazy <am@osimis.io>
parents: 541
diff changeset
21 # pip2 install easywebdav httplib2 pillow pydicom==1.4.1 pynetdicom==1.5.6
Alain Mazy <am@osimis.io>
parents: 541
diff changeset
22
Alain Mazy <am@osimis.io>
parents: 541
diff changeset
23 For python3 tests, you need the following package
Alain Mazy <am@osimis.io>
parents: 541
diff changeset
24 # pip3 install httplib2 pillow pydicom pynetdicom
174
d468cbe1b161 added tests for IncomingWorklistRequestFilter
am@osimis.io
parents: 135
diff changeset
25
d468cbe1b161 added tests for IncomingWorklistRequestFilter
am@osimis.io
parents: 135
diff changeset
26 You also need DCMTK and Dicom3Tools
175
am@osimis.io
parents: 174
diff changeset
27 # sudo apt-get install -y dicom3tools dcmtk libgdcm-tools
19
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
28
22
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 19
diff changeset
29 Quick-start: Running tests on the localhost
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 19
diff changeset
30 ===========================================
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 19
diff changeset
31
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 19
diff changeset
32 This section explains how to run the integration tests in the simplest
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 19
diff changeset
33 framework. First, install Orthanc. Then, open 2 command shells and
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 19
diff changeset
34 run the instructions that follow:
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 19
diff changeset
35
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 19
diff changeset
36 1. In the first command shell:
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 19
diff changeset
37
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 19
diff changeset
38 # python ./GenerateConfigurationForTests.py --force
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 19
diff changeset
39 # Orthanc IntegrationTestsConfiguration.json
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 19
diff changeset
40
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 19
diff changeset
41 2. In the second command shell:
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 19
diff changeset
42
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 19
diff changeset
43 # python ./Tests/Run.py
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 19
diff changeset
44
176
48cc188ffb09 strip trailing 0 char that appears with some findscu versions
am@osimis.io
parents: 175
diff changeset
45 to run a single test:
48cc188ffb09 strip trailing 0 char that appears with some findscu versions
am@osimis.io
parents: 175
diff changeset
46
48cc188ffb09 strip trailing 0 char that appears with some findscu versions
am@osimis.io
parents: 175
diff changeset
47 # python Tests/Run.py Orthanc.test_findscu_counters
48cc188ffb09 strip trailing 0 char that appears with some findscu versions
am@osimis.io
parents: 175
diff changeset
48
174
d468cbe1b161 added tests for IncomingWorklistRequestFilter
am@osimis.io
parents: 135
diff changeset
49 To test the worklist plugin
d468cbe1b161 added tests for IncomingWorklistRequestFilter
am@osimis.io
parents: 135
diff changeset
50 ---------------------------
d468cbe1b161 added tests for IncomingWorklistRequestFilter
am@osimis.io
parents: 135
diff changeset
51
d468cbe1b161 added tests for IncomingWorklistRequestFilter
am@osimis.io
parents: 135
diff changeset
52 1. In the first command shell:
d468cbe1b161 added tests for IncomingWorklistRequestFilter
am@osimis.io
parents: 135
diff changeset
53
d468cbe1b161 added tests for IncomingWorklistRequestFilter
am@osimis.io
parents: 135
diff changeset
54 # python ./GenerateConfigurationForTests.py --force --plugins /home/.../libModalityWorklists.so
d468cbe1b161 added tests for IncomingWorklistRequestFilter
am@osimis.io
parents: 135
diff changeset
55 # Orthanc IntegrationTestsConfiguration.json
d468cbe1b161 added tests for IncomingWorklistRequestFilter
am@osimis.io
parents: 135
diff changeset
56
d468cbe1b161 added tests for IncomingWorklistRequestFilter
am@osimis.io
parents: 135
diff changeset
57 2. In the second command shell:
d468cbe1b161 added tests for IncomingWorklistRequestFilter
am@osimis.io
parents: 135
diff changeset
58
456
Alain Mazy <am@osimis.io>
parents: 445
diff changeset
59 # python ./Plugins/Worklists/Run.py
174
d468cbe1b161 added tests for IncomingWorklistRequestFilter
am@osimis.io
parents: 135
diff changeset
60
22
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 19
diff changeset
61
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 19
diff changeset
62
19
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
63 Running the tests
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
64 =================
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
65
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
66 The integration tests are written in Python and are started by the
22
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 19
diff changeset
67 "./Tests/Run.py" script. The tests will validate some "remote"
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 19
diff changeset
68 instance of Orthanc (whose AET is "ORTHANC") that is assumed to be
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 19
diff changeset
69 running before the tests are started.
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 19
diff changeset
70
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 19
diff changeset
71 To test the DICOM protocol, a second, "local" instance of Orthanc is
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 19
diff changeset
72 automatically started by the integration tests (its AET is
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 19
diff changeset
73 "ORTHANCTEST"). This situation is depicted on the following
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 19
diff changeset
74 illustration:
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 19
diff changeset
75
19
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
76
22
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 19
diff changeset
77 +--------------------------+ +-----------------------+
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 19
diff changeset
78 | Local computer | | Remote computer |
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 19
diff changeset
79 +--------------------------+ HTTP +-----------------------+
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 19
diff changeset
80 | | 5000 : 8042 | |
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 19
diff changeset
81 | Run.py <---> ORTHANCTEST <===============> ORTHANC |
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 19
diff changeset
82 | | 5001 : 4242 | |
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 19
diff changeset
83 +--------------------------+ DICOM +-----------------------+
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 19
diff changeset
84
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 19
diff changeset
85
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 19
diff changeset
86 Obviously, Orthanc must be installed both on the local and remote
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 19
diff changeset
87 computers.
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 19
diff changeset
88
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 19
diff changeset
89 NB: Of course, the "local" and "remote" computers are allowed be the
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 19
diff changeset
90 same computer.
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 19
diff changeset
91
19
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
92
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
93
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
94 1. Configure the remote Orthanc
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
95 -------------------------------
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
96
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
97 To run the integration tests, you first have to create a configuration
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
98 file for the remote instance of Orthanc. This is done by running the
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
99 "./GenerateConfigurationForTests.py" script on the *local*
22
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 19
diff changeset
100 computer. This script will try and autodetect the proper network
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 19
diff changeset
101 parameters. For instance (a help is available):
19
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
102
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
103 # ./GenerateConfigurationForTests.py --force
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
104
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
105 This will create the "./IntegrationTestsConfiguration.json"
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
106 configuration file that must be copied to the remote computer. Then,
22
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 19
diff changeset
107 start Orthanc on the remote computer using this configuration file.
19
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
108
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
109 By default, the configuration file will use "ORTHANC" as the AET, 8042
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
110 as the HTTP port, and 4242 as the DICOM port. You can of course
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
111 adapt these parameters by editing the generated configuration file,
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
112 if you have special constraints or if the autodetection fails.
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
113
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
114
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
115
22
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 19
diff changeset
116 2. Start the integration tests on the local computer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 19
diff changeset
117 ----------------------------------------------------
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 19
diff changeset
118
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 19
diff changeset
119 Once the remote instance of Orthanc is up and running, you can start
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 19
diff changeset
120 the integration tests. You have 2 possibilities: (a) use your local
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 19
diff changeset
121 computer as is, or (b) use Docker to have the best reproducibility.
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 19
diff changeset
122
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 19
diff changeset
123
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 19
diff changeset
124 (Option 2a) Without Docker:
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 19
diff changeset
125
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 19
diff changeset
126 # python ./Tests/Run.py
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 19
diff changeset
127
445
09ebdee8eda2 added test for /attachments/../info
Alain Mazy <am@osimis.io>
parents: 294
diff changeset
128 To run a single test with by fixing the Orthanc 0.8.6 executable path:
608
ba06331ac8dd new test for issue 219
Alain Mazy <am@osimis.io>
parents: 588
diff changeset
129 # python2 ./Tests/Run.py --force --orthanc /home/alain/Releases/Orthanc-0.8.6/Build/Orthanc Orthanc.test_peer_store_straight
445
09ebdee8eda2 added test for /attachments/../info
Alain Mazy <am@osimis.io>
parents: 294
diff changeset
130
456
Alain Mazy <am@osimis.io>
parents: 445
diff changeset
131 To run a plugin test (no need for Orthanc 0.8.6)
608
ba06331ac8dd new test for issue 219
Alain Mazy <am@osimis.io>
parents: 588
diff changeset
132 # python2 ./Plugins/DicomWeb/Run.py --force
ba06331ac8dd new test for issue 219
Alain Mazy <am@osimis.io>
parents: 588
diff changeset
133 # python2 ./Plugins/DicomWeb/Run.py --force Orthanc.test_forwarded_headers
445
09ebdee8eda2 added test for /attachments/../info
Alain Mazy <am@osimis.io>
parents: 294
diff changeset
134
22
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 19
diff changeset
135 Use the flag "--help" to get the full list of arguments. These
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 19
diff changeset
136 arguments will notably allow you to specify the network parameters
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 19
diff changeset
137 of your remote instance of Orthanc.
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 19
diff changeset
138
541
d7f7b9af09ca new Transcoding tests
Alain Mazy <am@osimis.io>
parents: 532
diff changeset
139 To run the IngestTranscoding tests:
d7f7b9af09ca new Transcoding tests
Alain Mazy <am@osimis.io>
parents: 532
diff changeset
140 # rm -rf /tmp/OrthancTest && python ./Tests/CheckIngestTranscoding.py /home/alain/o/build/orthanc/orthanc
d7f7b9af09ca new Transcoding tests
Alain Mazy <am@osimis.io>
parents: 532
diff changeset
141
658
31a7e52b3da6 split DICOM TLS in 2: check-client and no-check-client
Alain Mazy <am@orthanc.team>
parents: 608
diff changeset
142 To run the DICOM TLS tests without Client certificate checks:
31a7e52b3da6 split DICOM TLS in 2: check-client and no-check-client
Alain Mazy <am@orthanc.team>
parents: 608
diff changeset
143 # cd ./Tests
31a7e52b3da6 split DICOM TLS in 2: check-client and no-check-client
Alain Mazy <am@orthanc.team>
parents: 608
diff changeset
144 # python CheckDicomTls.py --config-no-check-client
31a7e52b3da6 split DICOM TLS in 2: check-client and no-check-client
Alain Mazy <am@orthanc.team>
parents: 608
diff changeset
145 # /home/alain/o/build/orthanc/Orthanc --verbose dicom-tls.json
31a7e52b3da6 split DICOM TLS in 2: check-client and no-check-client
Alain Mazy <am@orthanc.team>
parents: 608
diff changeset
146 #### or
31a7e52b3da6 split DICOM TLS in 2: check-client and no-check-client
Alain Mazy <am@orthanc.team>
parents: 608
diff changeset
147 # docker run -p 8042:8042 -p 4242:4242 -e ORTHANC__DICOM_TLS_ENABLED=true -e ORTHANC__DICOM_TLS_CERTIFICATE=/certs/dicom-tls-a.crt -e ORTHANC__DICOM_TLS_PRIVATE_KEY=/certs/dicom-tls-a.key -e ORTHANC__DICOM_TLS_REMOTE_CERTIFICATE_REQUIRED=false -e ORTHANC__DICOM_TLS_TRUSTED_CERTIFICATES=/certs/dicom-tls-trusted.crt -e ORTHANC__EXECUTE_LUA_ENABLED=true -v .:/certs/ -e ORTHANC__AUTHENTICATION_ENABLED=false -e VERBOSE_ENABLED=true orthancteam/orthanc:24.6.1
31a7e52b3da6 split DICOM TLS in 2: check-client and no-check-client
Alain Mazy <am@orthanc.team>
parents: 608
diff changeset
148 # python CheckDicomTls.py --force OrthancNoCheckClient
31a7e52b3da6 split DICOM TLS in 2: check-client and no-check-client
Alain Mazy <am@orthanc.team>
parents: 608
diff changeset
149
31a7e52b3da6 split DICOM TLS in 2: check-client and no-check-client
Alain Mazy <am@orthanc.team>
parents: 608
diff changeset
150 To run the DICOM TLS tests without Client certificate checks:
31a7e52b3da6 split DICOM TLS in 2: check-client and no-check-client
Alain Mazy <am@orthanc.team>
parents: 608
diff changeset
151 # cd ./Tests
31a7e52b3da6 split DICOM TLS in 2: check-client and no-check-client
Alain Mazy <am@orthanc.team>
parents: 608
diff changeset
152 # python CheckDicomTls.py --config-check-client
31a7e52b3da6 split DICOM TLS in 2: check-client and no-check-client
Alain Mazy <am@orthanc.team>
parents: 608
diff changeset
153 # /home/alain/o/build/orthanc/Orthanc --verbose dicom-tls.json
31a7e52b3da6 split DICOM TLS in 2: check-client and no-check-client
Alain Mazy <am@orthanc.team>
parents: 608
diff changeset
154 #### or
31a7e52b3da6 split DICOM TLS in 2: check-client and no-check-client
Alain Mazy <am@orthanc.team>
parents: 608
diff changeset
155 # docker run -p 8042:8042 -p 4242:4242 -e ORTHANC__DICOM_TLS_ENABLED=true -e ORTHANC__DICOM_TLS_CERTIFICATE=/certs/dicom-tls-a.crt -e ORTHANC__DICOM_TLS_PRIVATE_KEY=/certs/dicom-tls-a.key -e ORTHANC__DICOM_TLS_REMOTE_CERTIFICATE_REQUIRED=true -e ORTHANC__DICOM_TLS_TRUSTED_CERTIFICATES=/certs/dicom-tls-trusted.crt -e ORTHANC__EXECUTE_LUA_ENABLED=true -v .:/certs/ -e ORTHANC__AUTHENTICATION_ENABLED=false -e VERBOSE_ENABLED=true orthancteam/orthanc:24.6.1
31a7e52b3da6 split DICOM TLS in 2: check-client and no-check-client
Alain Mazy <am@orthanc.team>
parents: 608
diff changeset
156 # python CheckDicomTls.py --force OrthancCheckClient
31a7e52b3da6 split DICOM TLS in 2: check-client and no-check-client
Alain Mazy <am@orthanc.team>
parents: 608
diff changeset
157
31a7e52b3da6 split DICOM TLS in 2: check-client and no-check-client
Alain Mazy <am@orthanc.team>
parents: 608
diff changeset
158
22
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 19
diff changeset
159
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 19
diff changeset
160 (Option 2b) With Docker:
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 19
diff changeset
161
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 19
diff changeset
162 # sudo docker pull jodogne/orthanc-tests
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 19
diff changeset
163 # ./Start.sh
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 19
diff changeset
164
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 19
diff changeset
165 Note that you will have to grant root access for Docker.
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 19
diff changeset
166
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 19
diff changeset
167
294
192665e6113f instruction to run on Windows (with WSL)
Alain Mazy <alain@mazy.be>
parents: 176
diff changeset
168 (Option 2c) On Windows:
192665e6113f instruction to run on Windows (with WSL)
Alain Mazy <alain@mazy.be>
parents: 176
diff changeset
169
192665e6113f instruction to run on Windows (with WSL)
Alain Mazy <alain@mazy.be>
parents: 176
diff changeset
170 Easiest way to run the integration test under windows is actually
192665e6113f instruction to run on Windows (with WSL)
Alain Mazy <alain@mazy.be>
parents: 176
diff changeset
171 run the remote Orthanc and the python script under WSL and run the
192665e6113f instruction to run on Windows (with WSL)
Alain Mazy <alain@mazy.be>
parents: 176
diff changeset
172 orthanc under test on Windows (such that you can debug it).
192665e6113f instruction to run on Windows (with WSL)
Alain Mazy <alain@mazy.be>
parents: 176
diff changeset
173 Note that if Orthanc on Windows is not using the standard port, you
192665e6113f instruction to run on Windows (with WSL)
Alain Mazy <alain@mazy.be>
parents: 176
diff changeset
174 may specify them when starting the test as shown below
192665e6113f instruction to run on Windows (with WSL)
Alain Mazy <alain@mazy.be>
parents: 176
diff changeset
175
192665e6113f instruction to run on Windows (with WSL)
Alain Mazy <alain@mazy.be>
parents: 176
diff changeset
176 # bash
445
09ebdee8eda2 added test for /attachments/../info
Alain Mazy <am@osimis.io>
parents: 294
diff changeset
177 # python2 Tests/Run.py --force --dicom 4242 --rest 8042 --orthanc /home/alain/Releases/Orthanc-0.8.6/Build/Orthanc Orthanc.test_peer_store_straight
294
192665e6113f instruction to run on Windows (with WSL)
Alain Mazy <alain@mazy.be>
parents: 176
diff changeset
178
192665e6113f instruction to run on Windows (with WSL)
Alain Mazy <alain@mazy.be>
parents: 176
diff changeset
179 Note that you will have to install Linux prerequisites under WSL
192665e6113f instruction to run on Windows (with WSL)
Alain Mazy <alain@mazy.be>
parents: 176
diff changeset
180 and the orthanc package as well.
192665e6113f instruction to run on Windows (with WSL)
Alain Mazy <alain@mazy.be>
parents: 176
diff changeset
181
192665e6113f instruction to run on Windows (with WSL)
Alain Mazy <alain@mazy.be>
parents: 176
diff changeset
182
473
4ee85b016a40 added NewTests framework - only the Housekeeper tests right now
Alain Mazy <am@osimis.io>
parents: 456
diff changeset
183 NewTests
4ee85b016a40 added NewTests framework - only the Housekeeper tests right now
Alain Mazy <am@osimis.io>
parents: 456
diff changeset
184 ========
4ee85b016a40 added NewTests framework - only the Housekeeper tests right now
Alain Mazy <am@osimis.io>
parents: 456
diff changeset
185
4ee85b016a40 added NewTests framework - only the Housekeeper tests right now
Alain Mazy <am@osimis.io>
parents: 456
diff changeset
186 Check the README in the NewTests folder for more complex scenarios
4ee85b016a40 added NewTests framework - only the Housekeeper tests right now
Alain Mazy <am@osimis.io>
parents: 456
diff changeset
187 using python3 and a new test framework.
4ee85b016a40 added NewTests framework - only the Housekeeper tests right now
Alain Mazy <am@osimis.io>
parents: 456
diff changeset
188
22
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 19
diff changeset
189
574
ee71526e11ed contributing
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 564
diff changeset
190 Contributing
ee71526e11ed contributing
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 564
diff changeset
191 ============
ee71526e11ed contributing
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 564
diff changeset
192
ee71526e11ed contributing
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 564
diff changeset
193 Instructions for contributing to the Orthanc project are included in
ee71526e11ed contributing
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 564
diff changeset
194 the Orthanc Book:
588
8aa101e126d0 migration to UCLouvain servers
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 574
diff changeset
195 https://orthanc.uclouvain.be/book/developers/repositories.html
574
ee71526e11ed contributing
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 564
diff changeset
196
ee71526e11ed contributing
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 564
diff changeset
197
19
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
198 Licensing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
199 =========
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
200
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
201 The integration tests are licensed under the GPLv3 license. The sample
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
202 DICOM images contained in the "Database" folder are the property of
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
203 their respective owners, as listed in the "Database/README.txt" file.
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
204
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
205 We also kindly ask scientific works and clinical studies that make
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
206 use of Orthanc to cite Orthanc in their associated publications.
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
207 Similarly, we ask open-source and closed-source products that make
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
208 use of Orthanc to warn us about this use. You can cite our work
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
209 using the following BibTeX entry:
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
210
135
6943b41eb239 updated bibtex
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 22
diff changeset
211 @Article{Jodogne2018,
6943b41eb239 updated bibtex
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 22
diff changeset
212 author="Jodogne, S{\'e}bastien",
6943b41eb239 updated bibtex
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 22
diff changeset
213 title="The {O}rthanc Ecosystem for Medical Imaging",
6943b41eb239 updated bibtex
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 22
diff changeset
214 journal="Journal of Digital Imaging",
6943b41eb239 updated bibtex
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 22
diff changeset
215 year="2018",
6943b41eb239 updated bibtex
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 22
diff changeset
216 month="May",
6943b41eb239 updated bibtex
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 22
diff changeset
217 day="03",
6943b41eb239 updated bibtex
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 22
diff changeset
218 issn="1618-727X",
6943b41eb239 updated bibtex
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 22
diff changeset
219 doi="10.1007/s10278-018-0082-y",
6943b41eb239 updated bibtex
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 22
diff changeset
220 url="https://doi.org/10.1007/s10278-018-0082-y"
19
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
221 }