diff options
author | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-09-07 15:40:29 +0000 |
---|---|---|
committer | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-09-07 15:40:29 +0000 |
commit | ccaf52e244f7da1fc0061ecbc8025b46dcdfd53d (patch) | |
tree | f8d575910c93a43ed7bb8d2081a595064e080b55 /.gitignore | |
parent | 1a643bac88c7f40a5dd8093fcb35d08236b327c5 (diff) | |
download | bundler-ccaf52e244f7da1fc0061ecbc8025b46dcdfd53d.tar.gz |
Measure the test coverage without SimpleCov
Now `make test-all COVERAGE=true` measures the test coverage by using
`coverage.so` directly, and visualize the result by simplecov-html.
There has been some problems in coverage measurement with SimpleCov.
(They are not SimpleCov's fault, though.)
(1) It is difficult to extract the measured data as a machine-readable
format, such as Marshal. I want to visualize the coverage data with
other coverage tools, such as LCOV and Cobertura.
(I know we can use SimpleCov's formatter mechanism, but I don't want
to depend upon SimpleCov so much.)
(2) SimpleCov seems to miss some coverage data. For example,
`lib/cgi.rb` and `lib/ostruct.rb` are dropped. I don't know why.
(3) I have a plan to enhance `coverage.so` with branch coverage.
It would be difficult to continue to only use SimpleCov as is.
This is the most important reason.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59770 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to '.gitignore')
-rw-r--r-- | .gitignore | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore index a5567a0271..5517f80fad 100644 --- a/.gitignore +++ b/.gitignore @@ -116,6 +116,7 @@ lcov*.info /run.gdb /sizes.c /test.rb +/test-coverage.dat /tmp /transdb.h /uncommon.mk |