diff options
| author | El-BG-1970 <elouangros@hotmail.com> | 2022-07-28 21:57:10 +0200 |
|---|---|---|
| committer | El-BG-1970 <elouangros@hotmail.com> | 2022-07-28 21:57:10 +0200 |
| commit | 201bdac932778ccf420df492acb7eecaa209b0dd (patch) | |
| tree | 3d7c9afb07a90f5b7114f1dccd446a6dbb72f907 /transacc.asd | |
| parent | 0ca49f895163d7fc77fd49a0c8ffaf042661d283 (diff) | |
| download | transacc-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.asd | 14 |
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)))) |
