-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTestingException.php
More file actions
31 lines (27 loc) · 882 Bytes
/
Copy pathTestingException.php
File metadata and controls
31 lines (27 loc) · 882 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<?php
/*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*/
/**
* Italix Testing - Exception
*
* @package Italix\Testing
*/
declare(strict_types=1);
namespace Italix\Testing;
use RuntimeException;
/**
* Thrown when the test harness itself cannot proceed.
*
* Deliberately distinct from a failing assertion. A failed `test()` is a
* result; this is the harness saying it does not know what to do — an unknown
* column type, an identifier it refuses to interpolate, a transaction it
* cannot roll back. Those must stop the run rather than be counted as one more
* red line, because a harness that guesses produces green suites that mean
* nothing.
*/
final class TestingException extends RuntimeException
{
}