Closed 0xStarcat closed 1 year ago
Hello @0xStarcat,
It is indeed a good idea. I will look into it.
Greetings, @quintush
Hi @quintush .
Just wanted to know whether have you been working on this one. We are interested in a similar functionality. Actually, we desire to have a global wildcard (*) and that would glob all the templates under the templates directory. We can then use it with snapshot testing to match the snapshots under different scenarios.
Hey! I really love this plugin. I had a request that I think would be a nice feature to add for testing scenarios like the one I'm encountering.
Say your team's pattern is to separate configMaps into their own files:
And say you want to run a test on all of them plus any future files that get added to the
templates/configMaps
directory. At present, the test requires you to manually add a new template entry to the list each time.It would be really useful if this test just could "discover" any yaml files inside of the directory without needing you to explicitly add them to the test. Like so:
or maybe