... | ... | @@ -9,11 +9,24 @@ Only basic core functionality is tested such as: |
|
|
|
|
|
Functionality of the GUI is out of the scope of the unit tests.
|
|
|
|
|
|
### Building the Tests
|
|
|
### Prerequisites
|
|
|
|
|
|
* Qt5 -- Qt5 must contain sqlite support.
|
|
|
* qmake (Should be part of some Qt5 development package.)
|
|
|
* libisds (+ development package)
|
|
|
* OpenSSL (+ development package)
|
|
|
|
|
|
### Building and Running the Tests
|
|
|
|
|
|
```shell
|
|
|
cd tests
|
|
|
qmake tests.pro
|
|
|
make -j 4
|
|
|
./tests
|
|
|
``` |
|
|
\ No newline at end of file |
|
|
```
|
|
|
|
|
|
#### ISDS Credentials
|
|
|
|
|
|
Some of the unit tests may be skipped because a credentials file is required. The file is needed in order to be able to test the interaction with the ISDS. The file `login_credentials.txt` is expected to be located in the `tests` directory. Actual name of the file and its format can be derived from the source file `tests/helper_qt.cpp`.
|
|
|
|
|
|
Each line of the file contains a username and a password together with other information which are not needed at this time. The values are separated using colon characters. The environment expects that the stored login credentials are used to access the ISDS testing environment (production accounts are not supported). |
|
|
\ No newline at end of file |