qt6 autotest pluging not find any testcase
-
hello, I create an autotest project,then write a simplest test class:
#include <QtTest> class Test : public QObject { Q_OBJECT public: Test(){ } ~Test(){ } private slots: void test_case1(); }; void Test::test_case1() { } QTEST_APPLESS_MAIN(Test) #include "tst_test.moc"
then I build it , run it , every thing is ok , I can see the results in output view, but the tests view doesn't find any testcase, rescan also doesn't work, here is tests view shows:
my Testing settings here:
autotest plugin state:
I alos test the same in qt5.12,the tests view can show the testcase,test results view also show the result by graphics mode, that's very nice. so I wander why it doesn't work in qt6.
my environment:
qt6.2
win10
vs2019 communitythanks!
-
hello, I create an autotest project,then write a simplest test class:
#include <QtTest> class Test : public QObject { Q_OBJECT public: Test(){ } ~Test(){ } private slots: void test_case1(); }; void Test::test_case1() { } QTEST_APPLESS_MAIN(Test) #include "tst_test.moc"
then I build it , run it , every thing is ok , I can see the results in output view, but the tests view doesn't find any testcase, rescan also doesn't work, here is tests view shows:
my Testing settings here:
autotest plugin state:
I alos test the same in qt5.12,the tests view can show the testcase,test results view also show the result by graphics mode, that's very nice. so I wander why it doesn't work in qt6.
my environment:
qt6.2
win10
vs2019 communitythanks!