Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use monocle for testing #117

Closed
micheljung opened this issue Oct 5, 2015 · 0 comments
Closed

Use monocle for testing #117

micheljung opened this issue Oct 5, 2015 · 0 comments

Comments

@micheljung
Copy link
Member

micheljung commented Oct 5, 2015

Currently, our UI-related unit tests render on the developer's screen. We should run them in "headless" mode however. Apparently, this can be done by using Monocle - just pass some command line options (they say). However, we should be able to set these without having the developer specifying command line options for every test he runs.

Tasks:

  1. Test if Monocle works
  2. Find out if we can set it using System.setProperty(); (probably before any JavaFX is loaded)
  3. If not, see if there's another way

Resources:

https://ustesis.wordpress.com/2014/04/23/headless-ui-testing-with-testfx-and-javafx-8/

http://stackoverflow.com/questions/29116819/javafx-maven-testfx-monocle-dont-work-together


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

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

No branches or pull requests

2 participants