Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
testing framework for emacs' org-mode
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.


# Copyright 2010 by Martin Pohlack  <martinp (at)>

This is a testing framework for org-mode.

The test framework contains some scripts and driving files which are
equal for each test.  They are located in "framework":

* framework.el
  Some lisp helping functions, calls into test-specific stuff.
  A filter for generalizing test output to allow better comparing of
  actual and desired results.
  Driver script for starting emacs, post-processing output etc.

Each test comprises unique files that determine the actual test runs.
They are located in the "input" directory of each test:

* init.el
  Test-specific setup for org-mode
* actions.el
  Test-specific list of commands to execute
  The org-mode file to run the command sequence on
  This is what one expects to get as output file after applying
  actions.el on
  This is what one expects to see visually in a buffer after applying
  actions.el on

The test run will produce several output files, which are generated in
the corresponding "results" directory:

  The actual output file generated by a test run
  The actual visual buffer representation generated by a test run

* *.f
  Some filtered files used for removing too specific details from the
  expected and captured output files.

* *.diff
  Differences seen between expected and visual output.  If these files
  are of size zero, everything worked as expected.
Something went wrong with that request. Please try again.