On Saturday, February 22, 2014 4:04:51 AM UTC-6, Johan De Wit wrote:
>
>  Have a look at rpec-pupept and the .fixture.yaml file.
>
> http://puppetlabs.com/blog/the-next-generation-of-puppet-module-testing
>
> an expert from the text :
>
> *.fixtures.yml*. This file is used by the common rake tasks to 
> automatically install dependencies for test runs. For our example, its 
> contents should be: 
>
> fixtures:
>   repositories:
>     stdlib: git://github.com/puppetlabs/puppetlabs-stdlib.git
>   symlinks:
>     apache: "#{source_dir}"
>
> This defines a testing environment with two modules: one called ‘stdlib’ 
> fetched from a Github repository, and one called ‘apache’ (our module) 
> which will be a symlink to the current source directory.
>  
> Grts
>  
> Jo
>
Thanks Johan,
I was looking http://rspec-puppet.com/  which I didn't see a mention of 
fixtures.yml.  The puppetlabs_spec_helper has helped get the dependencies 
for my tests. It looks like it can do some other useful things for me as 
well.

Thanks!


-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-dev/3163958f-9153-4ea0-b3f8-a39a94f6ff13%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to