Registry / testing / sunspot-test

sunspot-test

JSON →
library0.4.2rbrubygemsunverified

Automatically starts and stops Solr for Cucumber scenarios tagged with @search when testing Sunspot.

gem install sunspot_test
INSTALL
IMPORT
SIG · SUNSPOT-TEST
S
sunspot-test
testingrubyv0.4.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

SunspotTest
✓ require 'sunspot_test'

Integrate SunspotTest with Cucumber for Solr management

require 'sunspot_test' # In your Cucumber env.rb: SunspotTest.start_solr # Scenarios tagged @search will have Solr managed automatically
Debug
Known issues
gotchaRequires Java runtime to run Solr
fix
Ensure Java is installed and available in PATH
affects: >= 0.0.0
Upgrade
Version history
0.4.2latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
12 hits · last 30 days
node
12
Resources
sunspot-test — gem install sunspot-test · libregistry