[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    [PyQt] Does PyQt5 have QUICK_TEST_MAIN?
From:       Cody Scott <cody () perspexis ! com>
Date:       2017-01-27 15:11:42
Message-ID: CAN04N8aRb7KyOWwtN2ppVsWeusddiTM3up_ObM--+bfEDC+tHg () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


I'm trying to test a QML component that is defined in Python and registered
using QtQml.qmlRegisterType().

Does PyQt5 have QUICK_TEST_MAIN?
http://doc.qt.io/qt-5/qtquick-qtquicktest.html#running-tests

https://gist.github.com/Siecje/c93f4faf15baa89d4fd0c9ff86d22a6a#file-test_qml-py

I think you need QUICK_TEST_MAIN to get the nice test output like
qmltestrunner.

[Attachment #5 (text/html)]

<div dir="ltr"><div>I&#39;m trying to test a QML component that is defined in Python \
and registered using QtQml.qmlRegisterType().</div><div><br></div>Does PyQt5 have \
QUICK_TEST_MAIN? <a href="http://doc.qt.io/qt-5/qtquick-qtquicktest.html#running-tests \
">http://doc.qt.io/qt-5/qtquick-qtquicktest.html#running-tests</a><br><div><br></div><div><a \
href="https://gist.github.com/Siecje/c93f4faf15baa89d4fd0c9ff86d22a6a#file-test_qml-py \
">https://gist.github.com/Siecje/c93f4faf15baa89d4fd0c9ff86d22a6a#file-test_qml-py</a><br></div><div><br></div><div>I \
think you need QUICK_TEST_MAIN to get the nice test output like \
qmltestrunner.</div><div><br></div></div>


[Attachment #6 (text/plain)]

_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
https://www.riverbankcomputing.com/mailman/listinfo/pyqt

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic