git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61461 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
kazu 2017-12-25 03:01:07 +00:00
Родитель d66f2d4443
Коммит 1ef1557896
1 изменённых файлов: 2 добавлений и 2 удалений

4
NEWS
Просмотреть файл

@ -252,7 +252,7 @@ with all sufficient information, see the ChangeLog file or Redmine
and methods are executed by a test, and evaluate total coverage of a test and methods are executed by a test, and evaluate total coverage of a test
suite more strictly. suite more strictly.
You can specity the measuring target by an option to `Coverage.start`: You can specify the measuring target by an option to `Coverage.start`:
Coverage.start(lines: true, branches: true, methods: true) Coverage.start(lines: true, branches: true, methods: true)
@ -291,7 +291,7 @@ with all sufficient information, see the ChangeLog file or Redmine
a `then` clause that ranges from line 3 and column 2, to line 3 and column 8. a `then` clause that ranges from line 3 and column 2, to line 3 and column 8.
Note that lineno starts from 1, and that columnno starts from 0. So, the Note that lineno starts from 1, and that columnno starts from 0. So, the
above example shows a branch from the `if` to the `then` was never executed, above example shows a branch from the `if` to the `then` was never executed,
adn a branch from the `if` to the `else` was executed twice. and a branch from the `if` to the `else` was executed twice.
The result type of method coverage is: The result type of method coverage is: