Sha256: 882e494b9308e859cf995f59a0ccc472145bec584db0fa669934687f7ce5862c
Contents?: true
Size: 1012 Bytes
Versions: 42
Compression:
Stored size: 1012 Bytes
Contents
# Run simplecov by default SimpleCov.start unless ENV.key? 'ARUBA_NO_COVERAGE' SimpleCov.configure do # ignore this file add_filter '.simplecov' add_filter 'spec' add_filter 'features' # Rake tasks aren't tested with rspec add_filter 'Rakefile' add_filter 'lib/tasks' # # Changed Files in Git Group # @see http://fredwu.me/post/35625566267/simplecov-test-coverage-for-changed-files-only untracked = `git ls-files --exclude-standard --others` unstaged = `git diff --name-only` staged = `git diff --name-only --cached` all = untracked + unstaged + staged changed_filenames = all.split("\n") add_group 'Changed' do |source_file| changed_filenames.select do |changed_filename| source_file.filename.end_with?(changed_filename) end end add_group 'Libraries', 'lib' # Specs are reported on to ensure that all examples are being run and all # lets, befores, afters, etc are being used. add_group 'Specs', 'spec' end
Version data entries
42 entries across 42 versions & 2 rubygems
Version | Path |
---|---|
aruba-0.8.0.pre2 | .simplecov |
aruba-0.8.0.pre | .simplecov |