From: "mame (Yusuke Endoh)" Date: 2022-09-23T07:34:30+00:00 Subject: [ruby-core:110035] [Ruby master Feature#19008] Introduce coverage support for `eval`. Issue #19008 has been updated by mame (Yusuke Endoh). mame (Yusuke Endoh) wrote in #note-10: > @ioquatix I found yet another issue. It does not work with oneshot coverage. I am sorry, ignore this. It works as expected. I think my testing was wrong. (Maybe I used ruby 3.1 instead of master) ---------------------------------------- Feature #19008: Introduce coverage support for `eval`. https://bugs.ruby-lang.org/issues/19008#change-99286 * Author: ioquatix (Samuel Williams) * Status: Open * Priority: Normal ---------------------------------------- I'd like to introduce coverage support for `eval`. I mostly only care about the case where an explicit path is given, and I'd even be okay to only handle the case where the line number is the default (0). https://github.com/ruby/ruby/pull/6396 This is an incredibly useful feature for computing coverage of ERB templates and other similar things. -- https://bugs.ruby-lang.org/ Unsubscribe: