Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
run your personal unit tests in Emacs
Emacs Lisp
branch: master

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.

Something went wrong with that request. Please try again.