-
Notifications
You must be signed in to change notification settings - Fork 7
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
Unit tests for UI controllers #43
Comments
Power Mock and Java FX don't work together. JavaFXThreading Rule cannot be activated for more than 1 test class because power mock manipulates class loading. Fuk dis sheet!!!! |
Look for another solution |
look at https://github.com/TestFX/TestFX |
might be a way however only works clean when using one test method in a test class |
TestFX imho not yet ready for production use... 0 documentation and many things not working yet |
Problem - Java FX uses final classes. Cannot mock them with mockito. Need to migrate to power mock.
The text was updated successfully, but these errors were encountered: