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

Send a warning when a yaml filename has an underscore #157

Merged
merged 1 commit into from
Jun 16, 2016

Conversation

cdent
Copy link
Owner

@cdent cdent commented Jun 16, 2016

TestSuites are grouped by test runners by the name that is
generated for the tests within. To ease that grouping it is
useful to have filenames with a known set of characters.

Grouping is also used for py.test fixture handling.

This change raises a warning if a filename has an '' in it,
effectively declaring that though it is possible to use '
',
it can impact grouping.

Fixes #144

TestSuites are grouped by test runners by the name that is
generated for the tests within. To ease that grouping it is
useful to have filenames with a known set of characters.

Grouping is also used for py.test fixture handling.

This change raises a warning if a filename has an '_' in it,
effectively declaring that though it is possible to use '_',
it can impact grouping.

Fixes #144
@cdent
Copy link
Owner Author

cdent commented Jun 16, 2016

As demonstrated by https://review.openstack.org/#/q/topic:cd/fix-gabbi-1.22 the grouping is fragile so we should do what we can to make it at least predictable.

@cdent cdent merged commit 895119a into master Jun 16, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Q: What characters are legal / recommended for test name in YAML?
1 participant