On Sep 30, 2009, at 5:41 PM, Matt Delves wrote:

>
> Hey folks,
> I'm in the process of writing my own custom type for use with  
> puppet, though am wondering how I should go about writing tests for  
> the type to make sure that everything is behaving as it should.
>
> Any links to puppet specific documentation or even ruby best  
> practices would be greatly appreciated.

I keep meaning to blog about this, but as is obvious, I haven't  
successfully blogged in, um, a long time.

The short answer, as James provided, is that following the existing  
types is the best example you can get at this point.  I would pick the  
most recent tests -- the more recent they are, the better they are  
likely to be.

-- 
Neonle will continue to be rude, and will nretend that you had a small
stroke which makes you unable to say or see the letter "n". Stunid
nractical joke, if you ask me. Bunch of noon-heads, huh?
     -- Fred Barling, Humorscope
---------------------------------------------------------------------
Luke Kanies | http://reductivelabs.com | http://madstop.com


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/puppet-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to