@slide - I have a butt simple solution that just exits the tests if we're 
in OS X, but I doubt that fixes any PC problems. And its ugly.

@jessee - Did manage to get JUnit4 assumeThat to work as expected, but not 
getting the test to do the right thing. Found the wiki page to convert 
HudsonTestCase to JUnit4 
(https://wiki.jenkins-ci.org/display/JENKINS/Unit+Test+JUnit4) - but no 
examples of what to do to replace setUp and tearDown calls. Just adding 
@Rule and a rule = new JenkinsRule(); just creates an initializationError 
message:

Tests in error: 
  
initializationError(hudson.plugins.emailext.plugins.content.ScriptContentTest): 
Field rule must implement MethodRule


Reply via email to