mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 07:47:22 +01:00
Fixes test suite
This commit is contained in:
@ -1411,13 +1411,13 @@
|
||||
PASS Tests\Visual\Help
|
||||
✓ visual snapshot of help command output
|
||||
|
||||
FAIL Tests\Visual\JUnit
|
||||
WARN Tests\Visual\JUnit
|
||||
✓ junit output
|
||||
⨯ junit with parallel
|
||||
- junit with parallel → Not working yet
|
||||
|
||||
WARN Tests\Visual\Parallel
|
||||
- parallel → Waiting for Parallel to be stable
|
||||
- a parallel test can extend another test with same name → Waiting for Parallel to be stable
|
||||
PASS Tests\Visual\Parallel
|
||||
✓ parallel
|
||||
✓ a parallel test can extend another test with same name
|
||||
|
||||
PASS Tests\Visual\SingleTestOrDirectory
|
||||
✓ allows to run a single test
|
||||
@ -1431,31 +1431,13 @@
|
||||
- visual snapshot of team city with ('Failure.php')
|
||||
- visual snapshot of team city with ('SuccessOnly.php')
|
||||
|
||||
WARN Tests\Visual\Todo
|
||||
PASS Tests\Visual\Todo
|
||||
✓ todos
|
||||
- todos in parallel → Waiting for Parallel to be stable
|
||||
✓ todos in parallel
|
||||
✓ todo
|
||||
- todo in parallel → Waiting for Parallel to be stable
|
||||
✓ todo in parallel
|
||||
|
||||
WARN Tests\Visual\Version
|
||||
- visual snapshot of help command output
|
||||
────────────────────────────────────────────────────────────────────────────
|
||||
FAILED Tests\Visual\JUnit > junit with parallel Error
|
||||
Class "XmlParseException" not found
|
||||
|
||||
at tests/Visual/JUnit.php:25
|
||||
21▕ $xml = new SimpleXMLElement(preg_replace("/(<\/?)(\w+):([^>]*>)/", '$1$2$3', $rawXmlContent));
|
||||
22▕
|
||||
23▕ return json_decode(json_encode((array) $xml), true);
|
||||
24▕ } catch (Exception $exception) {
|
||||
➜ 25▕ throw new XmlParseException($exception->getMessage(), $exception->getCode(), $exception->getPrevious());
|
||||
26▕ }
|
||||
27▕ };
|
||||
28▕
|
||||
29▕ $normalizedPath = function (string $path) {
|
||||
|
||||
1 tests/Visual/JUnit.php:25
|
||||
2 tests/Visual/JUnit.php:58
|
||||
|
||||
|
||||
Tests: 2 deprecated, 1 failed, 4 warnings, 5 incomplete, 2 notices, 13 todos, 24 skipped, 1026 passed (2508 assertions)
|
||||
Tests: 2 deprecated, 4 warnings, 5 incomplete, 2 notices, 13 todos, 21 skipped, 1030 passed (2515 assertions)
|
||||
Reference in New Issue
Block a user