Permalink
Switch branches/tags
Nothing to show
Commits on Feb 18, 2011
  1. Delete code since it is now maintained as part of Emacs.

    Christian Ohler committed Feb 18, 2011
  2. This is the version that was installed into Emacs.

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

    Christian Ohler committed Dec 19, 2010
  2. Force mode line update after unbinding `ert--current-run-stats'.

    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
    them.
    Christian Ohler committed Dec 19, 2010
Commits on Dec 11, 2010
  1. Added README.txt to explain the directory layout.

    Christian Ohler committed Dec 11, 2010
  2. ert-run.el, ert-batch.el, ert-ui.el: Deleted obsolete files

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

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

    Christian Ohler committed Oct 10, 2010
  2. Sped up `ert-run-tests-interactively' for large numbers of tests.

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

    Christian Ohler committed Oct 10, 2010
  4. Changed install.sh to replace "NOT part of GNU Emacs" with "part of G…

    …NU Emacs".
    Christian Ohler committed Oct 10, 2010
  5. Changed copyright notices to FSF.

    Christian Ohler committed Oct 10, 2010
  6. Cleaned up `ert-simulate-command' somewhat.

    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.
    Christian Ohler committed Oct 10, 2010
  7. Some cleanup of ert-exp.el.

    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'.
    Christian Ohler committed Oct 10, 2010
  8. Removed :test argument from `should-error'; it now returns the error …

    …instead.
    
    This is simpler to understand and use.
    Christian Ohler committed Oct 9, 2010
  9. New script install.sh that installs ERT into an Emacs bzr workspace.

    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.
    Christian Ohler committed Oct 10, 2010
Commits on Oct 8, 2010
  1. Renamed test/lisp/emacs-lisp to test/automated.

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

    Christian Ohler committed Oct 5, 2010
  2. Expanded documentation on test names, unexpected failures, and `shoul…

    …d-error'.
    
    Masatake YAMATO pointed out that these areas were unclear.
    Christian Ohler committed Oct 5, 2010
Commits on Oct 4, 2010
  1. Rewrote test buffer functionality.

    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.
    Christian Ohler committed Oct 4, 2010
  2. Added `ert-info' feature.

    This allows test code to add information to failure reports.
    Christian Ohler committed Oct 4, 2010
  3. Some cleanup.

    Christian Ohler committed Oct 4, 2010
  4. Created directory layout that matches Emacs sources.

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

    Christian Ohler committed Sep 29, 2010
  2. Eliminated distinction between failure and error.

    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'.
    Christian Ohler committed Sep 29, 2010
  3. Expanded/rewrote manual.

    Christian Ohler committed Sep 29, 2010
  4. Don't use `ert-select-tests' in `ert-delete-all-tests'.

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

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

    …lection.
    Christian Ohler committed Jul 11, 2010
  2. Simplified `ert-test-at-point'.

    Christian Ohler committed Jul 11, 2010