forceedge01 / behat-api-spec

Generate existing API spec for automated coverage and stop regression
MIT License
2 stars 0 forks source link

When a pattern matches, the suggested update should be a pattern #28

Closed forceedge01 closed 4 years ago

forceedge01 commented 4 years ago

The error of a failing pattern is extremely difficult to read. This may be better served with separate lines between the failing string and matching string. Other than this the pattern failure should suggest an update based on the received pattern. Doing things such as replacing whitespace with \s+ and running preg_quote on the string is a simple way to remove obvious difficulties.

forceedge01 commented 4 years ago

Released in v1.6