r5451: *** empty log message ***
[xlunit.git] / xlunit.asd
1 ;;;; -*- Mode: LISP; Syntax: ANSI-Common-Lisp; Base: 10 -*-
2 ;;;; *************************************************************************
3 ;;;; FILE IDENTIFICATION
4 ;;;;
5 ;;;; Name:          xlunit.asd
6 ;;;; Purpose:       ASDF definition file for Xlunit
7 ;;;; Programmer:    Kevin M. Rosenberg
8 ;;;; Date Started:  Aug 2003
9 ;;;;
10 ;;;; $Id: xlunit.asd,v 1.2 2003/08/04 12:01:54 kevin Exp $
11 ;;;; *************************************************************************
12
13 (defpackage #:xlunit-system (:use #:asdf #:cl))
14 (in-package #:xlunit-system)
15
16 (defsystem xlunit
17   :name "xlunit"
18   :author "Kevin Rosenberg based on work by Craig Brozensky"
19   :maintainer "Kevin M. Rosenberg <kmr@debian.org>"
20   :licence "BSD"
21   :description "Extreme Lisp Testing Suite"
22   :long-description "The XLUnit package is toolkit for building test suites. It is based on the XPTest package by Craig Brozensky and the JUnit package by Kent Beck."
23   
24   :serial t
25   :components
26   ((:file "package")
27    (:file "assert")
28    (:file "fixture")
29    (:file "suite")
30    (:file "result")
31    (:file "printer")
32    ))
33
34 (defmethod perform ((o test-op) (c (eql (find-system 'xlunit))))
35   (oos 'load-op 'xlunit-tests :force t)
36   (oos 'test-op 'xlunit-tests :force t))
37
38 (defsystem xlunit-tests
39     :depends-on (xlunit)
40     :components ((:file "tests")))
41
42 (defmethod perform ((o test-op) (c (eql (find-system 'xlunit-tests))))
43   (or (funcall (intern (symbol-name '#:do-tests)
44                        (find-package '#:xlunit-tests)))
45       (error "test-op failed")))