From 347dae66c187411bd8ae19b44303a26ad1eda07a Mon Sep 17 00:00:00 2001 From: Mitchell van Wijngaarden Date: Tue, 17 Jun 2014 19:58:59 +0200 Subject: [PATCH] Have PHP Spec create a coverage xml file --- coverage.xml | 72 ++++++++++++++++++++++++++++++++++++++++++++++++++++ phpspec.yml | 9 ++++++- 2 files changed, 80 insertions(+), 1 deletion(-) create mode 100644 coverage.xml diff --git a/coverage.xml b/coverage.xml new file mode 100644 index 0000000..2622f7e --- /dev/null +++ b/coverage.xml @@ -0,0 +1,72 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/phpspec.yml b/phpspec.yml index 92b4dc9..c4cb323 100644 --- a/phpspec.yml +++ b/phpspec.yml @@ -4,4 +4,11 @@ suites: namespace: BigName\EventDispatcher psr4_prefix: BigName\EventDispatcher -formatter.name: pretty \ No newline at end of file +formatter.name: pretty + +extensions: + - PhpSpec\Extension\CodeCoverageExtension + +code_coverage: + format: clover + output: coverage.xml \ No newline at end of file