Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

updated rakefile to include/exclude the right files for the coverage …

…report
  • Loading branch information...
commit cf34d12780c6176ff9551ac3054827dfb2b271e0 1 parent ad4e212
@derickbailey authored
Showing with 6 additions and 6 deletions.
  1. +6 −6 rakefile.rb
View
12 rakefile.rb
@@ -45,11 +45,11 @@
fullcoveragereport.output_path = @@coverage_report
ncr.reports << fullcoveragereport
- ncr.required_coverage << NCover::BranchCoverage.new(:minimum => 10)
- ncr.required_coverage << NCover::SymbolCoverage.new(:minimum => 50)
- ncr.required_coverage << NCover::MethodCoverage.new(:minimum => 10)
- ncr.required_coverage << NCover::CyclomaticComplexity.new(:maximum => 200, :item_type => :Class)
+ ncr.required_coverage << NCover::BranchCoverage.new(:minimum => 75)
+ ncr.required_coverage << NCover::SymbolCoverage.new(:minimum => 80)
+ ncr.required_coverage << NCover::MethodCoverage.new(:minimum => 80)
+ ncr.required_coverage << NCover::CyclomaticComplexity.new(:maximum => 20, :item_type => :Class)
- ncr.filters << NCover::AssemblyFilter.new(:filter_type => :include, :filter => "UoW.*")
- ncr.filters << NCover::AssemblyFilter.new(:filter_type => :exclude, :filter => "UoW.Specs.*")
+ ncr.filters << NCover::AssemblyFilter.new(:filter_type => :include, :filter => "UoW*")
+ ncr.filters << NCover::AssemblyFilter.new(:filter_type => :exclude, :filter => "UoW.Specs*")
end
Please sign in to comment.
Something went wrong with that request. Please try again.