Updating build.xml and phpunit.xml to add and run API unit tests suite

This commit is contained in:
Erik Amaru Ortiz
2014-04-03 12:06:52 -04:00
parent 1847ed4549
commit a43c1d36c4
2 changed files with 7 additions and 1 deletions

View File

@@ -123,7 +123,10 @@
<target name="phpunit" description="Run unit tests with PHPUnit">
<exec executable="phpunit">
<arg path="${basedir}/workflow/engine/src" />
<arg value="--testsuite" />
<arg path="api" />
<arg value="--bootstrap" />
<arg path="${basedir}/workflow/engine/src/Tests/bootstrap.php" />
</exec>
</target>

View File

@@ -20,6 +20,9 @@
<directory>./tests/unit/</directory>
</testsuite>
-->
<testsuite name="api">
<directory>./workflow/engine/src/</directory>
</testsuite>
</testsuites>
<!-- <filter>