Updating build.xml and phpunit.xml to add and run API unit tests suite
This commit is contained in:
@@ -123,7 +123,10 @@
|
|||||||
|
|
||||||
<target name="phpunit" description="Run unit tests with PHPUnit">
|
<target name="phpunit" description="Run unit tests with PHPUnit">
|
||||||
<exec executable="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>
|
</exec>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
|
|||||||
@@ -20,6 +20,9 @@
|
|||||||
<directory>./tests/unit/</directory>
|
<directory>./tests/unit/</directory>
|
||||||
</testsuite>
|
</testsuite>
|
||||||
-->
|
-->
|
||||||
|
<testsuite name="api">
|
||||||
|
<directory>./workflow/engine/src/</directory>
|
||||||
|
</testsuite>
|
||||||
</testsuites>
|
</testsuites>
|
||||||
|
|
||||||
<!-- <filter>
|
<!-- <filter>
|
||||||
|
|||||||
Reference in New Issue
Block a user