On Aug 25, 2008, at 6:24 AM, Brice Figureau wrote:

> OK, I had a look to those.
> I have some questions:
> * should I implement both tests (ie in ral and Rspec)? or Rspec is
> enough?

As James says, only rspec -- we just haven't had a chance to migrate  
the old tests.

>
> * there is no service test in the Rspec part (except one in the
> integration directory), or did I missed something?
>
> I think I'll do something along the lines of
> spec/unit/provider/package/hpux.rb but adapted to my service (ie check
> that the commands issued are the good ones and that the object
> implements all the necessary methods)


As you say, just copy the mould of the package provider tests --  
verify that the commands run are the right ones, etc.

-- 
You've achieved success in your field when you don't know whether what
you're doing is work or play. -- Warren Beatty
---------------------------------------------------------------------
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