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 glob pattern support to gossfile #222

Closed
AlexandreCarlton opened this issue Apr 9, 2017 · 0 comments
Closed

Add glob pattern support to gossfile #222

AlexandreCarlton opened this issue Apr 9, 2017 · 0 comments

Comments

@AlexandreCarlton
Copy link
Contributor

In order to add easily add tests to an existing goss suite it would be great if the gossfile feature supported the use of glob patterns. This could be used to specify all files in a folder when running a test suite:

gossfile:
  goss_*.yaml: {}

Instead of manually having to append filenames to the main goss file, we could merely drop in a file matching the goss_*.yaml pattern and be on our merry way.

AlexandreCarlton added a commit to AlexandreCarlton/goss that referenced this issue Apr 9, 2017
This will ease the addition of tests to an existing goss test suite. All
that is necessary is to drop in a file matching the existing pattern.

References goss-org#222
AlexandreCarlton added a commit to AlexandreCarlton/goss that referenced this issue Apr 9, 2017
This will ease the addition of tests to an existing goss test suite. All
that is necessary is to drop in a file matching the existing pattern.

References goss-org#222
AlexandreCarlton added a commit to AlexandreCarlton/goss that referenced this issue Apr 9, 2017
This will ease the addition of tests to an existing goss test suite. All
that is necessary is to drop in a file matching the existing pattern.

References goss-org#222
aelsabbahy pushed a commit that referenced this issue Apr 23, 2017
* Add glob pattern support to gossfile

This will ease the addition of tests to an existing goss test suite. All
that is necessary is to drop in a file matching the existing pattern.

References #222

* Convert tests to use glob patterns for gossfiles

This is done with the exception of 'arch', which only includes
'goss-shared.yaml'.
BenjaminHerbert pushed a commit to BenjaminHerbert/goss that referenced this issue May 28, 2020
* Add glob pattern support to gossfile

This will ease the addition of tests to an existing goss test suite. All
that is necessary is to drop in a file matching the existing pattern.

References goss-org#222

* Convert tests to use glob patterns for gossfiles

This is done with the exception of 'arch', which only includes
'goss-shared.yaml'.
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

No branches or pull requests

2 participants