diff --git a/META-INF/RASCAL.MF b/META-INF/RASCAL.MF index 9955e72..44e459e 100644 --- a/META-INF/RASCAL.MF +++ b/META-INF/RASCAL.MF @@ -1,3 +1,3 @@ Project-Name: php-analysis -Source: src/main/rascal +Source: src/main/rascal, src/test/rascal Require-Libraries: |lib://rascal-git| diff --git a/pom.xml b/pom.xml index ca001fa..e5f52fd 100644 --- a/pom.xml +++ b/pom.xml @@ -183,7 +183,33 @@ - + + + org.apache.maven.plugins + maven-surefire-plugin + 3.0.0-M3 + + + test + test + + + -ea + -Xmx2G + -Xss128m + -Dfile.encoding=UTF-8 + + + **/*Tests.java + + ${basedir}/src/ + + + test + + + + diff --git a/src/test/java/AllTests.java b/src/test/java/AllTests.java new file mode 100644 index 0000000..3b573e2 --- /dev/null +++ b/src/test/java/AllTests.java @@ -0,0 +1,10 @@ + +import org.junit.runner.RunWith; +import org.rascalmpl.test.infrastructure.RascalJUnitTestPrefix; +import org.rascalmpl.test.infrastructure.RascalJUnitTestRunner; + +@RunWith(RascalJUnitTestRunner.class) +@RascalJUnitTestPrefix("lang::php") +public class AllTests { + +}