public
Description: run your personal unit tests in Emacs
Homepage: http://hober.backpackit.com/pub/1233865
Clone URL: git://github.com/hober/selftest-el.git
Click here to lend your support to: selftest-el and make a donation at www.pledgie.com !
name age message
file .gitignore Tue May 06 15:27:36 -0700 2008 Added README and .gitignore. [hober]
file Makefile Wed Apr 16 16:56:48 -0700 2008 Added Makefile [hober]
file README.markdown Fri Jun 19 13:54:38 -0700 2009 Use `read-char-spec' for `selftest-ask'. [hober]
file selftest.el Fri Jun 19 13:54:38 -0700 2009 Use `read-char-spec' for `selftest-ask'. [hober]
README.markdown

This is a simple library for managing your personal unit tests. If you're unfamiliar with the concept, please read this blog post. Michal Wallace came up with the idea. Here's how he describes them:

The way I see it, there are certain things I ought to be doing to be productive and effective no matter what my goals are. These are things that are relatively easy to set up, but take discipline and awareness to maintain. I really think that if I focus on maintaining these habits or processes, then the goals will take care of themselves.

Basically, I've made a list of personal unit tests: assertions about myself that I'd like to be true.

Here's an example use of selftest.el:

(require 'selftest)
(define-selftest exercise
  "Did I get >=30min of exercise yesterday"
  :group 'health
  :when 'always)

The command selftest-run may be used to run all of your tests.

This library relies on read-char-spec.el.