On Wed, 3 Mar 2010 13:38:17 -0800, Jesse Wolfe <[email protected]> wrote: > It's unfortunate that the existing up2date provider doesn't already have > unit tests. > They would live in spec/unit/provider/package/up2date.rb . There are > already > a few files in that directory for some other providers. > We do have a little bit of documentation about our test standards at > http://reductivelabs.com/trac/puppet/wiki/Development/WritingTests > A new patch is only expected to contain tests to exercise the code that it > changes. > > ~Jesse
Thanks, I'm reading up on RSpec now. I'll try and get this done this week. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. -- 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.
