From afd3d25530401569a5953dc1c411f43a56ebd02c Mon Sep 17 00:00:00 2001 From: Pjotr Prins Date: Fri, 18 Aug 2023 15:41:28 +0200 Subject: Adding test infrastructure and reorganizing modules - still not happy with (web uri) --- test/runner.scm | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 test/runner.scm (limited to 'test') 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") -- cgit v1.2.3