itsallcode / openfasttrace

Open source requirement tracing suite
GNU General Public License v3.0
100 stars 21 forks source link

Support for reading Tags from Gherkin feature files #425

Closed sophokles73 closed 1 month ago

sophokles73 commented 1 month ago

The standard Tag importer supports reading tags from comments in a wide array of source code files. Sadly, it is currently not possible to read Tags from .feature files as used with the Gherkin language.

Gherkin also uses the # character to mark a line as a comment line. It should therefore be very easy to add support for feature files because all that would need to be done is add feature to the standard Tag importer's list of supported file extensions.

sophokles73 commented 1 month ago

I could provide a PR if you're interested ...

kaklakariada commented 1 month ago

Yes, that sounds good. Should only require adding the file suffix and a test.

sophokles73 commented 1 month ago

Ok, I'll create a PR :-)