Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Hierarchical view of features folder with scenarios #31

Closed
MPV opened this Issue Oct 15, 2012 · 2 comments

Comments

Projects
None yet
3 participants

MPV commented Oct 15, 2012

Hi,
I'd like to write something that recursively goes through the features folder and creates a hierarchical structure that represents the folder, it's features files and their scenarios.

Could this be done with the Gherkin library? I've been looking at the following classes to try to put together a solution but I haven't really solved it yet. I'm deeply grateful for any help I could get.

Behat\Gherkin\Loader\DirectoryLoader
\Behat\Gherkin\Gherkin
Behat\Gherkin\Loader\GherkinFileLoader
Behat\Gherkin\Parser
Behat\Gherkin\Lexer
Contributor

karolsojko commented Oct 25, 2012

Have you tried the Finder component from Symfony ?

MPV commented Oct 31, 2012

Thanks for the tip!
Symfony's Finder is awesome!

25 okt 2012 kl. 23:49 skrev "Karol Sójko" notifications@github.com:

Have you tried the Finder
componenthttp://symfony.com/doc/2.0/components/finder.htmlfrom
Symfony ?


Reply to this email directly or view it on
GitHubhttps://github.com/Behat/Gherkin/issues/31#issuecomment-9795548.

@everzet everzet closed this Jan 26, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment