nwops / puppet-retrospec

The only tool you need to generate puppet code, tests, modules, facts, types, providers, data and everything else.
https://www.retrospec-puppet.com/
GNU Affero General Public License v3.0
137 stars 27 forks source link

add ability to generate new fact and spec tests #31

Closed logicminds closed 9 years ago

logicminds commented 9 years ago

One of the most performed features outside of manifest code it to generate new facts, functions, providers and types. Its a bit a of a pain to set these up by hand and there is no reason why we can't automate this. The request is to perform the following items.

  1. create new fact and associate unit test
  2. create unit tests if fact is already present without unit test

These same procedures can be used for puppet functions, types and providers.

logicminds commented 9 years ago

released in version 0.11.0