(1) a compile test is good, really good. make sure cheap tests happen first (and fail fast) before expensive ones. (2) I have a strong bias for having the automated jobs just run "bundle exec rake test" or something like that, so that you can use the same job for multiple modules
On Thu, Aug 7, 2014 at 8:11 AM, Nick Cammorato <nick.cammor...@gmail.com> wrote: > Pre-commit hooks are great but Github and github enterprise won't enforce > them(arbitrary code on the server is uncool for some reason), so if you > want to be 100% and use either they still need to be run as part of your > jenkins build task. > On Aug 6, 2014 7:11 PM, "John Warburton" <jwarbur...@gmail.com> wrote: > >> On 7 August 2014 02:17, Bernard Clark <berniecla...@gmail.com> wrote: >> >>> I'm setting up a jenkins server to perform continuous integration on my >>> puppet codebase, and I'm interested in running at least the following tests: >>> >>> - puppet parser validate >>> - puppet lint >>> >>> These are cheap to do. Give yourself immediate feedback by making them >> pre commit hooks - >> http://puppetlabs.com/blog/how-set-git-commit-hooks-puppet-enterprise >> >>> >>> - rspec-puppet >>> - test-kitchen >>> >>> Have I overlooked any other worthwhile tests, and has the community >>> distilled any wisdom about best practices, particularly regarding git >>> workflow? Any advice would be much appreciated! >>> >> Look at server spec as well - http://serverspec.org/ >> >> John >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Puppet Users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to puppet-users+unsubscr...@googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/puppet-users/CAAJLFxV%2BmR%3D88Wkh-GXYqOuZdboXdH2YTV%3DtAM47n0yUVNegKQ%40mail.gmail.com >> <https://groups.google.com/d/msgid/puppet-users/CAAJLFxV%2BmR%3D88Wkh-GXYqOuZdboXdH2YTV%3DtAM47n0yUVNegKQ%40mail.gmail.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to puppet-users+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/puppet-users/CAKJ8awdGpfA7Ox9TbYqgdfOwLMax-2mTqvQZ1PpxKZjToGnZWw%40mail.gmail.com > <https://groups.google.com/d/msgid/puppet-users/CAKJ8awdGpfA7Ox9TbYqgdfOwLMax-2mTqvQZ1PpxKZjToGnZWw%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CAFt4V4%3DDAG8GsnzvYDXc9xKWKpTdUgq-Jc67eQ%2BGPwwwYa0Rqg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.