[Qt-creator] Turn off scan for tests per project?

Andy asmaloney at gmail.com
Thu Jul 18 14:35:50 CEST 2019


Thanks Christian, Christian, and Cristian! :-)

(Cristian: I cc'd the list with your response since I'm sure it was meant
as part of the discussion.)

Maybe it could be semi-smart as well:

- the first time QtC sees the project, run the scan
- if no tests are found, pop up a dialog "I didn't find any tests to run,
so I can stop looking for them each time this project is loaded. You can
turn this scan on or off in <wherever this preference lives>. You can find
out more about Autotests <here>." <Turn Test Scan Off> <Leave Test Scan On>

This would also help make the Autotests feature more visible.

---
Andy Maloney  //  https://asmaloney.com
twitter ~ @asmaloney <https://twitter.com/asmaloney>


On Thu, Jul 18, 2019 at 2:17 AM Cristian Adam <cristian.adam at qt.io> wrote:

> Hi,
>
> QtCreator could query the cmake server / file api mode for the list of
> tests. (targets which have test properties)
>
> This way Qt Creator would not need to scan the files for tests.
>
> Cheers,
> Cristian
>
> Get Outlook for Android <https://aka.ms/ghei36>
>
> ------------------------------
> *From:* Qt-creator <qt-creator-bounces at qt-project.org> on behalf of Andy <
> asmaloney at gmail.com>
> *Sent:* Thursday, July 18, 2019 12:17:29 AM
> *To:* qt-creator
> *Subject:* [Qt-creator] Turn off scan for tests per project?
>
> Is there a way to turn off the scan for tests for a specific project?
>
> I'm opening a huge cmake project and it takes minutes to do this scan on
> every single cmake change.
>
> (I can turn it off completely, but I'm looking to just turn it off on this
> one project.)
>
> ---
> Andy Maloney  //  https://asmaloney.com
> twitter ~ @asmaloney <https://twitter.com/asmaloney>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20190718/e30413c5/attachment.html>


More information about the Qt-creator mailing list