-
Notifications
You must be signed in to change notification settings - Fork 5
/
birch.test.asd
22 lines (22 loc) · 923 Bytes
/
birch.test.asd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
(asdf:defsystem #:birch.test
:serial t
:description "Tests for Birch"
:author "Joram Schrijver <[email protected]>"
:license "MIT"
:depends-on (#:birch #:prove #:flexi-streams)
:pathname "test"
:components ((:file "util")
(:file "ctcp")
(:file "parse")
(:file "commands")
(:file "events")
(:file "connection"))
:perform (test-op :after (op component)
(let ((results (mapcar (intern #.(string :run-test-package) :prove)
(list :birch.test/ctcp
:birch.test/parse
:birch.test/commands
:birch.test/events
:birch.test/connection))))
(unless (every #'identity results)
(error "Tests failed.")))))