2022-03-21 11:04:11 +00:00
|
|
|
# Readme
|
|
|
|
|
|
|
|
## Developer instructions
|
|
|
|
|
|
|
|
CMake
|
|
|
|
|
|
|
|
```sh
|
2022-04-19 17:45:26 +00:00
|
|
|
cd ./tests/
|
2022-03-21 11:04:11 +00:00
|
|
|
cmake -B ./build/ -S .
|
|
|
|
cmake --build ./build/
|
2022-04-19 17:45:26 +00:00
|
|
|
ctest --test-dir ./build/
|
2022-03-21 11:04:11 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
QtCreator
|
|
|
|
|
2022-04-19 17:45:26 +00:00
|
|
|
- Open the `./tests/CMakeLists.txt`
|
2022-03-21 11:04:11 +00:00
|
|
|
- Choose a QT kit to run the tests
|
2022-04-19 17:45:26 +00:00
|
|
|
- Set `%{sourceDir}/tests` as Working Directory for the TestStatusQ target
|
|
|
|
- In the *Test Results* panel choose Run All Tests or just run the *TestStatusQ* target
|
2022-03-21 11:04:11 +00:00
|
|
|
|
|
|
|
## TODO
|
|
|
|
|
2022-04-19 17:45:26 +00:00
|
|
|
- [ ] TestHelpers library
|
|
|
|
- [ ] Consolidate and integrate with https://github.com/status-im/desktop-ui-tests
|
|
|
|
- [ ] Separate projects per scope: TestControls, TestComponents
|