Closed zpatten closed 11 years ago
In the latest version of master one can now do something like this in your CC config.rb
:
artifacts ({ "chef-client-log" => "/var/log/chef/client.log",
"chef-client-stacktrace" => "/var/chef/cache/chef-stacktrace.out" })
Artifacts are collated and saved to <chef-repo>/.cucumber-chef/artifacts/<feature>/<feature file name>.txt
I've just about finalized the initial implementation of artifacting for cucumber-chef. This functionality will generate collated artifacts for feature/scenario runs bringing higher visibility and facilitating debugging. Currently the chef-client log and stacktrace are saved. I am implementing this so it will ultimately be configurable; one could generate artifacts from chef generated templates for example.