Skip to content

blinkboxbooks/catalogue-v2.scala

Repository files navigation

Catalogue V2

The new blinkbox-books catalogue

Running the cucumber acceptance tests locally

Pre-requisites

  • elasticsearch installed and up and running, configure cluster name here: reference.conf
  • Rabbit-MQ (can be configured in environments.yml (only needed to load the test fixtures)

Test fixtures

Test data required to run these tests lives in: fixtures

Start the ingester (for Marvin1 messages)

$ sbt 'project catalogue2-ingester-marvin1' run

Feed the messages into the input queue configured: reference.conf

Starting the apps and running the tests

First start the services:

$ sbt 'project catalogue2-search-public' clean run
$ sbt 'project catalogue2-service-public' clean run

Then run the tests:

$ bundle install
$ bundle exec cucumber --tags @search   #for search tests
$ bundle exec cucumber --tags ~@search  #for catalogue tests
$ bundle exec cucumber                  #for all tests

Running the cucumber acceptance tests against DevInt

$ bundle install
$ bundle exec cucumber  -p ci-smoke-dev-int
$ bundle exec cucumber  -p ci-regression-dev-int

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •