ANNOUNCE: puppet-retrospec -- automate your unit test creation and other cool stuff

140 views
Skip to first unread message

Corey Osman

unread,
Oct 1, 2015, 1:25:01 AM10/1/15
to Puppet Users
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

Henrik Lindberg

unread,
Oct 2, 2015, 7:08:58 PM10/2/15
to puppet...@googlegroups.com
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/

Corey Osman

unread,
Oct 5, 2015, 8:53:34 PM10/5/15
to Puppet Users
I'll be at the contributor summit and conference on thursday-friday. 

Whats the best way to get a hold of you?

Corey

Henrik Lindberg

unread,
Oct 6, 2015, 3:00:25 PM10/6/15
to puppet...@googlegroups.com
On 2015-05-10 17:53, Corey Osman wrote:
> I'll be at the contributor summit and conference on thursday-friday.
>
> Whats the best way to get a hold of you?
>

I will be at the contributor summit as well. I am the "tall Swedish
dude" :-) and you can ping me as @hel on twitter, but it should not be
difficult to find me at the summit.

- henrik
> <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...@googlegroups.com
> <mailto:puppet-users...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/puppet-users/e139c89a-7db0-4548-81e1-63f7532e3319%40googlegroups.com
> <https://groups.google.com/d/msgid/puppet-users/e139c89a-7db0-4548-81e1-63f7532e3319%40googlegroups..com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout.

Martijn

unread,
Oct 7, 2015, 5:40:10 PM10/7/15
to Puppet Users
That looks very useful. Thanks for releasing it!

Regards, Martijn

Op donderdag 1 oktober 2015 07:25:01 UTC+2 schreef Corey Osman:
Reply all
Reply to author
Forward
0 new messages