Chefspec
ChefSpec is a unit testing framework for testing Chef cookbooks. ChefSpec makes it easy to write examples and get fast feedback on cookbook changes without the need for virtual machines or cloud servers.
In this section
- A cookbook with a heavy provider and light weight resource
- Overriding attributes in the Runner
- Overriding compile_time in the Runner
- Overriding roles in the Runner
- Testing an LWRP with inline resources
- Testing state attributes
- The apt_package matcher
- The apt_repository matcher
- The apt_update matcher
- The batch matcher
- The bff_package matcher
- The cab_package matcher
- The cached runner
- The chef_gem matcher
- The ChefSpec server
- The ChefSpec server with exotic port
- The ChefSpec server with on-disk storage
- The chocolatey_package matcher
- The cookbook_file matcher
- The cron matcher
- The custom_matcher matcher
- The deploy matcher
- The directory matcher
- The dnf_package matcher
- The do_nothing matcher
- The dpkg_package matcher
- The dsc_resource matcher
- The dsc_script matcher
- The env matcher
- The erl_call matcher
- The execute matcher
- The expect_exception matcher
- The file matcher
- The freebsd_package matcher
- The gem_package matcher
- The git matcher
- The group matcher
- The guards matcher
- The homebrew_package matcher
- The http_request matcher
- The ifconfig matcher
- The include_recipe matcher
- The ips_package matcher
- The launchd matcher
- The link matcher
- The log matcher
- The macports_package matcher
- The mdadm matcher
- The mount matcher
- The msu_package matcher
- The multiple_actions matcher
- The multiple_run_action matcher
- The notifications matcher
- The ohai matcher
- The openbsd_package matcher
- The osx_profile matcher
- The package matcher
- The pacman_package matcher
- The paludis_package matcher
- The portage_package matcher
- The powershell_script matcher
- The reboot matcher
- The registry_key matcher
- The remote_directory matcher
- The remote_file matcher
- The render_file matcher
- The route matcher
- The rpm_package matcher
- The ruby_block matcher
- The script matcher
- The service matcher
- The smartos_package matcher
- The solaris_package matcher
- The step_into matcher
- The stub_command matcher
- The stub_data_bag matcher
- The stub_data_bag_item matcher
- The stub_node matcher
- The stub_search matcher
- The subscribes matcher
- The subversion matcher
- The systemd_unit matcher
- The template matcher
- The user matcher
- The windows_package matcher
- The windows_service matcher
- The yum_package matcher
- The yum_repository matcher
- The zypper_package matcher
Source: features/README.md at commit 324d6896, Chefspec (MIT license).