You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current implementation requires phrases to be broken up individually and matched.Our TestSpecificationFactory essentially breaks up the input into sentences and then uses a rule that can match any of them and goes from there. This doesn't really constitute much of a grammar.
For example, the following nonsensical example is legal:
Given I shut the door
When I walk through the door
Then I can open the door
A grammar rule can be invoked that could require that the DSL we are testing be more formal. It could be empowered to complain when it encounters the above example to require a door to be opened before it is walked through, or open before it is shut.
The text was updated successfully, but these errors were encountered:
The current implementation requires phrases to be broken up individually and matched.Our TestSpecificationFactory essentially breaks up the input into sentences and then uses a rule that can match any of them and goes from there. This doesn't really constitute much of a grammar.
For example, the following nonsensical example is legal:
A grammar rule can be invoked that could require that the DSL we are testing be more formal. It could be empowered to complain when it encounters the above example to require a door to be opened before it is walked through, or open before it is shut.
The text was updated successfully, but these errors were encountered: