Skip to content
This repository was archived by the owner on Feb 26, 2025. It is now read-only.

Commit 45e566c

Browse files
committed
Test coverage, still debating whether to gitignore this... its handy to have within the repo for reference, but will cause diffs on every test run
1 parent fe6bf22 commit 45e566c

File tree

6 files changed

+8
-6
lines changed

6 files changed

+8
-6
lines changed

test_coverage/html/EnumEnhancements.php.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@
183183
<h4>Legend</h4>
184184
<p><span class="success"><strong>Executed</strong></span><span class="danger"><strong>Not Executed</strong></span><span class="warning"><strong>Dead Code</strong></span></p>
185185
<p>
186-
<small>Generated by <a href="https://github.com/sebastianbergmann/php-code-coverage" target="_top">php-code-coverage 9.2.10</a> using <a href="https://secure.php.net/" target="_top">PHP 8.1.2</a> and <a href="https://phpunit.de/">PHPUnit 9.5.13</a> at Tue Feb 15 18:46:59 UTC 2022.</small>
186+
<small>Generated by <a href="https://github.com/sebastianbergmann/php-code-coverage" target="_top">php-code-coverage 9.2.10</a> using <a href="https://secure.php.net/" target="_top">PHP 8.1.2</a> and <a href="https://phpunit.de/">PHPUnit 9.5.13</a> at Tue Feb 15 19:12:57 UTC 2022.</small>
187187
</p>
188188
<a title="Back to the top" id="toplink" href="#">
189189
<svg xmlns="http://www.w3.org/2000/svg" width="12" height="16" viewBox="0 0 12 16"><path fill-rule="evenodd" d="M12 11L6 5l-6 6h12z"/></svg>

test_coverage/html/dashboard.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ <h3>Project Risks</h3>
135135
<footer>
136136
<hr/>
137137
<p>
138-
<small>Generated by <a href="https://github.com/sebastianbergmann/php-code-coverage" target="_top">php-code-coverage 9.2.10</a> using <a href="https://secure.php.net/" target="_top">PHP 8.1.2</a> and <a href="https://phpunit.de/">PHPUnit 9.5.13</a> at Tue Feb 15 18:46:59 UTC 2022.</small>
138+
<small>Generated by <a href="https://github.com/sebastianbergmann/php-code-coverage" target="_top">php-code-coverage 9.2.10</a> using <a href="https://secure.php.net/" target="_top">PHP 8.1.2</a> and <a href="https://phpunit.de/">PHPUnit 9.5.13</a> at Tue Feb 15 19:12:57 UTC 2022.</small>
139139
</p>
140140
</footer>
141141
</div>

test_coverage/html/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ <h4>Legend</h4>
110110
<span class="success"><strong>High</strong>: 90% to 100%</span>
111111
</p>
112112
<p>
113-
<small>Generated by <a href="https://github.com/sebastianbergmann/php-code-coverage" target="_top">php-code-coverage 9.2.10</a> using <a href="https://secure.php.net/" target="_top">PHP 8.1.2</a> and <a href="https://phpunit.de/">PHPUnit 9.5.13</a> at Tue Feb 15 18:46:59 UTC 2022.</small>
113+
<small>Generated by <a href="https://github.com/sebastianbergmann/php-code-coverage" target="_top">php-code-coverage 9.2.10</a> using <a href="https://secure.php.net/" target="_top">PHP 8.1.2</a> and <a href="https://phpunit.de/">PHPUnit 9.5.13</a> at Tue Feb 15 19:12:57 UTC 2022.</small>
114114
</p>
115115
</footer>
116116
</div>

test_coverage/report.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22

33
Code Coverage Report:
4-
2022-02-15 18:46:59
4+
2022-02-15 19:12:57
55

66
Summary:
77
Classes: 100.00% (1/1)

test_coverage/report.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<coverage generated="1644950819">
3-
<project timestamp="1644950819">
2+
<coverage generated="1644952377">
3+
<project timestamp="1644952377">
44
<file name="/testing/src/Traits/EnumEnhancements.php">
55
<class name="Othyn\PhpEnumEnhancements\Traits\EnumEnhancements" namespace="global">
66
<metrics complexity="3" methods="2" coveredmethods="2" conditionals="0" coveredconditionals="0" statements="4" coveredstatements="4" elements="6" coveredelements="6"/>

tests/Feature/ItExtendsIntBackedEnumsTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ public function test_it_can_produce_a_value_array_for_an_int_backed_enum(): void
1717

1818
public function test_it_can_produce_a_value_list_for_an_int_backed_enum(): void
1919
{
20+
var_dump(TestIntBackedEnum::valueList());
2021
$this->assertSame(
2122
TestIntBackedEnum::valueList(),
2223
'1, 2, 3, 4, 5'
@@ -25,6 +26,7 @@ public function test_it_can_produce_a_value_list_for_an_int_backed_enum(): void
2526

2627
public function test_it_can_produce_a_value_list_with_a_custom_separator_for_an_enum(): void
2728
{
29+
var_dump(TestIntBackedEnum::valueList(separator: ':'));
2830
$this->assertSame(
2931
TestIntBackedEnum::valueList(separator: ':'),
3032
'1:2:3:4:5'

0 commit comments

Comments
 (0)