Sunday, October 11, 2015, 1:57:53 PM, Woonsan Ko wrote: [snip] > junit.framework.AssertionFailedError > at > freemarker.cache.FileTemplateLoaderTest.testCaseSensitivity(FileTemplateLoaderTest.java:101) > > I'm not sure if OSX behaves like Windows somehow when resolving a file
It's case sensitive AFAIK, while Windows isn't. > or if this is something else yet. > I also tried it after excluding FileTemplateLoaderTest, but there are > other tests failing.. > Anyway, I stopped there for now because this is not related to my pull > request. ;-) I'll look into the unit test issues later. > >> >>> So, I had to change build.xml (in batchtest task) to include only my >>> new test class locally. >> >> At least in Eclipse I can just right click on a package or class or >> method, and run it as JUnit test. (Then F11 to re-run it.) >> >>> My dev env is Ant 1.9.6 (Ivy 2.4.0) and JDK 1.8 on OSX. >> >> JDK 1.8 64 bit, 1.8.1, Windows 7 here... but if this matters, then >> that should be fixed. >> >>> How can I run all the unit tests successfully? >>> Also, is there any tip to run single unit test in command line (like >>> `mvn test -Dtest=...')? >> >> I think there was, but I don't remember the exact syntax anymore. But >> using you IDE is more efficient anyway. > > I'm used to Maven and Maven plugins for Eclipse, where I was able to > run unit test in IDE easily. Ant/Ivy/Eclipse environment looks a bit > different to me. I need some more time to learn. No plugin is needed. Just right click, and Run as JUnit test. > By the way, IIRC, you mentioned in old ML that it's planned to migrate > to Maven some day. Is it right? If so, when do you want to do that? I'm not sure if that would work out well, given that FM needs to be compiled against multiple versions of the same library (including rt.jar). But if someone works this topic out, it might turns out that it's feasible after all. I don't know. But the bet is on Gradle. And that will probably only happen when someone other than me takes that task. > Kind regards, > > Woonsan > >> >>> Thanks in advance, >>> >>> Woonsan >>> >> >> -- >> Thanks, >> Daniel Dekany >> > -- Thanks, Daniel Dekany
