Re: [Pluginbuilder-development] Autotestsuite not running any test
Status: Beta
Brought to you by:
mbarchfe
From: mbarchfe <mba...@go...> - 2010-02-19 22:22:42
|
Hi, Hm, that should work. What does your log file mention? For example, if you look at http://self.pluginbuilder.org/latest/build.log.txt, there are entries similar to the ones below. Markus [java] -runAutoTests: [java] [mkdir] Created dir: /var/www/buildresults/self/nightly/0.8.0.201002190315NGT/testresults/xml [java] [java] EMMA: collecting runtime coverage data ... [java] [java] Deleting directory /var/www/buildresults/self/nightly/0.8.0.201002190315NGT/testresults/xml [java] [java] ~~~~~~~~~~~~ Searching for JUnit 3 test plug-ins. [java] [java] Using inclusion regular expression(s): .*(test|tests)$ [java] [java] Using exclusion regular expression(s): |^org.eclipse.test$ [java] [java] Bundle matches: org.pluginbuilder.core.test [java] [java] Found 1 plug-ins. [java] [java] ~~~~~~ Searching for JUnit 3 test classes in org.pluginbuilder.core.test [java] [java] Using inclusion regular expression(s): .* [java] [java] Using exclusion regular expression(s): .*(WebDavSynchronize_Test|ServerCommunication_Test)$ [java] [java] Searching bundleentry://192.fwk873275301/coretest.jar for tests. [java] [java] Added test class: org.pluginbuilder.core.internal.BuildConfigPersistency_PDETest [java] [java] Added test class: org.pluginbuilder.core.internal.CopyMapFileWriter_PDETest [java] [java] EMMA: collecting runtime coverage data ... [java] [java] Added test class: org.pluginbuilder.core.internal.templates.Template_PDETest [java] [java] Excluded test class: org.pluginbuilder.core.internal.webdav.WebDavSynchronize_Test [java] [java] Added test class: org.pluginbuilder.internal.core.creators.MapFileCreator_PDETest [java] [java] Added test class: org.pluginbuilder.internal.core.creators.SvnFetchAllFileWriter_PDETest [java] [java] Excluded test class: org.pluginbuilder.internal.core.serverconnection.ServerCommunication_Test [java] [java] Added test class: org.pluginbuilder.internal.core.smartproperties.SmartProperties_Test [java] [java] Scanned 25 Jar entries. [java] [java] Searching bundleentry://192.fwk873275301/lib/easymock.jar for tests. [java] [java] Scanned 37 Jar entries. [java] [java] Searching bundleentry://192.fwk873275301/lib/commons-io-1.3.1.jar for tests. [java] [java] Scanned 69 Jar entries. [java] [java] Searching bundle directory for tests. [java] [java] The bundle directory of org.pluginbuilder.core.test does not contain any class files. [java] On 19.02.2010, at 21:59, Hugo Corbucci wrote: > Hello everyone, > I've been using plugin builder to build my app for about a year and a half. It works great but we're not using the test part since our continuous integration server is service on a windows machine and therefore cannot run plugin tests. > I've recently tried to run the build localy on my machine and discovered to my surprise that, although the test task is being run, autotestsuite is not finding any test. > > I double checked my test feature to ensure it had all the test plugins for my app. I also double checked the inclusion and exclusion patters for both classes and plugin. > They are currently like this: > autotestsuite.plugin.inclusions=.*(test|tests)$ > autotestsuite.plugin.exclusions=org\.pluginbuilder\..* > autotestsuite.class.inclusions=.*Test$ > autotestsuite.class.exclusions= > > And all our test classes use JUnit 4 and are named ending with 'Test'. Our plugins are all named with 'tests' at the end. > > I've tried looking the .log of the testing running excution of eclipse but got nothing from that. It seems things are just fine there. > I'm using java 1.5.0 on an OS X machine, eclipse 3.5 and pluginbuilder 0.7. My app is an RCP app and it builds just fine with plugin builder. > Any ideas/tips? Any detail I forgot to mention but I should have mentioned? > > Thanks, > -- > Hugo Corbucci > CS Grad from 2003 to 2006 > CS Master from 2007 to 2010 > Cel: (55) (11) 8636 9029 > Phone: (55) (11) 2649 8636 > Skype user: hugo.corbucci > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev_______________________________________________ > Pluginbuilder-development mailing list > Plu...@li... > https://lists.sourceforge.net/lists/listinfo/pluginbuilder-development |