Relish is a cool tool for the living documentation in the BDD projects. Please my detailed blog about how to setup relish-living documentation in the BDD project. Relish can be used with any BDD tool which support Gherkin language. In this post, we will see how to auto-push feature files with relish.
Get Relish API Token
In order to push feature files automatically with relish, you need to have relish account. Once you logged into the Relish, you can get your API token by visiting by
- Log in into Relish with your credential
- Visit ‘https://www.relishapp.com/api/token’ url.
This url will return a string, that’s your API token.
Once you got your API token, We can create ‘.relish’ file in our BDD project.
$ vim .relish
This file will automatically detect your credentials and push the feature files with ‘relish push’ command.
$ relish push Publisher_name/project_name
You can setup a script which run periodically on continuous integration server to regularly push feature files online.