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 !
hober (author)
Tue May 06 15:32:27 -0700 2008
commit  e4b4aa7def3addfb9dddd6099360ae0c7b4ec8f2
tree    40594e531e990f140dece8949fccf7403ac1df49
parent  13d49800203ea3d57862690645e608b3bcd6d490
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 Loading commit data...
file selftest.el
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.