how to mock solr server solr_sruby
Hi, Am using solr_ruby in ruby code for that am starting solr server by using start.jsr. Now i want to write mockobjects for solr connection and code written in my ruby file to search data from solr. Can anybody suggest how to do testing without stating solr server -- View this message in context: http://lucene.472066.n3.nabble.com/how-to-mock-solr-server-solr-sruby-tp3766080p3766080.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Mock solr server
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
Re: Mock solr server
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