Use Qt Monkey for automate testing GUI

Issue #529 closed
Roman Telezhynskyi repo owner created an issue

Qt Monkey is a tool to automate testing of Qt-based applications (widgets only). It automates creation/modification and running of the tests. Tests are written in Javascript (Qt supported dialect).

Qt Monkey lives here: https://github.com/Dushistov/qt_monkey
Article about Qt Monkey (russian) https://habrahabr.ru/post/301702/

All this time we have been using QTest library for testing our code base. But this library not reale good choice for testing GUI.

Unfortunately we don't have own CI server and depend on available for open source alternatives. This mean we will have problems with installing Qt Monkey. I propose insert Qt Monkey's code inside our code base and build it when we need testing GUI with CONFIG += testGUI.

Of course here is alternative from cisco QtWebDriver. But using this library will cause for us more pain if we plan to insert it in the source tree.

Comments (12)

  1. Roman Telezhynskyi reporter

    I am talking about Test library not about CI service. Currently we use codeship.com and will use appveyor.com and travis-ci.org.

  2. Roman Telezhynskyi reporter

    I checked https://semaphoreci.com/ and must say codeship.com already do for us the same. What i need now is MSVC compiler and build on Mac OS X.

  3. Roman Telezhynskyi reporter

    I told i need Mac for building code on Mac and running tests. And i found that travis-ci.org support such thing. So we will definately go to travis-ci.org for such thing.

  4. Roman Telezhynskyi reporter

    If speak about desktop or laptop this is also good thing. Using Virtual Box for building code and coding is pain in the ass. But, this could be fixed by more powerful PC. Currently i use 32 bit Ubuntu with 8 Gb RAM, core i3 (2 CPU/4 threads). And if not speak about using Virtual Box all is perfectly fine.

  5. Susan Spencer

    >I propose insert Qt Monkey's code inside our code base and build it when we need testing GUI with CONFIG += testGUI.

    So you are proposing to include Qt Monkey in our code base. Is there anything that you need to do this?

  6. Roman Telezhynskyi reporter

    No, i have all i need. I need only time.

    I just think this very good chance to improve our testing.

  7. Log in to comment