--- a/GNUmakefile Thu Jan 10 13:32:57 2019 +0100
+++ b/GNUmakefile Thu Jan 10 14:27:01 2019 +0100
@@ -21,6 +21,7 @@
LUACHECK=luacheck
BUSTED=busted
+SCANSION=scansion
.PHONY: all test coverage clean install
@@ -71,6 +72,11 @@
test:
$(BUSTED) --lua=$(RUNWITH)
+integration-test: all
+ $(RUNWITH) prosodyctl --config ./spec/scansion/prosody.cfg.lua start
+ $(SCANSION) -d ./spec/scansion
+ $(RUNWITH) prosodyctl --config ./spec/scansion/prosody.cfg.lua stop
+
coverage:
-rm -- luacov.*
$(BUSTED) --lua=$(RUNWITH) -c