Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Full cycle testing

Hi,

there are several frameworks to test UI and full scenario.
I have in mind SWTBot, Jubula and RCPTT.
Historically, SWTBot was targeted only for developers; Jubula and RCPTT (previously Q7) were targeted only QA testers. I think that each of them are trying to cover a larger audience and provides tooling for both Developers and Testers. For instance, Jubula is now providing a Java API: https://www.eclipse.org/community/eclipse_newsletter/2015/july/article3.php

For SWTBot, that we are using for several years at Bonitasoft, we are using it both for End to end tests and also for "fast"/"unit" tests at Wizard page/editor level. You can find more information for our usage here: https://www.eclipse.org/community/eclipse_newsletter/2014/september/article4.php or look into our codebase https://github.com/bonitasoft/bonita-studio

I can recommend you to come to Eclipse Project Quality Day to be able to have a better insight:  https://www.eclipsecon.org/europe2015/pqd . You will be able to meet several actors with different point of views on the which is the "Best" testing tool!
During EclipseCon I will also have a talk about "Functional Testing made easy with SWTBot for developers and Testers" https://www.eclipsecon.org/europe2015/session/functional-testing-made-easy-swtbot-developers-and-testers . it might interest you :-)

regards,


2015-10-25 18:24 GMT+01:00 Eugene Kondrashev <eugene.kondrashev@xxxxxxxxx>:
Sorry, how testNG will help creating test scenarios like described?

2015-10-25 18:39 GMT+02:00 Paul <paul@xxxxxxxxxxxx>:
What is the reason you are not considering testNG.  Just curious.



On Oct 24, 2015, at 9:43 PM, Pascal Rapicault <pascal@xxxxxxxxxxxxx> wrote:

Pros of RCPTT - readability of the test script, recorder, clear separation of setup vs tests
Cons of RCPTT - slow execution of the tests (it takes time for the tool to assemble the AUT), no documented way to run the tests from the workspace where you are developing your code, assertions can only be done on objects reachable from the UI

Pros of SWTBot - all java based, runs directly from the IDE, can tests UI and Java model
Cons of SWTBot - tests are hard to produce and read, they appeared to be more brittle

Overall I think they both cover a different use case. SWTBot is really neat for unit testing (e.g test a view, an editor, a dialog), whereas RCPTT is best suited for integration tests.

HTH



On 15-10-23 02:27 PM, Eugene Kondrashev wrote:
Appreciate your comment much.
I was looking into swtbot as a result of early research. Are there any difference between swtbot and rcptt? I was trying to find comparison between those two, but failed to find any reasonable pros/cons arguments. 

2015-10-23 21:11 GMT+03:00 Pascal Rapicault <pascal@xxxxxxxxxxxxx>:
Your best bet it is use RCPTT (https://www.eclipse.org/rcptt/)
It allows to drive the Eclipse UI, write assertions, etc.
The tests written with RCPTT can be executed using a Maven plugin.

However know that at this point RCPTT does not deal with installation / uninstallation using p2, so you may have to resort to write something manually for this.


On 15-10-23 02:04 PM, Eugene Kondrashev wrote:
Hi guys,
I'm interest in implementing full cycle testing for eclipse plugin.

By full cycle I mean, testing starting from installation, launching, execution basic operations(crud for projects/files), perhaps compilation/execution of some classes(jdt), shutdown, etc.
In other words common scenarios would be:
launch -> installation -> restart-> create project->verify operation->shutdown
launch -> installation -> restart -> uninstallation
...
Those scenarios should be executed with maven.

Are there any instruments available to implement such testing scenarios? Any similar examples?

Thanks,
Eugene


_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/tycho-user


_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/tycho-user



_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/tycho-user

_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/tycho-user

_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/tycho-user


_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/tycho-user



--
Aurelien Pupier 
R&D Engineer, BonitaBPM Studio Development Leader
aurelien.pupier@xxxxxxxxxxxxxx
apupier
32, rue Gustave Eiffel - 38000 Grenoble, France
Download Bonita BPM | Access BPM Quick Start Center
 
 
 
This message and any attachment (the "message") is intended solely for the addressees and is confidential. If you receive this message by mistake, please delete it and notify the sender immediately. Any use not in accordance with its purpose, any out-spread or disclosure, either as a whole or partially, is prohibited except with formal approval. Internet cannot guarantee the integrity of this message, therefore Bonitasoft will not be liable for the message if modified.
 











Back to the top