Skip to content

Commit

Permalink
Add readme note about adaptor_name config
Browse files Browse the repository at this point in the history
  • Loading branch information
tyx committed Oct 29, 2015
1 parent 72a4a1e commit 1d908c6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,16 @@ default:
rest:
base_url: http://localhost:8888
store_response: true
adaptor_name: curl # Should be one of these adapters : https://github.com/egeloen/ivory-http-adapter/blob/master/doc/adapters.md#factory
suites:
default:
contexts:
- Rezzza\RestApiBehatExtension\RestApiContext
- Rezzza\RestApiBehatExtension\Json\JsonContext
```
Regarding the `adaptor_name` you choose, you will have to install the deps needed on your own.

## Usage
You can use directly the `JsonContext` or `RestApiContext` by loading them in your behat.yml or use the `RestApiBrowser` and `JsonInspector` by adding them in the construct of your own context.

Expand Down

0 comments on commit 1d908c6

Please sign in to comment.