Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Commits on Feb 18, 2011
  1. Delete code since it is now maintained as part of Emacs.

    Christian Ohler authored
  2. This is the version that was installed into Emacs.

    Christian Ohler authored
    (Or at least a close approximation.)
Commits on Dec 19, 2010
  1. Fix another hidden CL dependency.

    Christian Ohler authored
  2. Force mode line update after unbinding `ert--current-run-stats'.

    Christian Ohler authored
    This way, the ERT progress information in the mode line will be
    removed from all windows immediately after the test run finishes,
    rather than lingering around in some windows until you switch to
Commits on Dec 11, 2010
  1. Added README.txt to explain the directory layout.

    Christian Ohler authored
  2. ert-run.el, ert-batch.el, ert-ui.el: Deleted obsolete files

    Christian Ohler authored
    This should have been part of the previous commit.
Commits on Oct 30, 2010
  1. ert-run.el, ert-batch.el, ert-ui.el: Merged into ert.el.

    Christian Ohler authored
Commits on Oct 10, 2010
  1. Fixed some docstrings.

    Christian Ohler authored
  2. Sped up `ert-run-tests-interactively' for large numbers of tests.

    Christian Ohler authored
    On my machine, now runs ~500 tests per second rather than ~110.
    (Batch mode runs ~4000 per second.)
  3. Renamed ert-exp.el to ert-x.el .

    Christian Ohler authored
  4. Changed to replace "NOT part of GNU Emacs" with "part of G…

    Christian Ohler authored
    …NU Emacs".
  5. Changed copyright notices to FSF.

    Christian Ohler authored
  6. Cleaned up `ert-simulate-command' somewhat.

    Christian Ohler authored
    Removed the code that was commented out.
    Dropped `ert-simulate-command-post-hook' since it's probably not
    useful.  Its only use (in nxhtmltest-suites) was rather questionable
    since the test code had a permanent side-effect on the value of the hook.
    Dropped `ert-simulate-command-delay' since its implementation
    (renaming the current buffer to display a temporary message) seemed
    too brittle.
    Split out `ert-run-idle-timers' as a separate function since what it
    does is orthogonal.
    If someone wants a function with all the above features, they can
    easily write one as a private utility for their own tests; it can call
    `ert-simulate-command' and (conditionally) `ert-run-idle-timers', do
    whatever would go in the post-hook, display a message, and delay.
    Until a convincing implementation of such a combined utility function
    emerges, it is better for ERT to provide only the building blocks.
  7. Some cleanup of ert-exp.el.

    Christian Ohler authored
    Dropped `buffer-contains-p' and `buffer-changes-p' since they are
    currently unused, don't simplify the calling code much, and spelling
    out their definitions in-line can actually lead to better error
    messages from `should'.
    Replaced `correctly-indented-p' with `ert-buffer-string-reindented'.
  8. Removed :test argument from `should-error'; it now returns the error …

    Christian Ohler authored
    This is simpler to understand and use.
  9. New script that installs ERT into an Emacs bzr workspace.

    Christian Ohler authored
    Also moved ert.texi from doc/lispref/ to doc/misc/ for now because
    proper integration with the Lisp manual probably requires some more
    work, at the very least replacing @chapter with @section, @section
    with @subsection etc., and we can do that work later.
Commits on Oct 8, 2010
  1. Renamed test/lisp/emacs-lisp to test/automated.

    Christian Ohler authored
    This is the layout that XEmacs uses, and it's clearer, simpler and
    sufficient as long as we don't have too many tests.
Commits on Oct 5, 2010
  1. Improved messages for expected failures in batch mode.

    Christian Ohler authored
  2. Expanded documentation on test names, unexpected failures, and `shoul…

    Christian Ohler authored
    Masatake YAMATO pointed out that these areas were unclear.
Commits on Oct 4, 2010
  1. Rewrote test buffer functionality.

    Christian Ohler authored
    The new macro `ert-with-test-buffer' replaces both `with-test-buffer'
    and `ert-with-temp-buffer-include-file'.  If you need input from
    files, combine `ert-with-temp-buffer' with `insert-file-contents'.
    The macro `with-test-buffer' was ad-hoc syntactic sugar around
    `insert', `goto-char', and `mark', and was not useful enough.
    Since test buffers are now linked from the results buffer, there no
    longer is a way to browse test buffers.
    Also gone is `ert-test-buffer-substitute'.  It had too much overlap
    with `ert-filter-string' and was untested and unused.
  2. Added `ert-info' feature.

    Christian Ohler authored
    This allows test code to add information to failure reports.
  3. Some cleanup.

    Christian Ohler authored
  4. Created directory layout that matches Emacs sources.

    Christian Ohler authored
Commits on Sep 29, 2010
  1. Added `ert-results-rerun-all-tests'.

    Christian Ohler authored
  2. Eliminated distinction between failure and error.

    Christian Ohler authored
    This simplifies the code slightly, but not as much I had hoped: The
    distinction between `ert-test-result-with-condition' and
    `ert-test-failed' remains because of `ert-test-quit', which I am
    reluctant to merge with `ert-test-failed'.
  3. Expanded/rewrote manual.

    Christian Ohler authored
  4. Don't use `ert-select-tests' in `ert-delete-all-tests'.

    Christian Ohler authored
Commits on Jul 23, 2010
Commits on Jul 17, 2010
  1. Refactored & simplified the code that updates test results in stats o…

    Christian Ohler authored
Commits on Jul 11, 2010
  1. Improved display of unexpectedly passing tests and simplified face se…

    Christian Ohler authored
  2. Simplified `ert-test-at-point'.

    Christian Ohler authored
Something went wrong with that request. Please try again.