Update domain name to kpe.io
[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$
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   :properties ((#:author-email . "kevin@rosenberg.net")
25                ((#:albert #:output-dir) . "albert-docs/")
26                ((#:albert #:formats) . ("docbook"))
27                ((#:albert #:docbook #:template) . "book")
28                ((#:albert #:docbook #:bgcolor) . "white")
29                ((#:albert #:docbook #:textcolor) . "black"))
30   
31   :serial t
32   :components
33   ((:file "package")
34    (:file "assert")
35    (:file "tcase")
36    (:file "listener")
37    (:file "result")
38    (:file "suite")
39    (:file "textui")
40    (:file "printer")
41    ))
42
43 (defmethod perform ((o test-op) (c (eql (find-system 'xlunit))))
44   (operate 'load-op 'xlunit-tests)
45   (operate 'test-op 'xlunit-tests :force t))
46
47 (defsystem xlunit-tests
48     :depends-on (xlunit)
49     :components ((:file "tests")))
50
51 (defmethod perform ((o test-op) (c (eql (find-system 'xlunit-tests))))
52   (operate 'load-op 'xlunit-tests)
53   (or (funcall (intern (symbol-name '#:do-tests)
54                        (find-package '#:xlunit-tests)))
55       (error "test-op failed")))
56