summaryrefslogtreecommitdiffstats
path: root/transacc.asd
diff options
context:
space:
mode:
authorEl-BG-1970 <elouangros@hotmail.com>2022-07-28 21:57:10 +0200
committerEl-BG-1970 <elouangros@hotmail.com>2022-07-28 21:57:10 +0200
commit201bdac932778ccf420df492acb7eecaa209b0dd (patch)
tree3d7c9afb07a90f5b7114f1dccd446a6dbb72f907 /transacc.asd
parent0ca49f895163d7fc77fd49a0c8ffaf042661d283 (diff)
downloadtransacc-201bdac932778ccf420df492acb7eecaa209b0dd.tar.gz
Added testing capabilites and some tests
added testing system to transacc.asd added some tests for commodities added some tests for inventory -> need to add more tests
Diffstat (limited to 'transacc.asd')
-rw-r--r--transacc.asd14
1 files changed, 12 insertions, 2 deletions
diff --git a/transacc.asd b/transacc.asd
index ad44aae..a6e1934 100644
--- a/transacc.asd
+++ b/transacc.asd
@@ -8,8 +8,18 @@
:components
((:file "main" :depends-on ("game"))
(:file "game" :depends-on ("zone" "player"))
- (:file "zone" :depends-on ("commodities"))
(:file "player" :depends-on ("commodities" "inventory"))
+ (:file "zone" :depends-on ("commodities"))
(:file "inventory" :depends-on ("commodities"))
(:file "commodities"))))
- :description "Buy and sell to greatness")
+ :description "Buy and sell to greatness"
+ :in-order-to ((test-op (test-op "transacc/tests"))))
+
+(asdf:defsystem "transacc/tests"
+ :depends-on ("transacc" "fiveam")
+ :components ((:module "tests"
+ :components
+ ((:file "test"))))
+ :perform (test-op (op c)
+ (symbol-call :fiveam :run!
+ (find-symbol* :transacc-suite :transacc-tests))))