Updated Lint and Unit testing for Havana
For the Havana release we need to establish a base level of lint and unit testing for the cookbooks. The following tests and configurations need to be updated and supported.
Ruby lint: Rubocop
Update dependency to '>= 0.18.1'
.rubocop.yml files providing coverage for the metadata.rb, Gemfile, attributes/, libraries/, providers/, spec/ and recipes/
Remove any tailor references remaining
Usage, configuration and any exceptions need to be documented in the TESTING.md.
Enable these chef-style tests once everything is working https:/
Chef lint: Foodcritic
Update dependency to '>= 3.0'
Ensure all tests are passing.
Usage, configuration and any exceptions need to be documented in the TESTING.md.
Chef unit tests: ChefSpec
Update dependency to '>= 3.1'
Ensure all tests are passing.
Coverage tool should be added like in https:/
Usage, configuration and any exceptions need to be documented in the TESTING.md.
Update the Gemfile, Gemfile.lock, Strainerfile and .gitignore as necessary. Once the cookbook has all of the lint and unit tests passing, ensure all the gates are turned on and notify the mailing list per cookbook.
Blueprint information
- Status:
- Complete
- Approver:
- Matt Ray
- Priority:
- High
- Drafter:
- None
- Direction:
- Approved
- Assignee:
- Justin Shepherd
- Definition:
- Approved
- Series goal:
- Accepted for havana
- Implementation:
- Implemented
- Milestone target:
- havana-stable
- Started by
- Justin Shepherd
- Completed by
- Justin Shepherd
Related branches
Related bugs
Sprints
Whiteboard
Gerrit topic: https:/
Addressed by: https:/
Initial rubocop support for recipes.
Addressed by: https:/
Filling out initial rubocop support.
Addressed by: https:/
Filling out initial rubocop support.
Addressed by: https:/
Filling out initial rubocop support.
Addressed by: https:/
Filling out initial rubocop support for metadata.rb and the Gemfile.
Addressed by: https:/
Filling out initial rubocop support for metadata.rb and the Gemfile.
Addressed by: https:/
Filling out initial rubocop support for metadata.rb and the Gemfile.
Addressed by: https:/
Filling out initial rubocop support for metadata.rb and the Gemfile.
Addressed by: https:/
Filling out initial rubocop support for metadata.rb and the Gemfile.
Addressed by: https:/
Filling out initial rubocop support for metadata.rb and the Gemfile.
Addressed by: https:/
Initial Rubocop cleanup.
Addressed by: https:/
Filling out initial rubocop support.
== Changes Needing Reviews ==
Gerrit topic: https:/
Addressed by: https:/
Adding ChefSpec::Coverage to spec_helper.rb
Addressed by: https:/
Adding ChefSpec::Coverage to spec_helper.rb
Addressed by: https:/
Adding ChefSpec::Coverage to spec_helper.rb
Addressed by: https:/
Adding ChefSpec::Converge to spec_helper.rb
Addressed by: https:/
Adding ChefSpec::Coverage to spec_helper.rb
Addressed by: https:/
Adding ChefSpec::Converge to spec_helper.rb
Addressed by: https:/
Adding ChefSpec::Coverage to spec_helper.rb
Addressed by: https:/
Adding ChefSpec::Coverage to spec_helper.rb
Addressed by: https:/
Add ChefSpec::Coverate to spec_helper.rb
Addressed by: https:/
Adding ChefSpec::Coverage to spec_helper.rb
Addressed by: https:/
Restricting ChefSpec::Coverage to this cookbook
Addressed by: https:/
Adding ChefSpec::Coverage to spec_helper.rb
Addressed by: https:/
Adding tests for untouched resources
Work Items
Work items:
Rubocop: DONE
Update Foodcritic: DONE
Update Chefspec: DONE
Add Chefspec::Coverage: INPROGRESS
Dependency tree
* Blueprints in grey have been implemented.