Robert Burrell Donkin ha scritto: > On Nov 14, 2007 9:29 PM, Stefano Bagnara <[EMAIL PROTECTED]> wrote: >> Robert Burrell Donkin ha scritto: >>>> Do you think that the test failure is a maven related issue? >>> not sure - these are good tests but maven has a habit of getting into >>> trouble with exotic test cases
Just to share my experience I never had maven specific problems with unit testing. There may be issues with classloaders, but this most times depend on badly architected tests and weird dependencies and classloader requirements in the test (and this was not the case). >> [...] >> I'm going to check also ant and if it works here and I'll try to >> understand what's strange in the tests to break them under eclipse and >> maven. > > run fine in eclipse for me. i'm on gentoo in GMT (which may be a factor). > > they try to set the default locale in order to simulate a server > running in that locale. the idea is to catch implicit localisation > issues (for example, naive date formatting and parsing) > > - robert After debugging it the error was: Test Resource '/org/apache/james/test/functional/imap/scripts/Welcome.test' not found. I moved *.test files found in experimental-seda-imap-function/src/test/java to experimental-seda-imap-function/src/test/resources and everything seems to work now. I checked both mvn and ant and they successfully run the tests. Stefano --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
