diff --git a/Makefile.am b/Makefile.am
index afdf52044918adf56a7b4554172da696c79bc5cb..331685c6f6ab5b6f5bef02528ef206110e1a872c 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -22,3 +22,10 @@ EXTRA_DIST = \
 
 extract:
 	xgettext.pl -D lib -D templates --plugin 'perl=*'
+
+test:
+	prove -I lib t
+
+test-junit:
+	JUNIT_OUTPUT_FILE=out.xml \
+	prove -I lib --harness TAP::Harness::JUnit t