diff options
author | Samuel Williams <samuel.williams@oriontransfer.co.nz> | 2022-09-29 09:43:07 +1300 |
---|---|---|
committer | Samuel Williams <samuel.williams@oriontransfer.co.nz> | 2022-09-29 09:44:14 +1300 |
commit | e7ddb6b182c35a1caf6f95fb6f4d9d53426d52f4 (patch) | |
tree | 80b861cd0cf911a72b2485d82e9e757d1ad7491d | |
parent | bd2fbd35888413217337dd327ad90015c0322d12 (diff) | |
download | ruby-e7ddb6b182c35a1caf6f95fb6f4d9d53426d52f4.tar.gz |
Update NEWS.md with updated coverage interfaces.
-rw-r--r-- | NEWS.md | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -90,8 +90,11 @@ Note that each entry is kept to a minimum, see links for details. foo(k: 1) ``` -* `eval` and related methods are able to generate code coverage. - [[Feature #19008]] +* `eval` and related methods are able to generate code coverage. Enabled using + `Coverage.setup(:all)` or `Coverge.setup(eval: true)`. [[Feature #19008]] + +* `Coverage.supported?(mode)` enables detection of what coverage modes are + supported. [[Feature #19026]] ## Command line options @@ -316,4 +319,5 @@ The following deprecated APIs are removed. [Feature #18809]: https://bugs.ruby-lang.org/issues/18809 [Feature #18481]: https://bugs.ruby-lang.org/issues/18481 [Feature #18949]: https://bugs.ruby-lang.org/issues/18949 -[Feature #19008]: https://bugs.ruby-lang.org/issues/19008
\ No newline at end of file +[Feature #19008]: https://bugs.ruby-lang.org/issues/19008 +[Feature #19026]: https://bugs.ruby-lang.org/issues/19026 |