Skip to Content
Practical Common Lisp
book

Practical Common Lisp

by Peter Seibel
April 2005
Beginner to intermediate
528 pages
16h 20m
English
Apress
Content preview from Practical Common Lisp

CHAPTER 9Practical: Building a UnitTest Framework

In this chapter you'll return to cutting code and develop a simple unit testing framework for Lisp. This will give you a chance to use some of the features you've learned about since Chapter 3, including macros and dynamic variables, in real code.

The main design goal of the test framework will be to make it as easy as possible to add new tests, to run various suites of tests, and to track down test failures. For now you'll focus on designing a framework you can use during interactive development.

The key feature of an automated testing framework is that the framework is responsible for telling you whether all the tests passed. You don't want to spend your time slogging through test output checking ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Land of Lisp

Land of Lisp

Conrad Barski M.D.
The Go Programming Language

The Go Programming Language

Alan A. A. Donovan, Brian W. Kernighan
The Rust Programming Language, 2nd Edition

The Rust Programming Language, 2nd Edition

Steve Klabnik, Carol Nichols

Publisher Resources

ISBN: 9781590592397Purchase book