Trouble building Maven project

24 views
Skip to first unread message

samir.ha...@gmail.com

unread,
Sep 30, 2014, 3:44:56 AM9/30/14
to testfx-...@googlegroups.com
Hi all,

I've just forked the TestFX project in order to play with it a bit.

I'm using Netbeans and I've just opened the Gradle project, and therefore opened the testfx-core maven subproject.

I am using JDK 8u20. And I currently have some unresolved dependencies:

import static org.junit.Assume.assumeFalse;

That junit method seems to be not found in GuiTest.

And every
import static org.mockito.

is no where to be found. I cannot see it in the POM somewhere.

Is all this normal? Maybe I forgot to do something, let me know.

Best regards,
Sam'

samir.ha...@gmail.com

unread,
Sep 30, 2014, 3:52:36 AM9/30/14
to testfx-...@googlegroups.com
Quick update,

I've ran it directly using Gradle and it seems to run.. I have some tests failing but nothing to worry I would think. I'll investigate why the Maven subproject is not working.

Benjamin Gudehus

unread,
Sep 30, 2014, 9:41:05 AM9/30/14
to Sam', testfx-...@googlegroups.com
Hi Samir,

the Maven subproject seems to be a leftover before we migrated from Maven to
Gradle and was left for documentation purposes, I suppose.

There is a "getting started" for developers [1] and one for users [2].

[1] https://github.com/TestFX/TestFX/wiki/How-to-build-and-deploy-TestFX
[2] https://github.com/TestFX/TestFX/wiki/How-to-use-TestFX-in-your-project

Regards,
Benjamin


--
You received this message because you are subscribed to the Google Groups "TestFX" group.
To unsubscribe from this group and stop receiving emails from it, send an email to testfx-discus...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Benjamin Gudehus

unread,
Sep 30, 2014, 9:44:12 AM9/30/14
to Sam', testfx-...@googlegroups.com
The Getting Started only contains instructions for build and deploy, but is
lacking IDE setup.

I've created a ticket at https://github.com/TestFX/TestFX/issues/144.

samir.ha...@gmail.com

unread,
Oct 3, 2014, 4:06:36 AM10/3/14
to testfx-...@googlegroups.com, samir.ha...@gmail.com



Well I am using the project in Netbeans and I just see the "testfx-core" sub-project but if I open it, I have a Maven project.. 





So I don't know if something else should be done but I cannot see the sources elsewhere. I've add some dependencies and it's working now.
Reply all
Reply to author
Forward
0 new messages