Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

phpunit configuration

phpunit.xml - Configuration file for PHPUnit
run_tests.sh - Helper bash script to run unit tests
  • Loading branch information...
commit 56740a86ca7515b0f01047281d6b491e6b659aa6 1 parent 00e8981
Prajwal Tuladhar infynyxx authored
Showing with 23 additions and 0 deletions.
  1. +19 −0 phpunit.xml
  2. +4 −0 run_tests.sh
19 phpunit.xml
View
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<phpunit backupGlobals="false"
+ backupStaticAttributes="false"
+ colors="true"
+ convertErrorsToExceptions="true"
+ convertNoticesToExceptions="true"
+ convertWarningsToExceptions="true"
+ processIsolation="false"
+ stopOnFailure="false"
+ syntaxCheck="true"
+ strict="true"
+ verbose="false">
+ <testsuites>
+ <testsuite name="Sailthru Unit Test Suite">
+ <directory suffix="Test.php">./tests</directory>
+ </testsuite>
+ </testsuites>
+</phpunit>
4 run_tests.sh
View
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+#Run all test classes
+phpunit --configuration phpunit.xml
Please sign in to comment.
Something went wrong with that request. Please try again.