help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Unit Testing Framework Wishlist


From: Nordlöw
Subject: Unit Testing Framework Wishlist
Date: Tue, 2 Jun 2009 04:13:15 -0700 (PDT)
User-agent: G2/1.0

Does anyone know of any Unit Testing Framework that integrates nicely
with
the code it is testing --- I believe the tests should lie as close to
the
defs (defun/defmacro/...) as possible so that people don't forget to
keep
the tests up-to-date.

I already have a query-for-compile-and-load-hook attached to
save-buffer. I indent to extend this to a compile-load-and-test hook
where
the load-and-test will only run if the compile is a success.

I also would like the Unit-Test (minor-mode i guess) to auto-detect
tests
(in emacs-lisp-mode) and then populate a "Test"-section in the
imenu-menu. Along with also add a “Test” menu to menubar that lists
the
different tests present in the current buffer, with an extra target
for
"all".

Does anyone know of unit test framework that fullfils some or even all
of
these requirements?

Thanks in advance,
Per Nordlöw


reply via email to

[Prev in Thread] Current Thread [Next in Thread]