cpp-testing / GUnit

GUnit - Google.Test/Google.Mock/Cucumber on steroids
257 stars 50 forks source link

:technologist: Output path to feature file and source for steps #81

Closed krzysztof-jusiak closed 1 year ago

krzysztof-jusiak commented 1 year ago

Problem: Working with BDD tests can be challenging in large repositories because it is difficult to find the implementation of steps. Patterns of text substitution and multi-line strings make simple greps for step definitions insufficient.

Solution: Rather than outputting either the step location or the feature file location, we will instead output the feature file location and optionally the step definition location if available (uses $Given, $When, $Then)