Skip to content
Snippets Groups Projects
Verified Commit 80a44fc8 authored by Jeffrey Phillips Freeman's avatar Jeffrey Phillips Freeman :boom:
Browse files

Added branch coverage support

parent 567af79b
No related branches found
No related tags found
No related merge requests found
...@@ -24,7 +24,8 @@ SimpleCov.start do ...@@ -24,7 +24,8 @@ SimpleCov.start do
add_group 'Frames', 'lib/apex/frame' add_group 'Frames', 'lib/apex/frame'
coverage_criterion :branch #coverage_criterion :branch
enable_coverage :branch
track_files '{app,lib}/**/*.rb' track_files '{app,lib}/**/*.rb'
end end
# OPTIONAL # OPTIONAL
...@@ -36,7 +37,7 @@ SimpleCov::Formatter::Console.sort = 'path' # sort by file path ...@@ -36,7 +37,7 @@ SimpleCov::Formatter::Console.sort = 'path' # sort by file path
SimpleCov::Formatter::Console.show_covered = true # show all files in coverage report SimpleCov::Formatter::Console.show_covered = true # show all files in coverage report
SimpleCov::Formatter::Console.max_rows = 300 # integer SimpleCov::Formatter::Console.max_rows = 300 # integer
#SimpleCov::Formatter::Console.max_lines = 5 # integer #SimpleCov::Formatter::Console.max_lines = 5 # integer
SimpleCov::Formatter::Console.missing_len = 175 # integer SimpleCov::Formatter::Console.missing_len = 125 # integer
#SimpleCov::Formatter::Console.output_style = 'block' # 'table' (default) or 'block' #SimpleCov::Formatter::Console.output_style = 'block' # 'table' (default) or 'block'
#SimpleCov::Formatter::Console.table_options = {:style => {:width => 200}} #SimpleCov::Formatter::Console.table_options = {:style => {:width => 200}}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment