gnu-emacs-sources
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNU ELPA] Test-Simple version 1.3.0


From: ELPA update
Subject: [GNU ELPA] Test-Simple version 1.3.0
Date: Sun, 31 Mar 2024 06:00:05 -0400

Version 1.3.0 of package Test-Simple has just been released in GNU ELPA.
You can now find it in M-x list-packages RET.

Test-Simple describes itself as:

  =========================================
  Simple Unit Test Framework for Emacs Lisp
  =========================================

More at https://elpa.gnu.org/packages/test-simple.html

## Summary:

  test-simple.el is:

  * Simple.  No need for
    - context macros,
    - enclosing specifications,
    - required test tags.

    But if you want, you still can enclose tests in a local scope,
    add customized assert failure messages, or add summary messages
    before a group of tests.

  * Accommodates both interactive and non-interactive use.
     - For interactive use, one can use `eval-last-sexp', `eval-region',
       and `eval-buffer'.  One can `edebug' the code.
     -  For non-interactive use, run:
         emacs --batch --no-site-file --no-splash --load <test-lisp-code.el>

  Here is an example using gcd.el found in the examples directory.

    (require 'test-simple)
    (test-simple-start) ;; Zero counters and start the stop watch.

    ;; Use (load-file) below because we want to always to read the source.

## Recent NEWS:

1.0
Initial Melpa release

0.2
Initial Release



reply via email to

[Prev in Thread] Current Thread [Next in Thread]