Details
-
Suggestion
-
Resolution: Won't Do
-
Not Evaluated
-
None
-
Qt Creator 5.0.3
-
None
-
I used Qt Creator 5.0.3 on Ubuntu 20.04 LTS on WSL2.
Description
I recently found the Test pane in Qt Creator. I tried running my tests in there, but a handful of them failed because they require an additional command line argument for the test data path. I would expect add_test or a similar command in CMake to automatically handle that, but it does not seem to be the case. I enable the Process arguments option under Testing in Tools>Options, but that only forwards the Command Line Arguments defined in the Run configuration. It would be nice if Qt Creator would automatically set my Command Line Arguments in the Run configuration, so that my tests would run without issue from the Test pane.
Attachments
Issue Links
- relates to
-
QTCREATORBUG-27272 Add support for specifying working directory & passing extra command line arguments to test runners
- Closed