-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
98b5b93
commit a67e185
Showing
4 changed files
with
17 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,12 +5,13 @@ | |
|
||
AgentQ lets you automate your test driven relevancy cases via [Quepid](http://www.quepid.com). Easily integrate testing your Solr or Elasticsearch search engine into your CI or Continuous Deployment pipeline. Be confident that you have highly relevant search results without the manual testing! | ||
|
||
Run a Quepid case automatically from the command line by passing in a case number (`1139`) and the score threshold for deciding if your search results pass or fail (`10`): | ||
Run a Quepid case automatically from the command line by passing in a case number (`4081`) and the score threshold for deciding if your search results pass or fail (`10`): | ||
|
||
```sh | ||
> agent_q 1139 10 [email protected] $QUEPID_PASSWORD http://app.quepid.com | ||
> export QUEPID_PASSWORD=your_password | ||
> agent_q 4081 10 [email protected] $QUEPID_PASSWORD http://app.quepid.com | ||
|
||
Case o19s blog search (1139) scored 10.0, which meets the threshold of 10 | ||
Case o19s blog search (778) scored 10.0, which meets the threshold of 10 | ||
``` | ||
|
||
If the Q Score for the case meets the threshold, then AgentQ will return 0, otherwise it returns 1, which signifies to your CI system that there was a failure. | ||
|
@@ -30,9 +31,13 @@ and then call AgentQ from CircleCI via this line in our `circle.yml` file: | |
test: | ||
override: | ||
- bundle exec jekyll build | ||
- bundle exec agent_q 1139 75 $QUEPID_USER $QUEPID_PASSWORD http://app.quepid.com | ||
- bundle exec agent_q 4081 10 $QUEPID_USER $QUEPID_PASSWORD http://app.quepid.com | ||
``` | ||
|
||
## How to test the code | ||
|
||
Just run the code locally via `./bin/agent_q` | ||
|
||
## Updating the Gem | ||
|
||
Read up on how to manage gems at https://guides.rubygems.org/make-your-own-gem/. | ||
|
@@ -41,7 +46,7 @@ Read up on how to manage gems at https://guides.rubygems.org/make-your-own-gem/. | |
bundle install | ||
gem build agent_q.gemspec | ||
gem install ./agent_q-0.0.12.gem | ||
agent_q 1139 10 [email protected] $QUEPID_PASSWORD http://app.quepid.com | ||
agent_q 4081 10 [email protected] $QUEPID_PASSWORD http://app.quepid.com | ||
``` | ||
|
||
To deploy to RubyGems: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters