Skip to content

Commit

Permalink
Document how to run the test suite
Browse files Browse the repository at this point in the history
References #40.
  • Loading branch information
Michael Klishin committed Sep 25, 2013
1 parent b27adb6 commit d078e22
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,24 @@ Elastisch is part of the group of [Clojure libraries](http://clojurewerkz.org) k
and several others.


## Running Tests

To run Elastisch tests, make sure you have ElasticSearch running. It must be the same
version that Elastisch depends on due to binary protocol changes between releases.
[project.clj](project.clj) or [project page on Clojars](https://clojars.org/clojurewerkz/elastisch)
can help find that out.

Next you need to have `ES_CLUSTER_NAME` exported to something unique. Again, this is
an ElasticSearch binary client requirement.

Finally, run the tests as

lein all test

To run only HTTP client tests, use

lein all test :ci

## Continuous Integration

[![Continuous Integration status](https://secure.travis-ci.org/clojurewerkz/elastisch.png)](http://travis-ci.org/clojurewerkz/elastisch)
Expand Down

0 comments on commit d078e22

Please sign in to comment.