Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add tag to kata #31

Open
yvoyer opened this issue Mar 21, 2016 · 1 comment
Open

Add tag to kata #31

yvoyer opened this issue Mar 21, 2016 · 1 comment
Assignees
Labels
Milestone

Comments

@yvoyer
Copy link
Owner

yvoyer commented Mar 21, 2016

Add possibility to tag a kata with a list of string values. Tags are configured in the kata configuration.

Scenario: Show the list of tags
Given The kata 'kata 1' is tagged with tags 'Tag1'
And The kata 'kata 2' is tagged with tags 'Tag1, Tag2, Tag3'
And The kata 'kata 3' is tagged with tags 'Tag2'
When I execute the 'show --tags' command
Then I should see 
"""
Available tags:

Tag1
Tag2
Tag3

Add --tags option to show command (depends on #29).

--tags: This option will list all tags from all kata
--tag={tag}: lists all kata linked to tag

Scenario: Show the katas tagged with specific tag.
Given The kata 'kata 1' is tagged with tags 'Tag1'
And The kata 'kata 2' is tagged with tags 'Tag1, Tag2, Tag3'
And The kata 'kata 3' is tagged with tags 'Tag2'
When I execute the 'show --tag Tag1' command
Then I should see 
"""
Kata grouped by tags

[Tag1]
  Kata 1
  Kata 2
@yvoyer
Copy link
Owner Author

yvoyer commented Mar 27, 2016

@octopixelle I think this could be a reasonable feature for you. Are you up to take it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants