ducminh-phan / reformat-gherkin

Formatter for Gherkin language
MIT License
22 stars 13 forks source link

Add tests for step keyword alignment #25

Closed rayjolt closed 4 years ago

rayjolt commented 4 years ago

Reorganise test features into folders, and add tests for AlignmentMode.LEFT and AlignmentMode.RIGHT. It was impractical to test alignment modes before, as each valid feature could only have one expected output. The new folder structure allows multiple expected outputs for each valid feature, making it easier to test different formatting options.

ducminh-phan commented 4 years ago

Thank you for your PR. Just some small changes needed. Also, from your PR, now I'm aware about the method Path.read_text 👍