Skip to content
This repository
branch: master

Feb 18, 2011

  1. Delete code since it is now maintained as part of Emacs.

    authored February 19, 2011
  2. This is the version that was installed into Emacs.

    (Or at least a close approximation.)
    authored February 19, 2011

Dec 19, 2010

  1. Eliminated a run-time CL dependency in the tests: the use of `typep'.

    authored December 19, 2010
  2. Fix another hidden CL dependency.

    authored December 19, 2010
  3. 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.
    authored December 19, 2010

Dec 11, 2010

  1. Added README.txt to explain the directory layout.

    authored December 11, 2010
  2. install.sh: Renamed to install-into-emacs-sources.sh for clarity.

    authored December 11, 2010
  3. ert-run.el, ert-batch.el, ert-ui.el: Deleted obsolete files

    This should have been part of the previous commit.
    authored December 11, 2010

Oct 30, 2010

  1. ert-run.el, ert-batch.el, ert-ui.el: Merged into ert.el.

    authored October 30, 2010

Oct 10, 2010

  1. Fixed some docstrings.

    authored October 11, 2010
  2. install.sh: Added ChangeLog and NEWS entries, and fixed some typos.

    authored October 10, 2010
  3. 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.)
    authored October 10, 2010
  4. Renamed ert-exp.el to ert-x.el .

    authored October 10, 2010
  5. Changed install.sh to replace "NOT part of GNU Emacs" with "part of G…

    …NU Emacs".
    authored October 10, 2010
  6. Changed copyright notices to FSF.

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

    …instead.
    
    This is simpler to understand and use.
    authored October 09, 2010
  10. 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.
    authored October 10, 2010

Oct 08, 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.
    authored October 08, 2010

Oct 05, 2010

  1. Improved messages for expected failures in batch mode.

    authored October 05, 2010
  2. Expanded documentation on test names, unexpected failures, and `shoul…

    …d-error'.
    
    Masatake YAMATO pointed out that these areas were unclear.
    authored October 05, 2010

Oct 04, 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.
    authored October 05, 2010
  2. Added `ert-info' feature.

    This allows test code to add information to failure reports.
    authored October 04, 2010
  3. Some cleanup.

    authored October 04, 2010
  4. Created directory layout that matches Emacs sources.

    authored October 04, 2010

Sep 29, 2010

  1. Added `ert-results-rerun-all-tests'.

    authored September 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'.
    authored September 29, 2010
  3. Expanded/rewrote manual.

    authored September 29, 2010
  4. Don't use `ert-select-tests' in `ert-delete-all-tests'.

    authored September 29, 2010

Jul 23, 2010

  1. Moved `ert-with-buffer-renamed' from ert-tests.el into ert-exp.el.

    authored July 23, 2010

Jul 17, 2010

  1. Refactored & simplified the code that updates test results in stats o…

    …bjects.
    authored July 17, 2010

Jul 11, 2010

  1. Improved display of unexpectedly passing tests and simplified face se…

    …lection.
    authored July 12, 2010
  2. Fixed indentation after all the renamings from ert-* to ert--*.

    authored July 11, 2010
  3. Simplified `ert-test-at-point'.

    authored July 11, 2010
Something went wrong with that request. Please try again.