Re: [Puppet Users] Re: Good resources for writing rspec tests for puppet code changes?

2014-02-19 Thread HPUX_PUPPET
Thanks Johan and Martin. I looked at the links you sent, but this is what I have already found and it really did not provide any new insights. The main problem I am having is that what I put in rspec code should be working but just does not. I have even hard-coded in a true or false return,

Re: [Puppet Users] Re: Good resources for writing rspec tests for puppet code changes?

2014-02-19 Thread Johan De Wit
On 02/19/2014 03:22 PM, HPUX_PUPPET wrote: Thanks Johan and Martin. I looked at the links you sent, but this is what I have already found and it really did not provide any new insights. The main problem I am having is that what I put in rspec code should be working but just does not. I have

Re: [Puppet Users] Re: Good resources for writing rspec tests for puppet code changes?

2014-02-19 Thread HPUX_PUPPET
On Wednesday, February 19, 2014 9:28:55 AM UTC-5, Johan De Wit wrote: Don't have any experience/access to hpux, but you can always show us the code and the rspec files. So we can have at least a look at it :) And multiple eyes see more then two :) Thanks. I think I tracked the

[Puppet Users] Re: Good resources for writing rspec tests for puppet code changes?

2014-02-18 Thread HPUX_PUPPET
Just to expand a bit more here... I am not talking about puppet .pp files, but the back-end Ruby source files. I see a lot of things about puppet-lint, puppet-rspec and similar tools, but from the best I can tell, these are for modules and configuration of puppet operation and not puppet code

[Puppet Users] Re: Good resources for writing rspec tests for puppet code changes?

2014-02-18 Thread HPUX_PUPPET
Just a bit more explanation... When I was looking for references I was only finding puppet-lint and rspec-puppet for testing manifests, but not finding anything for writing the spec files to test module functionality or modifications to existing modules such as the HPUX user management.

Re: [Puppet Users] Re: Good resources for writing rspec tests for puppet code changes?

2014-02-18 Thread Johan De Wit
On 02/19/2014 02:03 AM, HPUX_PUPPET wrote: Just a bit more explanation... When I was looking for references I was only finding puppet-lint and rspec-puppet for testing manifests, but not finding anything for writing the spec files to test module functionality or modifications to existing