```ruby
require 'chefspec'
require 'chefspec/berkshelf'

RSpec.configure do |config|
  config.color = true
end

at_exit { ChefSpec::Coverage.report! }
```

Use doc formatter in Chefspec and avoid deprecation warnings
user
```ruby
require 'chefspec'
require 'chefspec/berkshelf'

RSpec.configure do |config|
  config.color = true               # Use color in STDOUT
  config.formatter = :documentation # Use the specified formatter
  config.log_level = :error         # Avoid deprecation notice SPAM
end
```
assistant