Skip to content
This repository has been archived by the owner on Jan 21, 2019. It is now read-only.

UI tests (Jemmy/Jellytools) of Netbeans Application with surefire #38

Open
jvtrudel opened this issue Jul 10, 2018 · 2 comments
Open

UI tests (Jemmy/Jellytools) of Netbeans Application with surefire #38

jvtrudel opened this issue Jul 10, 2018 · 2 comments

Comments

@jvtrudel
Copy link

Netbeans platforms is executed using nbexec that take into account various configurations as Look and Feel and various java options like available memory.

On the other hand, surefire directly execute test classes with a simple java call. Hence, any problem related nbexec configuration cannot be tested.

Is it in the roadmap of this project to provide a testing mechanism using nbexec? Does anyone already encounter this kind of issue and found a workaround?

@ebarboni
Copy link
Contributor

Hi, I'm not sure this will answer your question but it is possible to add add args and systemproperties to surefire configuration
@{argLine} -J-Xmx12g -J-Xss2m -J-Xms12g -J-Dsun.java2d.noddraw=true
I don't know the args for changing le L&F but is should be possible I guess

@jvtrudel
Copy link
Author

Yes indeed. But there seems to be options specific to nbexec. I don't know much about this launcher, could it be completely replaced by arLine options. My attempts to add the look and feel by that method failed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants