- edited description
Use Qt Monkey for automate testing GUI
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)
-
reporter -
Have you looked at https://semaphoreci.com/? Their pricing page https://semaphoreci.com/pricing states "Semaphore is free for open source projects and 100 private builds per month." Semaphore also integrates with Bitbucket https://semaphoreci.com/blog/2014/10/14/continuous-integration-bitbucket.html
-
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.
-
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.
-
Do you need a Mac? If so, what are the specifications?
-
reporter What do you mean?
-
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.
-
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.
-
>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?
-
reporter No, i have all i need. I need only time.
I just think this very good chance to improve our testing.
-
reporter And the last piece of the puzzle Bitbucket Pipelines (beta).
-
reporter - edited description
- changed status to closed
This repository has been archived. If you want to report a bug or your feature request, you need to do this in the new repository https://gitlab.com/smart-pattern/valentina. This issue ticket will be closed.
- Log in to comment