aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorPjotr Prins2023-08-18 15:41:28 +0200
committerPjotr Prins2023-08-18 15:41:28 +0200
commitafd3d25530401569a5953dc1c411f43a56ebd02c (patch)
tree95188317effce4e1b90e898b1d4f582cb033c848 /test
parentb9fb2c69136fe243fc9c6f7c3c4f8917814a401e (diff)
downloadgn-guile-afd3d25530401569a5953dc1c411f43a56ebd02c.tar.gz
Adding test infrastructure and reorganizing modules - still not happy with (web uri)
Diffstat (limited to 'test')
-rw-r--r--test/runner.scm16
1 files changed, 16 insertions, 0 deletions
diff --git a/test/runner.scm b/test/runner.scm
new file mode 100644
index 0000000..0123d9a
--- /dev/null
+++ b/test/runner.scm
@@ -0,0 +1,16 @@
+;; Run with
+;;
+;; guile -L . --debug test/runner.scm
+
+(define-module (test-runner)
+ #:use-module (ice-9 match)
+ #:use-module (srfi srfi-64)
+ #:use-module (gn data species)
+ )
+
+(test-begin "runner")
+
+(test-assert "Make sure species-meta contains a link to tomato"
+ (assoc "tomato" (cdr (assoc "links" (get-species-meta)))))
+
+(test-end "runner")