[ https://issues.apache.org/jira/browse/SOLR-97?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ed Summers updated SOLR-97: --------------------------- Attachment: split_out_tests.patch > Rakefile now supports functional and unit tests > ----------------------------------------------- > > Key: SOLR-97 > URL: https://issues.apache.org/jira/browse/SOLR-97 > Project: Solr > Issue Type: Improvement > Components: clients - ruby - flare > Environment: Darwin frizz 8.8.1 Darwin Kernel Version 8.8.1: Mon Sep > 25 19:42:00 PDT 2006; root:xnu-792.13.8.obj~1/RELEASE_I386 i386 i386 > Reporter: Ed Summers > Attachments: split_out_tests.patch > > > This patch includes modifications to support both functional and unit tests > split out into separate directories like RoR. The test server activation was > converted from two independent functions into a singleton class with start() > and stop() methods. > The functional tests have been wrapped with a ensure clause so that the solr > test server will always be shut down--even if an exception was tossed during > testing. > By default the solr test server will not log startup messages to STDERR, > however if it's desirable to see these you can: > rake SOLR_CONSOLE=true -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira