farhan5248 / sheep-dog-tools

Eclipse and Maven plug-ins to help manual testers support developers adopting bdd and tdd using lean principles and model based testing
GNU General Public License v3.0
0 stars 0 forks source link

Combine Given When Then into Step #175

Closed farhan5248 closed 2 months ago

farhan5248 commented 2 months ago

Having this makes more work. Specifically, there's duplicate formatting and content assist code. Just have Step with multiple keywords

farhan5248 commented 2 months ago

Changes made but tag tests are failing when there's more than one

farhan5248 commented 2 months ago

Updated custom lexer to fix tag issues

farhan5248 commented 2 months ago

The keyword annotation is incorrectly Step instead of Given/When/Then

farhan5248 commented 2 months ago

I got this working to the point of creating the feature. Basically the keyword can't be ambiguous. When creating the AST (Abstract Syntax Tree) things like keywords are automatically determined. If I set a keyword as alternatives, then the first one is always chosen, in this case Given. It's really complicated to override that if not just impossible.

farhan5248 commented 2 months ago

I need to make proposals for all the others, like When and Then