Skip to content

Commit

Permalink
Merge pull request #496 from khaled-badenjki/docs/update-track-views-…
Browse files Browse the repository at this point in the history
…default-values

docs: update README.md to have track_views default as true
  • Loading branch information
danmayer authored Dec 31, 2023
2 parents feb72c6 + d952daa commit d0b77ab
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -179,11 +179,6 @@ Coverband.configure do |config|
# default false. button at the top of the web interface which clears all data
config.web_enable_clear = true

# default false. Experimental support for tracking view layer tracking.
# Does not track line-level usage, only indicates if an entire file
# is used or not.
config.track_views = true

# default false. Experimental support for routes usage tracking.
config.track_routes = true
end
Expand Down Expand Up @@ -221,9 +216,9 @@ config.ignore += ['config/application.rb',

Coverband allows an optional feature to track all view files that are used by an application.

To opt-in to this feature... enable the feature in your Coverband config.
This feature is enabled by default. To stop this feature, disable the feature in your Coverband config.

`config.track_views = true`
`config.track_views = false`

![image](https://raw.github.com/danmayer/coverband/master/docs/coverband_view_tracker.png)

Expand Down

0 comments on commit d0b77ab

Please # to comment.