Open logicminds opened 9 years ago
I started a side project to help fix this problem. https://github.com/logicminds/genfix
However, it relies on librarian-puppet and I wasn't sure how that would get mixed in with development modules. The genfix script isn't finished as I was having an issue with merging things into a single file and covering all sources of dependencies without wiping out the existing fixtures file.
It should be possible to read the metadata.json, fixtures.yml, modulefile or Puppetfile to generate a hash of dependencies that would be required to produce a set of module dependencies in order to automatically generate a proper fixtures.yml file for puppetlabs-spec-helper to consume. Otherwise we still require manually populating the fixtures/modules directory.