Details
-
Technical task
-
Resolution: Unresolved
-
P2: Important
-
None
-
None
-
-
2024wk20s2FOQtforAndroid, 2024wk22s2FOQtforAndroid, 2024wk24s2FOQtforAndroid, 2024wk26s2FOQtforAndroid
Description
Figure out a verification method. Either manual or automated.
- Qt Gradle Plugin tests:
- Plugin is applied
- Extension is registered
- Build task is found
- Extension properties go to the task
- Qt Build Task tests:
- commands
- configCommand
- buildCommand
- These are better to be tested some other way. Reason: Uses variables configured during runtime, that would need to be configured in the test. aka: long test.
- Helper functions
- Others
- build directory is appended with "qt_generated/'projectName'"
- empty settings.gradle gets created
- QtBuildTask dependency gest added
- Exec
- produces success with valid input
- produces error with failing input
- JSON
- read json file
- extract value from json
- CMake & Ninja
- qt-cmake returns correct path
- ninja returns correct path
- SDK & NDK
- works with valid sdk
- produces error with invalid sdk
- ndk gets found
- Others
- commands
Attachments
Gerrit Reviews
For Gerrit Dashboard: QTTA-57 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
564369,19 | Add tests for QtGradlePlugin | dev | qt-labs/qtgradleplugin | Status: NEW | +1 | 0 |
568035,5 | Add tests to QtBuildTaskTest class | dev | qt-labs/qtgradleplugin | Status: NEW | 0 | 0 |
568054,4 | Add exec tests to QtBuildTaskTest class | dev | qt-labs/qtgradleplugin | Status: NEW | 0 | 0 |
568061,4 | Add json helper tests to QtBuildTaskTest class | dev | qt-labs/qtgradleplugin | Status: NEW | 0 | 0 |