Re: how to mock solr server solr_sruby

2012-02-22 Thread Erik Hatcher
You can mock with Ruby really easily, but just overriding methods that would otherwise call the server and fake a response. The solr-ruby library itself was built with an extensive test suite doing this. Here's the mock base:

how to mock solr server solr_sruby

2012-02-22 Thread solr
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: