In solr-ruby there is a basic "mock" Solr server implementation:

<http://svn.apache.org/viewvc/lucene/solr/trunk/client/ruby/solr-ruby/test/unit/solr_mock_base.rb?view=markup >

It's used to test some core response handling routines, like this:

<http://svn.apache.org/viewvc/lucene/solr/trunk/client/ruby/solr-ruby/test/unit/standard_response_test.rb?view=markup >

        Erik


On Nov 28, 2008, at 3:41 AM, Robert Young wrote:

I'm not using Java unfortunately. Is there anything that allows me to
interact with it much like a normal mock object, setting expectations and
return values?

On Fri, Nov 28, 2008 at 12:06 AM, Jeryl Cook <[EMAIL PROTECTED]> wrote:

are you trying to unit test something? I would simply make use of the
Embedded SOLR component in your unit tests..

On 11/27/08, Robert Young <[EMAIL PROTECTED]> wrote:
Hi,

Does anyone know of an easy to use Mock solr server?

Thanks
Rob



--
Jeryl Cook
/^\ Pharaoh /^\
http://pharaohofkush.blogspot.com/
"Whether we bring our enemies to justice, or bring justice to our
enemies, justice will be done."
--George W. Bush, Address to a Joint Session of Congress and the
American People, September 20, 2001


Reply via email to