Details
-
Type:
Improvement
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 2.4.1, 2.5-M0
-
Fix Version/s: 2.7.6
-
Component/s: None
-
Labels:None
Description
OnlineTestCase now silently skip tests (making them appear as passed to the maven user) if the property file is not found.
Also, on Windows it's not possible to create the .geotools directory from the UI, so the test would do quite a favor to the user by creating it from code (as an empty directory where the user can eventually put the
http://junit.sourceforge.net/doc/ReleaseNotes4.4.html
Just putting something like that at the begining of every tests requiring a online connection:
assumeTrue(isOnline());
JUnit should writes a warning and stops the test (without making it fails) if isOnline() returns false.