66 lines
No EOL
4.4 KiB
HTML
66 lines
No EOL
4.4 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
<title>CLiki: lisp-unit</title>
|
|
<link rel="alternate" type="application/atom+xml" title="ATOM feed of edits to current article"
|
|
href="https://www.cliki.net/site/feed/article.atom?title=lisp-unit">
|
|
<link rel="stylesheet" href="static/css/style.css">
|
|
<link rel="stylesheet" href="static/css/colorize.css">
|
|
</head>
|
|
|
|
<body>
|
|
<span class="hidden">CLiki - lisp-unit</span>
|
|
<div id="content"><div id="content-area"><div id="article-title">lisp-unit</div><div id="article"> <strong>lisp-unit</strong> is a simple Common Lisp <a href="Test Framework.html" class="category">Test Framework</a>. It is an extension of the <a href="https://courses.cs.northwestern.edu/325/readings/lisp-unit.php"> library written by Chris Riesbeck </a>. There is a long history of testing packages in Lisp, usually called "regression" testers. More recent packages in Lisp and other languages have been inspired by JUnit for Java. For more information on both unit testing and JUnit, visit <a href="http://www.junit.org/">www.junit.org</a>. <p> <a href="https://github.com/OdonataResearchLLC/lisp-unit"><strong>lisp-unit</strong> project page on github.</a> <p><h2>Overview</h2><hr>
|
|
The main goal for <strong>lisp-unit</strong> was to make it simple to use. The advantages of <strong>lisp-unit</strong> are:
|
|
<ul>
|
|
<li>Written in portable Common Lisp.</li>
|
|
<li>Loadable as a single file.</li>
|
|
<li>Loadable with <a href="http://common-lisp.net/project/asdf/">ASDF</a> or <a href="http://www.quicklisp.org/">QuickLisp</a>.</li>
|
|
<li>Simple to define and run tests.</li>
|
|
<li>Redefine functions and macros without reloading tests.</li>
|
|
<li>Test return values, printed output, macro expansions, and conditions.</li>
|
|
<li>Fine grained control over the testing output.</li>
|
|
<li>Store all test results in a database object that can be examined</li>
|
|
<li>Groups tests by package for modularity.</li>
|
|
<li>Group tests using tags</li>
|
|
</ul><p>
|
|
<h2>Features in Version 0.9.3</h2><hr>
|
|
A comprehensive test results database has been implemented for Version 0.9.3. <code>run-tests</code> and <code>run-tags</code> return the test results database object. Two new functions have been added for examining the results, <code>print-failures</code> and <code>print-errors</code>.</div></div>
|
|
<div id="footer" class="buttonbar"><ul><li><a href="lisp-unit.html">Current version</a></li>
|
|
<li><a href="https://www.cliki.net/site/history?article=lisp-unit">History</a></li>
|
|
<li><a href="https://www.cliki.net/site/backlinks?article=lisp-unit">Backlinks</a></li><li><a href="https://www.cliki.net/site/edit-article?title=lisp-unit&from-revision=3807835068">Edit</a></li><li><a href="https://www.cliki.net/site/edit-article?create=t">Create</a></li></ul></div>
|
|
</div>
|
|
<div id="header-buttons" class="buttonbar">
|
|
<ul>
|
|
<li><a href="https://www.cliki.net/">Home</a></li>
|
|
<li><a href="https://www.cliki.net/site/recent-changes">Recent Changes</a></li>
|
|
<li><a href="CLiki.html">About</a></li>
|
|
<li><a href="Text Formatting.html">Text Formatting</a></li>
|
|
<li><a href="https://www.cliki.net/site/tools">Tools</a></li>
|
|
</ul>
|
|
<div id="search">
|
|
<form action="https://www.cliki.net/site/search">
|
|
<label for="search_query" class="hidden">Search CLiki</label>
|
|
<input type="text" name="query" id="search_query" value="" />
|
|
<input type="submit" value="search" />
|
|
</form>
|
|
</div>
|
|
</div>
|
|
<div id="pageheader">
|
|
<div id="header">
|
|
<span id="logo">CLiki</span>
|
|
<span id="slogan">the common lisp wiki</span>
|
|
<div id="login"><form method="post" action="https://www.cliki.net/site/login">
|
|
<label for="login_name" class="hidden">Account name</label>
|
|
<input type="text" name="name" id="login_name" class="login_input" />
|
|
<label for= "login_password" class="hidden">Password</label>
|
|
<input type="password" name="password" id="login_password" class="login_input" />
|
|
<input type="submit" name="login" value="login" id="login_submit" /><br />
|
|
<div id="register"><a href="https://www.cliki.net/site/register">register</a></div>
|
|
<input type="submit" name="reset-pw" value="reset password" id="reset_pw" />
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</body></html> |