PyQt5==5.7.1 Missing libQt5QuickTest.so.5

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

PyQt5==5.7.1 Missing libQt5QuickTest.so.5

Alexander Rössler-2
Has anyone found a good testing strategy for the QML part of a PyQt
application?

It would be wonderful to have pytest wrapper around qmltestrunner.

Thanks,
Alex
_______________________________________________
PyQt mailing list    [hidden email]
https://www.riverbankcomputing.com/mailman/listinfo/pyqt
Reply | Threaded
Open this post in threaded view
|

Re: PyQt5==5.7.1 Missing libQt5QuickTest.so.5

Cody Scott-2
You can use qmltestrunner to run QML tests that require Python code.

You need the pyqt5qmlplugin which you can get by building PyQt5 from source. It is not included in the wheels.

http://pyqt.sourceforge.net/Docs/PyQt5/qml.html#writing-python-plugins-for-qmlscene

Let me know if you run into any issues.


On Mon, Feb 12, 2018 at 4:37 AM, Alexander Rössler <[hidden email]> wrote:
Has anyone found a good testing strategy for the QML part of a PyQt
application?

It would be wonderful to have pytest wrapper around qmltestrunner.

Thanks,
Alex
_______________________________________________
PyQt mailing list    [hidden email]
https://www.riverbankcomputing.com/mailman/listinfo/pyqt


_______________________________________________
PyQt mailing list    [hidden email]
https://www.riverbankcomputing.com/mailman/listinfo/pyqt
Reply | Threaded
Open this post in threaded view
|

Re: Testing QML with PyQt (was: PyQt5==5.7.1 Missing libQt5QuickTest.so.5)

Florian Bruhin
In reply to this post by Alexander Rössler-2
Hi,

On Mon, Feb 12, 2018 at 10:37:52AM +0100, Alexander Rössler wrote:
> It would be wonderful to have pytest wrapper around qmltestrunner.

FWIW if you end up writing something like this, pytest-qt might be a
good place for it: https://github.com/pytest-dev/pytest-qt

There's some previous discussion here, but nothing happened so far as
both the author and I (main contributor) aren't really interested in
QML: https://github.com/pytest-dev/pytest-qt/issues/125

Florian

--
https://www.qutebrowser.org | [hidden email] (Mail/XMPP)
   GPG: 916E B0C8 FD55 A072 | https://the-compiler.org/pubkey.asc
         I love long mails! | https://email.is-not-s.ms/

_______________________________________________
PyQt mailing list    [hidden email]
https://www.riverbankcomputing.com/mailman/listinfo/pyqt

signature.asc (849 bytes) Download Attachment