Skip to content

Commit

Permalink
Add minimal documentation about refactoring
Browse files Browse the repository at this point in the history
Signed-off-by: Kaustav Das Modak <[email protected]>
  • Loading branch information
Kaustav Das Modak committed Feb 11, 2016
1 parent c070f7e commit a7ee01c
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,17 @@ gauge("Vowels in English language are <vowels>.", function(vowelsGiven) {
});
```

### Refactoring

`gauge-js` supports refactoring your specifications and step implementations. Refactoring can be done using the following command signature:

```sh
$ gauge --refactor "Existing step text" "New step text"
```

The JS runner plugin will alter the step text and callback signature in your step implementations. It does not change the callback body.


## Contributing

See [CONTRIBUTING.md](CONTRIBUTING.md).
Expand Down

0 comments on commit a7ee01c

Please sign in to comment.