[Puppet Users] Slides TDD with puppet - puppetcamp paris yesterday

2014-04-09 Thread Johan De Wit
Hi, http://www.slideshare.net/johandw/20140408-tdd-puppetcampparis Comments are welcome Grts Johan -- Johan De Wit Open Source Consultant Red Hat Certified Engineer (805008667232363) Puppet Certified Professional 2013/2014 (PCP006)

Re: [Puppet Users] Slides TDD with puppet - puppetcamp paris yesterday

2014-04-09 Thread Gareth Rushgrove
Ha. Snap. A talk I gave at Puppetcamp London: https://speakerdeck.com/garethr/test-driven-development-for-puppet And another talk from Loaddays by Garrett: http://www.slideshare.net/gh/20140406-loa-daystddwithpuppettutorial That's three talks with the same title in less than a week. I believe w

Re: [Puppet Users] Slides TDD with puppet - puppetcamp paris yesterday

2014-04-13 Thread Johan De Wit
And add another one to the list. Well, i did the same talk for the Berlin Puppet User Group, as the one I did in Paris. I still am so surprised when asking who is doing some kind of 'testing', almost nobody raises is hand . Most people just don't' see the sense of doing rspec unit tests

Re: [Puppet Users] Slides TDD with puppet - puppetcamp paris yesterday

2014-04-14 Thread Alexander Fortin
On Sunday, April 13, 2014 11:57:19 AM UTC+2, Johan De Wit wrote: > > I still am so surprised when asking who is doing some kind of 'testing', > almost nobody raises is hand . > > Most people just don't' see the sense of doing rspec unit tests - why > writing the same code twice ? > > Well,

Re: [Puppet Users] Slides TDD with puppet - puppetcamp paris yesterday

2014-04-15 Thread Sven Sporer
Hey Alexander, you could also check out serverspec[1] for acceptance tests. It provides simple RSpec tests for your server with a lot of puppet-like matchers, but it's not tied to Puppet (heresy! :). We use it to validate our modules and are very happy with it. Sven [1] http://serverspec.org/

Re: [Puppet Users] Slides TDD with puppet - puppetcamp paris yesterday

2014-04-15 Thread Nikola Petrov
On Mon, Apr 14, 2014 at 07:05:49AM -0700, Alexander Fortin wrote: > On Sunday, April 13, 2014 11:57:19 AM UTC+2, Johan De Wit wrote: > > > > I still am so surprised when asking who is doing some kind of 'testing', > > almost nobody raises is hand . > > > > Most people just don't' see the sens

Re: [Puppet Users] Slides TDD with puppet - puppetcamp paris yesterday

2014-04-15 Thread Felix Frank
On 04/15/2014 09:25 AM, Nikola Petrov wrote: > I haven't used catalog-diff but I > am suspecting that it might be a substitute for the rspec tests. Tell me No. rspec allows you to implement unit tests to catch certain regression bugs. catalog-diff is rather concerned with integration testing (alth

Re: [Puppet Users] Slides TDD with puppet - puppetcamp paris yesterday

2014-04-15 Thread Alexander Fortin
On Tuesday, April 15, 2014 1:10:05 PM UTC+2, Felix.Frank wrote: > > On 04/15/2014 09:25 AM, Nikola Petrov wrote: > > I haven't used catalog-diff but I > > am suspecting that it might be a substitute for the rspec tests. Tell me > > No. rspec allows you to implement unit tests to catch certain re

Re: [Puppet Users] Slides TDD with puppet - puppetcamp paris yesterday

2014-04-15 Thread Johan De Wit
Great having a discussion on testing. I have to reread all your comments, having a busy week catching up with work after a week of having fun at all the puppetcamps. I keep on tracking this thread, and will add my thoughts soon. Thanks for all your comments' Johan On 15/04/14 15:46, Alexan

Re: [Puppet Users] Slides TDD with puppet - puppetcamp paris yesterday

2014-04-17 Thread Nikola Petrov
On Tue, Apr 15, 2014 at 06:46:21AM -0700, Alexander Fortin wrote: > On Tuesday, April 15, 2014 1:10:05 PM UTC+2, Felix.Frank wrote: > > > > On 04/15/2014 09:25 AM, Nikola Petrov wrote: > > > I haven't used catalog-diff but I > > > am suspecting that it might be a substitute for the rspec tests. T

Re: [Puppet Users] Slides TDD with puppet - puppetcamp paris yesterday

2014-04-17 Thread Felix Frank
On 04/17/2014 09:06 AM, Nikola Petrov wrote: > Of course we want to start using beaker for those kind of tests so we > don't push crap on the bear metal(although it is not metal most of the > time) ...but usually just bears. ;-D (Yeah I know. Sorry. It is just such a cute typo that I couldn't res

Re: [Puppet Users] Slides TDD with puppet - puppetcamp paris yesterday

2014-04-17 Thread Nikola Petrov
:D. Too fast for da bears. On Thu, Apr 17, 2014 at 09:46:18AM +0200, Felix Frank wrote: > On 04/17/2014 09:06 AM, Nikola Petrov wrote: > > Of course we want to start using beaker for those kind of tests so we > > don't push crap on the bear metal(although it is not metal most of the > > time) > >