Code Monkey home page Code Monkey logo

lisp-unit's Introduction

lisp-unit

lisp-unit is a Common Lisp library that supports unit testing. It is an extension of the library written by Chris Riesbeck. 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.

Documentation is located on the project wiki.

Features

  • Written in portable Common Lisp
  • Loadable as a single file
  • Loadable with ASDF or Quicklisp
  • Simple to define and run tests
  • Redefine functions and macros without reloading tests
  • Test return values, printed output, macro expansions, and conditions
  • Fine-grained control over the testing output
  • Store all test results in a database object that can be examined
  • Group tests by package for modularity
  • Group tests using tags
  • Signal test completion and return results with the condition.

Extensions

How to use lisp-unit

The core definitions of lisp-unit may be used by loading the single file 'lisp-unit.lisp'. To use the extensions, lisp-unit must be loaded using either Quicklisp or ASDF.

  1. Load (or compile and load) as a single file : (load "lisp-unit").
  2. Load using Quicklisp : (ql:quickload :lisp-unit).
  3. Load using ASDF : (asdf:load-system :lisp-unit).

Development Plan

  • Version 1.1.0 : Summarize test from multiple packages
  • Version 1.2.0 : Improve integration with IDE (mainly SLIME)

Acknowledgments

Contributions to lisp-unit are noted in the wiki. Please let me know if any contributions have not been acknowledged.

lisp-unit's People

Contributors

bobbysmith007 avatar jimka2001 avatar lukas-linhart avatar namoamitabha avatar ryepup avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.