leonarduk / unison

UNISoN is a Java-based NNTP client that can analyse messages to save to a Pajek-format file for Social Network Analysis. Developed as part of an MSc Business Systems Analysis & Design at City University.
http://unison.sleonard.co.uk/
Apache License 2.0
6 stars 2 forks source link

Choose gui testing framework #78

Open leonarduk opened 8 years ago

leonarduk commented 8 years ago

http://stackoverflow.com/questions/10599724/gui-testing-framework-for-javafx-2

Perhaps jubula

https://www.eclipse.org/4diac/documentation/html/development/ide_jubula.html

leonarduk commented 8 years ago

Hi Elton, can you give this jubula a try?

eltonnuness commented 8 years ago

Yes, I try use

leonarduk commented 8 years ago

How is this going?

eltonnuness commented 8 years ago

I downloaded the Jubula today and now I will try to use.

eltonnuness commented 8 years ago

You prefer that I create a new issue for gui tests ?

leonarduk commented 8 years ago

we can just use this one.

eltonnuness commented 8 years ago

I am trying use the jubula gui tester, but I am having any errors, but the online community is very bad, I no find very articles explaining how configure and test JavaFX applications.

error

The jubula need the .jar the project running, I configure the new .jar to start JavaFX application, but now I am trying configure the AUT agent to test the application, and this error appears.

My research around the web and some peoples say the configuration is wrong but I no locate much tutorials (with jfx).

leonarduk commented 8 years ago

Maybe look for other testing frameworks

leonarduk commented 8 years ago

see if there is a better choice

eltonnuness commented 8 years ago

Right, I will look other frameworks to test.

eltonnuness commented 8 years ago

I saw some articles about gui test with fx.

and find this: https://github.com/TestFX/TestFX

Apparently is simple and have integration with JUnit

In this site: http://qaware.blogspot.com.br/2015/03/gui-tests-for-javafx.html also comment about Jemmy and Marvin. I do not know which is better.

I will create a simple test with TestFX. To test it.

Regards.

eltonnuness commented 8 years ago

https://github.com/TestFX/TestFX/wiki/How-to-Use-with-Continuous-Integration

eltonnuness commented 8 years ago

Apparently to test with Travis CI we need the Monocle because of GUI inside CI system, but the monocle is a project inside the OpenJDK, I do not know which version we are using and how it works. You can see above link and say if you think that it works with the configurated travis in repository how are now.

I will continue searching some frameworks.

eltonnuness commented 8 years ago

I saw Marvin and Jemmy Frameworks but apparently they are outdated, and the TestFX is the better of others two.

eltonnuness commented 8 years ago

I am continue improving the gui while you verify this

leonarduk commented 8 years ago

I need to complete sorting out the conflicts in the branch before looking at this

eltonnuness commented 8 years ago

Ok Steve, I saw that you created a clone branch of the my (eltonnuness-feature/#8-new-gui). Thank you by support.