Home | Modes | Categories | Search | Doc |


unittest

Framework for unit testing of S-Lang scripts


Creator
Milde, Günter
Subject
slang-extensions
Description
A set of utility functions that can be used for creating a test suite for Jed extensions. Test a function, assertion, file, or a set of files and report diagnostics to a buffer or file.
Other than the TESS slang module, unittest.sl is a pure SLang implementation that doesnot play tricks but makes use of the try/catch syntax of SLang 2.
Test detection similar to "py.test" and "nose"
Still experimental, so the API might change in future releases
Requires
sl_utils datutils S-Lang (>= 2.0)
References
TESS (http://space.mit.edu/cxc/software/slang/modules/tess/) nose (http://somethingaboutorange.com/mrl/projects/nose/)
Versions
see Git log
Download links:
parts: unittest.sl testscript-wizard.sl
Rights
Copyright © 2005 Günter Milde.
Released under the terms of the GNU General Public License (version 2 or later)

Last update 2009-01-27.