From 206d29d52da0600260ad5773f9c23f3ed92dce0a Mon Sep 17 00:00:00 2001 From: Teromene Date: Mon, 1 Aug 2016 22:11:11 +0200 Subject: [PATCH] Add a script to check the coverage of the tests and the configuration for phpunit. --- tests/coverageTest.php | 34 ++++++++++++++++++++++++++++++++++ tests/phpunit.xml | 12 ++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 tests/coverageTest.php create mode 100644 tests/phpunit.xml diff --git a/tests/coverageTest.php b/tests/coverageTest.php new file mode 100644 index 00000000..ff933995 --- /dev/null +++ b/tests/coverageTest.php @@ -0,0 +1,34 @@ +success('Everything is covered !'); + } else { + $this->fail('Some bridges are missing tests !'); + } + } + +} +?> diff --git a/tests/phpunit.xml b/tests/phpunit.xml new file mode 100644 index 00000000..465b8869 --- /dev/null +++ b/tests/phpunit.xml @@ -0,0 +1,12 @@ + + +