diff options
author | Teddy Wing | 2023-04-16 19:55:53 +0200 |
---|---|---|
committer | Teddy Wing | 2023-04-16 19:55:53 +0200 |
commit | 0fdcbf0a159c9ee4df69bad2c617de01dcb0fd3c (patch) | |
tree | fae2919fc7fcd11f389e6a2f5bf04f87ef79b7b3 /xfdf-test.asd | |
parent | 3347a25d6abc00f0cbcea893282eef949ca9b25f (diff) | |
download | xfdf-0fdcbf0a159c9ee4df69bad2c617de01dcb0fd3c.tar.bz2 |
Add test system
Write a test for the `write-xfdf` function.
Worked out how to create the test system from:
- https://lispcookbook.github.io/cl-cookbook/testing.html
- https://github.com/sjl/cl-digraph/blob/master/cl-digraph.test.asd
- https://github.com/fukamachi/dexador/blob/master/dexador-test.asd
Add the test string to the `write-xfdf` function to pass the test and
check that the test runner is set up correctly.
Diffstat (limited to 'xfdf-test.asd')
-rw-r--r-- | xfdf-test.asd | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/xfdf-test.asd b/xfdf-test.asd new file mode 100644 index 0000000..9a5b0ab --- /dev/null +++ b/xfdf-test.asd @@ -0,0 +1,17 @@ +(asdf:defsystem xfdf-test + :description "Test suite for xfdf" + :version "0.0.1" + :license "GPL-3.0-or-later" + :author "Teddy Wing" + + :depends-on (:1am + :xfdf) + + :components ((:module "test" + :serial t + :components ((:file "xfdf")))) + + :perform (test-op + (op system) + ; (symbol-call :xfdf-test :run) + (symbol-call :1am :run))) |