Hi Tim, In addition to you're subsequent discoveries, it might be useful to know that once you have run the following
ant compile ant compile-core-test ant runtime it is possible to run bin/nutch junit org.apache.nutch.path.to.test This is extremely useful for running individual test cases and viewing console output. On Tue, Nov 29, 2011 at 6:11 AM, Tim Pease <[email protected]> wrote: > > On Nov 28, 2011, at 10:38 PM, Tim Pease wrote: > > > I've made some modifications to Nutch to suite some requirements at > work. However, my changes have caused one of the JUnit tests to fail. The > output from running `ant test` is none too helpful. All it tells me is > "BUILD FAILED - good luck scrolling through a thousand lines of output to > find that failure, and I'm not going to show you any filenames or line > numbers where the failed assertion happened." > > > > Any pointers on getting better information out of Ant / JUnit would be > greatly appreciated. > > > > Blessings, > > TwP > > Found what I was looking for under the "build" directory. Test output will > be written to a file of the form "TEST-full.test.name.TestClass.txt" in the > "build" folder. A command like the following will unearth any errors ... > > find build -name 'TEST-*' | xargs grep -i 'Failures: ' > > Just writing this out so I can google it again in six months. > > Blessings, > TwP -- *Lewis*

