Skip to content

Hyku Development Guide

Darren L. Weber, Ph.D edited this page May 1, 2017 · 15 revisions

Testing

Prerequisites

  • postgresql service is running

  • redis service is running

  • solr and fedora wrappers

    • The default wrapper configs are for development, but testing will expect solr and fedora on different ports. Run Solr and Fedora in their own shell windows to isolate their logs.

      bundle exec solr_wrapper   -v --config config/solr_wrapper_test.yml
      bundle exec fcrepo_wrapper -v --config config/fcrepo_wrapper_test.yml
  • phantomjs

Running Specs

DISABLE_REDIS_CLUSTER=true RAILS_ENV=test bundle exec rails server -b 0.0.0.0
bundle exec rake spec

See Also