Re: [Pluginbuilder-development] Autotestsuite not running any test
Status: Beta
Brought to you by:
mbarchfe
From: mbarchfe <mba...@go...> - 2010-08-19 05:24:48
|
<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi,<br><br>Hm, that should work. Anything useful in your log file? Search for "runAutoTests" and you will find something like the following.<div><br></div><div>Markus<br><div><div><br> [java] -runAutoTests:<br> [java] [mkdir] Created dir: /var/www/buildresults/self/nightly/0.8.0.201002190315NGT/testresults/xml<br> [java] [java] EMMA: collecting runtime coverage data ...<br> [java] [java] Deleting directory /var/www/buildresults/self/nightly/0.8.0.201002190315NGT/testresults/xml<br> [java] [java] ~~~~~~~~~~~~ Searching for JUnit 3 test plug-ins.<br> [java] [java] Using inclusion regular expression(s): .*(test|tests)$<br> [java] [java] Using exclusion regular expression(s): |^org.eclipse.test$<br> [java] [java] Bundle matches: org.pluginbuilder.core.test<br> [java] [java] Found 1 plug-ins.<br> [java] [java] ~~~~~~ Searching for JUnit 3 test classes in org.pluginbuilder.core.test<br> [java] [java] Using inclusion regular expression(s): .*<br> [java] [java] Using exclusion regular expression(s): .*(WebDavSynchronize_Test|ServerCommunication_Test)$<br> [java] [java] Searching bundleentry://192.fwk873275301/coretest.jar for tests.<br> [java] [java] Added test class: org.pluginbuilder.core.internal.BuildConfigPersistency_PDETest<br> [java] [java] Added test class: org.pluginbuilder.core.internal.CopyMapFileWriter_PDETest<br> [java] [java] EMMA: collecting runtime coverage data ...<br> [java] [java] Added test class: org.pluginbuilder.core.internal.templates.Template_PDETest<br> [java] [java] Excluded test class: org.pluginbuilder.core.internal.webdav.WebDavSynchronize_Test<br> [java] [java] Added test class: org.pluginbuilder.internal.core.creators.MapFileCreator_PDETest<br> [java] [java] Added test class: org.pluginbuilder.internal.core.creators.SvnFetchAllFileWriter_PDETest<br> [java] [java] Excluded test class: org.pluginbuilder.internal.core.serverconnection.ServerCommunication_Test<br> [java] [java] Added test class: org.pluginbuilder.internal.core.smartproperties.SmartProperties_Test<br> [java] [java] Scanned 25 Jar entries.<br> [java] [java] Searching bundleentry://192.fwk873275301/lib/easymock.jar for tests.<br> [java] [java] Scanned 37 Jar entries.<br> [java] [java] Searching bundleentry://192.fwk873275301/lib/commons-io-1.3.1.jar for tests.<br> [java] [java] Scanned 69 Jar entries.<br> [java] [java] Searching bundle directory for tests.<br> [java] [java] The bundle directory of org.pluginbuilder.core.test does not contain any class files.<br> [java] <br><br>On 19.02.2010, at 21:59, Hugo Corbucci wrote:<br><br><blockquote type="cite">Hello everyone,<br></blockquote><blockquote type="cite">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.<br></blockquote><blockquote type="cite">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.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">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.<br></blockquote><blockquote type="cite">They are currently like this:<br></blockquote><blockquote type="cite">autotestsuite.plugin.inclusions=.*(test|tests)$<br></blockquote><blockquote type="cite">autotestsuite.plugin.exclusions=org\.pluginbuilder\..*<br></blockquote><blockquote type="cite">autotestsuite.class.inclusions=.*Test$<br></blockquote><blockquote type="cite">autotestsuite.class.exclusions=<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">And all our test classes use JUnit 4 and are named ending with 'Test'. Our plugins are all named with 'tests' at the end.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">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.<br></blockquote><blockquote type="cite">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.<br></blockquote><blockquote type="cite">Any ideas/tips? Any detail I forgot to mention but I should have mentioned?<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Thanks,<br></blockquote><blockquote type="cite">-- <br></blockquote><blockquote type="cite">Hugo Corbucci<br></blockquote><blockquote type="cite">CS Grad from 2003 to 2006<br></blockquote><blockquote type="cite">CS Master from 2007 to 2010<br></blockquote><blockquote type="cite">Cel: (55) (11) 8636 9029<br></blockquote><blockquote type="cite">Phone: (55) (11) 2649 8636<br></blockquote><blockquote type="cite">Skype user: hugo.corbucci<br></blockquote><blockquote type="cite">------------------------------------------------------------------------------<br></blockquote><blockquote type="cite">Download Intel&#174; Parallel Studio Eval<br></blockquote><blockquote type="cite">Try the new software tools for yourself. Speed compiling, find bugs<br></blockquote><blockquote type="cite">proactively, and fine-tune applications for parallel performance.<br></blockquote><blockquote type="cite">See why Intel Parallel Studio got high marks during beta.<br></blockquote><blockquote type="cite">http://p.sf.net/sfu/intel-sw-dev_______________________________________________<br></blockquote><blockquote type="cite">Pluginbuilder-development mailing list<br></blockquote><blockquote type="cite">Plu...@li...<br></blockquote><blockquote type="cite">https://lists.sourceforge.net/lists/listinfo/pluginbuilder-development<br></blockquote><br></div></div></div></body></html> |