Mercurial > hg > orthanc-tests
comparison README @ 564:42a6d327f59c
doc
author | Alain Mazy <am@osimis.io> |
---|---|
date | Thu, 29 Jun 2023 15:32:30 +0200 |
parents | d7f7b9af09ca |
children | ee71526e11ed |
comparison
equal
deleted
inserted
replaced
563:be69d6d8260c | 564:42a6d327f59c |
---|---|
15 Website: http://www.orthanc-server.com/ | 15 Website: http://www.orthanc-server.com/ |
16 | 16 |
17 Prerequisites: | 17 Prerequisites: |
18 ============= | 18 ============= |
19 | 19 |
20 You need Python2.7 installed with the following package | 20 For python2.7 tests, you need the following package |
21 # pip2 install httplib2 Pillow | 21 # pip2 install easywebdav httplib2 pillow pydicom==1.4.1 pynetdicom==1.5.6 |
22 | |
23 For python3 tests, you need the following package | |
24 # pip3 install httplib2 pillow pydicom pynetdicom | |
22 | 25 |
23 You also need DCMTK and Dicom3Tools | 26 You also need DCMTK and Dicom3Tools |
24 # sudo apt-get install -y dicom3tools dcmtk libgdcm-tools | 27 # sudo apt-get install -y dicom3tools dcmtk libgdcm-tools |
25 | 28 |
26 Quick-start: Running tests on the localhost | 29 Quick-start: Running tests on the localhost |
124 | 127 |
125 To run a single test with by fixing the Orthanc 0.8.6 executable path: | 128 To run a single test with by fixing the Orthanc 0.8.6 executable path: |
126 # python2 ./Tests/Run.py --orthanc /home/alain/Releases/Orthanc-0.8.6/Build/Orthanc Orthanc.test_peer_store_straight | 129 # python2 ./Tests/Run.py --orthanc /home/alain/Releases/Orthanc-0.8.6/Build/Orthanc Orthanc.test_peer_store_straight |
127 | 130 |
128 To run a plugin test (no need for Orthanc 0.8.6) | 131 To run a plugin test (no need for Orthanc 0.8.6) |
129 # python2 ./Plugins/DicomWeb/Run.py | 132 # python ./Plugins/DicomWeb/Run.py |
130 # python2 ./Plugins/DicomWeb/Run.py Orthanc.test_forwarded_headers | 133 # python ./Plugins/DicomWeb/Run.py Orthanc.test_forwarded_headers |
131 | 134 |
132 Use the flag "--help" to get the full list of arguments. These | 135 Use the flag "--help" to get the full list of arguments. These |
133 arguments will notably allow you to specify the network parameters | 136 arguments will notably allow you to specify the network parameters |
134 of your remote instance of Orthanc. | 137 of your remote instance of Orthanc. |
135 | 138 |