[Differential] [Commented On] D3786: Turn flawed "QTestLib with KDE" template into "Test Suite for GUI-less code"

kfunk (Kevin Funk) noreply at phabricator.kde.org
Thu Dec 22 01:09:33 UTC 2016


kfunk added a comment.


  In https://phabricator.kde.org/D3786#70730, @kossebau wrote:
  
  > Not sure if such a separate template makes sense, which differs from cpp_qtestlib only by s/QTEST_MAIN/QTEST_GUILESS_MAIN/.
  >
  > Though for convenience it might make sense, also for promoting the option perhaps.
  >  Just discovered there is also a QTEST_APPLESS_MAIN...
  >
  > Perhaps there could be just cpp_qtestlib and a comment in the line above QTEST_MAIN:
  >
  >   // other options: QTEST_GUILESS_MAIN, QTEST_APPLESS_MAIN
  >   QTEST_MAIN({{ name }});
  >
  
  
  Actually, yep, I like that better.
  
  `QTEST_MAIN()` is probably the most common, so that should be the default.

REPOSITORY
  R32 KDevelop

BRANCH
  renameKDEQTestToGuiLess

REVISION DETAIL
  https://phabricator.kde.org/D3786

EMAIL PREFERENCES
  https://phabricator.kde.org/settings/panel/emailpreferences/

To: kossebau, #kdevelop, kfunk
Cc: kdevelop-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20161222/727b3b05/attachment.html>


More information about the KDevelop-devel mailing list