undercover-el / undercover.el

A test coverage library for Emacs
MIT License
86 stars 14 forks source link

Interactive Functions are not covered when interactive form is a list #71

Open andreyorst opened 1 year ago

andreyorst commented 1 year ago

Calling this function in a ert test shows it as completely uncovered:

(defun foobar (x)
  (interactive
   (list (if current-prefix-arg (read-string "arg: ") "foobar")))
  (message "arg: %s" x))