On 2015-01-10 7:24, Corey Osman wrote:
Last year I had an idea to create a tool to automate the buildout of puppet
unit tests by inspecting puppet code inside puppet manifests. Along with this
idea I also wanted to retrofit any puppet module with the latest best
practices, gems, rake commands and other stuff in development within the
community. So today I am releasing a revamped version of this tool in the form
of a retrospec plugin.
I am happy to announce availability of this tool for mass consumption. I have
been using my own tool over the past few months almost every day and I can no
longer keep this tool a secret as I know it will save you hours of time and
frustration.
The reason I built this tool is simply because unit testing is too difficult
for the average puppet coder. There are just too many blogs, ruby versions,
gems, and other tools to learn. When I first started unit testing,
I documented my problems and setup procedures and eventually committed them to
code to make them easily reproducible. I have reduced the typical learning
curve of several weeks down to a few simple key strokes.
I’m confident that you will love this tool and use it everyday to assist in the
creation of your modules.
To get started: 'gem install puppet-retrospec && retrospec puppet' inside your
favorite puppet module directory.
https://github.com/nwops/puppet-retrospec (puppet module unit test generator
plugin)
https://github.com/nwops/retrospec (file generator framework)
Corey
Hi Corey, the tool looks really cool. If you are at Puppet Conf next
week, hit me up and I can help with getting this working for 4.x (and
future parser in 3.8). You should be able to support both just like
puppet does.
Regards
- henrik
--
Visit my Blog "Puppet on the Edge"
http://puppet-on-the-edge.blogspot.se/
--
You received this message because you are subscribed to the Google Groups "Puppet
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/mun2p3%24ie8%241%40ger.gmane.org.
For more options, visit https://groups.google.com/d/optout.