> So - as I look to expand and improve, I'd greatly welcome ideas and
> requests for coverage. If you've read the book, excellent. If not,
> let me know - we can get you a copy to read.
I'd like to see some real-world examples of test-driven development with regards to cookbooks, starting fairly simply but working up to the level of some of the most complex cookbooks out there -- perhaps even take one of the more complex cookbooks out there and use it as another example.
I'd also like to see detailed discussion of minitest and Rspec in comparison & contrast with a tool like cucumber, and how tools like Jenkins (or other CI platforms) can also integrated into that.
Right now, we're not doing any TDD at all, and I'd like to fix that.
But that means retrofitting a lot of testing on top of many existing cookbooks (over 50 cookbooks, comprising over 50k lines of "infrastructure as code"), and that also means using the right tool for the job -- whatever that might mean with regards to any testing, development, or CI tools that could potentially be involved.
And yes, I'd love to read a copy of the current book, as well as being involved in the next one.
--
Brad Knowles <bkno...@ihiji.com>
SAGE Level IV, Chef Level 0.0.1
--
You received this message because you are subscribed to the Google Groups "chef-testing" group.
To post to this group, send email to chef-t...@googlegroups.com.
To unsubscribe from this group, send email to chef-testing...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/chef-testing?hl=en.
However, amongst the critics, the general view is that the book needs
more worked examples and more meat around the actual testing.
> As Brad_K points out, it would be great to test an existing cookbook. I recommend ntp
Oh, if you're going to do NTP, then I'll resurrect all my old contacts with the NTP Public Services Project and the NTP Forum, and I assure you that we will do everything we possibly can to make the cookbook as correct and full-featured as possible.
You might even help me convince them that they need to use Chef to manage their entire development/build architecture, which could help drive chef to support many additional platforms that are not currently covered.
There's lots of potential for serious depth there.
> At my company for example we're not using ec2 at all for privacy reasons and I'm mostly interested in solutions which could be integrated in a VirtualBox/Vagrant/VMware environment.
Oh, crap. I didn't know that it was ec2-specific. We use Rackspace, and if ec2 is a requirement for cucumber-chef, then it would not be possible for us.
Yeah, we definitely would want to cover multiple chef implementation environments.
Thanks for the info!
Oh, crap. I didn't know that it was ec2-specific. We use Rackspace, and if ec2 is a requirement for cucumber-chef, then it would not be possible for us.
Yeah, we definitely would want to cover multiple chef implementation environments.
That's exciting to hear! I think that could be a really good focus for getting testing and Chef to the next level and communicating the why's and hows...
Since a lot of us are just getting started on injecting testing into our workflow, it might be great to have some way that we can start from some common frameworks or patterns, try them out / use them in our own environments and then submit appropriate results into your book...
I don't know if it would be worth having a wiki or some way to help crowdsource parts of the book this way... But it could be a virtuous cycle to try for something like that...
On Mar 6, 2012, at 5:43 PM, Stephen Nelson-Smith wrote:> So - as I look to expand and improve, I'd greatly welcome ideas and
> requests for coverage. If you've read the book, excellent. If not,
> let me know - we can get you a copy to read.I'd like to see some real-world examples of test-driven development with regards to cookbooks, starting fairly simply but working up to the level of some of the most complex cookbooks out there -- perhaps even take one of the more complex cookbooks out there and use it as another example.
I'd also like to see detailed discussion of minitest and Rspec in comparison & contrast with a tool like cucumber, and how tools like Jenkins (or other CI platforms) can also integrated into that.
Right now, we're not doing any TDD at all, and I'd like to fix that.
But that means retrofitting a lot of testing on top of many existing cookbooks (over 50 cookbooks, comprising over 50k lines of "infrastructure as code"), and that also means using the right tool for the job -- whatever that might mean with regards to any testing, development, or CI tools that could potentially be involved.
And yes, I'd love to read a copy of the current book, as well as being involved in the next one.
What I didn't like about it though was that you've only scratched the surface in respect of testing and that cucumber-chef is just way to ec2-centric. If you read the synopsis e.g. at the german Amazon store (http://www.amazon.de/dp/1449304818) - don't worry, synopsis' in english - it's way to unclear that Amazon's ec2 is a requirement to run the examples. The title didn't show this either.
At my company for example we're not using ec2 at all for privacy reasons and I'm mostly interested in solutions which could be integrated in a VirtualBox/Vagrant/VMware environment. As Brad already said taking build servers like Jenkins into account would be helpful as well.
On Mar 7, 2012, at 3:42 AM, Mike Adolphs wrote:> At my company for example we're not using ec2 at all for privacy reasons and I'm mostly interested in solutions which could be integrated in a VirtualBox/Vagrant/VMware environment.
Oh, crap. I didn't know that it was ec2-specific. We use Rackspace, and if ec2 is a requirement for cucumber-chef, then it would not be possible for us.
On Wednesday, March 7, 2012 8:27:12 AM UTC-8, Brad Knowles wrote:Oh, crap. I didn't know that it was ec2-specific. We use Rackspace, and if ec2 is a requirement for cucumber-chef, then it would not be possible for us.
Yeah, we definitely would want to cover multiple chef implementation environments.
Not only that, it was tailored specifically to Hosted-Chef, which means I've never used it. I have looked at chefspec and used foodcritic quite a bit though.
I did enjoy the book, but the rather niche requirements to get into cucumber-chef disappointed me.
S.--
You received this message because you are subscribed to the Google Groups "chef-testing" group.
To view this discussion on the web visit https://groups.google.com/d/msg/chef-testing/-/J6lqO90oGJMJ.
To post to this group, send email to chef-t...@googlegroups.com.
To unsubscribe from this group, send email to chef-testing...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/chef-testing?hl=en.