Skip to content

Commit 94e2c16

Browse files
committed
simplecov in env.rb file for cucumber tests
1 parent 83f8808 commit 94e2c16

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

features/support/env.rb

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,18 @@
44
# instead of editing this one. Cucumber will automatically load all features/**/*.rb
55
# files.
66

7+
8+
require 'simplecov'
9+
SimpleCov.start do
10+
coverage_dir ('public/publix')
11+
#add_filter '/features/'
12+
add_filter '/spec/'
13+
add_filter '/config/'
14+
add_filter '/lib/'
15+
add_filter '/vendor/'
16+
add_filter '/app/'
17+
end
18+
719
require 'cucumber/rails'
820

921
# Capybara defaults to XPath selectors rather than Webrat's default of CSS3. In

0 commit comments

Comments
 (0)