Re: [Puppet Users] Code coverage for puppet resources

2016-06-17 Thread Chris Denneen
Looks like there are few issues open like these: https://github.com/rodjek/rspec-puppet/issues/285 https://github.com/rodjek/rspec-puppet/issues/158 If anyone knows a way in Rakefile to exclude from coverage I'd be greatful. -- You received this message because you are subscribed to the

Re: [Puppet Users] Code coverage for puppet resources

2016-06-17 Thread Chris Denneen
Well for example if i use your puppet-module-skeleton... create a module that uses the rspec-puppet-facts for centos 5,6,7. include ::selinux (jfryman/selinux) in coverage report it shows the following missing: Package[policycoreutils-devel] Package[policycoreutils-python]

Re: [Puppet Users] Code coverage for puppet resources

2016-06-17 Thread Gareth Rushgrove
On 17 June 2016 at 15:24, Chris Denneen wrote: > Gareth, > > I know this thread is old but do you have a way in the Rakefile to exclude > the dependent modules? > For example dependent modules that include different package resources based > on OSfamily and version are

Re: [Puppet Users] Code coverage for puppet resources

2016-06-17 Thread Chris Denneen
Gareth, I know this thread is old but do you have a way in the Rakefile to exclude the dependent modules? For example dependent modules that include different package resources based on OSfamily and version are something that module controls and tests I just need to make sure that the module

Re: [Puppet Users] Code coverage for puppet resources

2014-02-07 Thread Gavin Williams
Gareth/Garret Not sure if it helps, but I've managed to exclude stuff from Coveralls by using simplecov filters... E.g.: https://github.com/fatmcgav/puppet-glassfish/commit/5f7d40c2257f469a297edd04a7dbac068306b82b Gav On Friday, 7 February 2014 02:51:26 UTC, Garrett Honeycutt wrote: On

Re: [Puppet Users] Code coverage for puppet resources

2014-02-07 Thread Gareth Rushgrove
On 7 February 2014 02:51, gh g...@garretthoneycutt.com wrote: On 1/26/14 7:50 AM, Gareth Rushgrove wrote: For anyone else who likes writing tests for their puppet manifests, I've just added basic code coverage to rspec-puppet: A blog post here about how to use it:

Re: [Puppet Users] Code coverage for puppet resources

2014-02-07 Thread Martin Alfke
On 07 Feb 2014, at 11:54, Gareth Rushgrove gar...@morethanseven.net wrote: On 7 February 2014 02:51, gh g...@garretthoneycutt.com wrote: On 1/26/14 7:50 AM, Gareth Rushgrove wrote: For anyone else who likes writing tests for their puppet manifests, I've just added basic code coverage to

Re: [Puppet Users] Code coverage for puppet resources

2014-02-06 Thread gh
On 1/26/14 7:50 AM, Gareth Rushgrove wrote: For anyone else who likes writing tests for their puppet manifests, I've just added basic code coverage to rspec-puppet: A blog post here about how to use it: http://www.morethanseven.net/2014/01/25/code-coverage-for-puppet-modules/ I'd be

Re: [Puppet Users] Code coverage for puppet resources

2014-02-05 Thread Nikola Petrov
Bah!! I am waiting for this from months. Thanks so much! Now I will be able to actually measure my coverage and not blindly rely on proper TDD. -- Nikola On Sun, Jan 26, 2014 at 12:50:44PM +, Gareth Rushgrove wrote: For anyone else who likes writing tests for their puppet manifests,

[Puppet Users] Code coverage for puppet resources

2014-01-26 Thread Gareth Rushgrove
For anyone else who likes writing tests for their puppet manifests, I've just added basic code coverage to rspec-puppet: A blog post here about how to use it: http://www.morethanseven.net/2014/01/25/code-coverage-for-puppet-modules/ I'd be interested in any feedback on how to improve or add to