I''m in the process of trying to get automated testing for my modules, using puppet-lint, rspec-puppet, puppetlabs_spec_helper and Jenkins. Are there any automated, or semi-automated ways to ensure coverage on my tests? At the moment I am writing tests for existing modules, but I also need to be able to be relatively certain that tests are updated as modules are, and minimize reliance on people remembering to do the right thing. Thanks. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/Zb2LevLGLN4J. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Hi, It sounds like you would like to reduce some of the boilerplate code around your testing? I happened to notice this article you may find useful: http://puppetlabs.com/blog/the-next-generation-of-puppet-module-testing/ best wishes, JS -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/a027HGW_B3UJ. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
On Wednesday, September 19, 2012 4:52:46 PM UTC-5, Jason_s wrote:> > Hi, > > It sounds like you would like to reduce some of the boilerplate code > around your testing? I happened to notice this article you may find useful: > > http://puppetlabs.com/blog/the-next-generation-of-puppet-module-testing/ > > best wishes, JS >I have this bookmarked (and have for months now), it''s very useful, but I am actually wanting some documents that go farther, and also, if possible, a way to automate generating the tests, or at the very least, a way to allow me to be confident that the tests have full coverage of the modules and nodes. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/JK9mgt6LK3sJ. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.