Parcourir la source

Add coverage testing using undercover.el

Ryan C. Thompson il y a 7 ans
Parent
commit
2f600bc343
2 fichiers modifiés avec 6 ajouts et 1 suppressions
  1. 2 1
      Cask
  2. 4 0
      tests/test-ido-completing-read+.el

+ 2 - 1
Cask

@@ -17,4 +17,5 @@
              :git "https://github.com/DarwinAwardWinner/emacs-buttercup.git"
              :branch "expect-closures"
              :files ("*.el"
-                     ("bin" "bin/*"))))
+                     ("bin" "bin/*")))
+ (depends-on "undercover"))

+ 4 - 0
tests/test-ido-completing-read+.el

@@ -1,5 +1,9 @@
 ;;; -*- lexical-binding: t -*-
 
+(require 'undercover)
+(undercover "*.el"
+            (:exclude "test-*.el"))
+
 (require 'ido)
 (require 'flx-ido)
 (require 'ido-completing-read+)