Refactor/improve readability #13
Annotations
43 errors
|
ubuntu-latest node-20 php-7.4
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires pestphp/pest ^4.0 -> satisfiable by pestphp/pest[v4.0.0, ..., v4.3.2].
- pestphp/pest[v4.0.0, ..., v4.3.2] require php ^8.3.0 -> your php version (7.4.33) does not satisfy that requirement.
|
|
ubuntu-latest node-20 php-7.4
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires pestphp/pest ^3.6 -> satisfiable by pestphp/pest[v3.6.0, ..., v3.8.5].
- pestphp/pest[v3.6.0, ..., v3.8.5] require php ^8.2.0 -> your php version (7.4.33) does not satisfy that requirement.
|
|
ubuntu-latest node-20 php-7.4
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires pestphp/pest ^2.0 -> satisfiable by pestphp/pest[v2.0.1, ..., v2.36.1].
- pestphp/pest[v2.0.1, ..., v2.36.0] require php ^8.1.0 -> your php version (7.4.33) does not satisfy that requirement.
- pestphp/pest v2.36.1 requires php ^8.2.0 -> your php version (7.4.33) does not satisfy that requirement.
|
|
ubuntu-latest node-20 php-7.4
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires phpunit/phpunit ^12.0 -> satisfiable by phpunit/phpunit[12.5.8, 12.5.9, 12.5.10, 12.5.11].
- phpunit/phpunit[12.5.8, ..., 12.5.11] require php >=8.3 -> your php version (7.4.33) does not satisfy that requirement.
|
|
ubuntu-latest node-20 php-7.4
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires phpunit/phpunit ^11.0 -> satisfiable by phpunit/phpunit[11.5.50, 11.5.51, 11.5.52, 11.5.53].
- phpunit/phpunit[11.5.50, ..., 11.5.53] require php >=8.2 -> your php version (7.4.33) does not satisfy that requirement.
|
|
ubuntu-latest node-20 php-7.4
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires phpunit/phpunit ^10.0 -> satisfiable by phpunit/phpunit[10.5.62, 10.5.63].
- phpunit/phpunit[10.5.62, ..., 10.5.63] require php >=8.1 -> your php version (7.4.33) does not satisfy that requirement.
Problem 2
- Root composer.json requires brianium/paratest ^7.0 || ^6.6 || ^4.0 -> satisfiable by brianium/paratest[4.0.0, 4.1.0, 4.2.0, v6.6.0, ..., v6.11.1, v7.0.0, ..., v7.19.0].
- brianium/paratest 4.0.0 requires phpunit/phpunit ^7.5.8|^8.0|^9.0 -> found phpunit/phpunit[7.5.8, ..., 7.5.20, 8.0.0, ..., 8.5.52, 9.0.0, ..., 9.6.34] but it conflicts with your root composer.json require (^10.0).
- brianium/paratest 4.1.0 requires phpunit/phpunit ^9.2 -> found phpunit/phpunit[9.2.0, ..., 9.6.34] but it conflicts with your root composer.json require (^10.0).
- brianium/paratest 4.2.0 requires phpunit/phpunit ^9.3.5 -> found phpunit/phpunit[9.3.5, ..., 9.6.34] but it conflicts with your root composer.json require (^10.0).
- brianium/paratest[v6.9.1, ..., v6.11.1] require phpunit/phpunit ^9.6.4 -> found phpunit/phpunit[9.6.4, ..., 9.6.34] but it conflicts with your root composer.json require (^10.0).
- brianium/paratest[v6.6.0, ..., v6.6.2] require phpunit/phpunit ^9.5.21 -> found phpunit/phpunit[9.5.21, ..., 9.6.34] but it conflicts with your root composer.json require (^10.0).
- brianium/paratest v6.6.3 requires phpunit/phpunit ^9.5.23 -> found phpunit/phpunit[9.5.23, ..., 9.6.34] but it conflicts with your root composer.json require (^10.0).
- brianium/paratest[v6.6.4, ..., v6.6.5] require phpunit/phpunit ^9.5.24 -> found phpunit/phpunit[9.5.24, ..., 9.6.34] but it conflicts with your root composer.json require (^10.0).
- brianium/paratest[v6.7.0, ..., v6.8.0] require phpunit/phpunit ^9.5.27 -> found phpunit/phpunit[9.5.27, ..., 9.6.34] but it conflicts with your root composer.json require (^10.0).
- brianium/paratest v6.8.1 requires phpunit/phpunit ^9.5.28 -> found phpunit/phpunit[9.5.28, ..., 9.6.34] but it conflicts with your root composer.json require (^10.0).
- brianium/paratest v6.9.0 requires phpunit/phpunit ^9.6.3 -> found phpunit/phpunit[9.6.3, ..., 9.6.34] but it conflicts with your root composer.json require (^10.0).
- brianium/paratest[v7.0.0, ..., v7.1.5] require php ~8.1.0 || ~8.2.0 -> your php version (7.4.33) does not satisfy that requirement.
- brianium/paratest[v7.9.0, ..., v7.11.2] require php ~8.3.0 || ~8.4.0 -> your php version (7.4.33) does not satisfy that requirement.
- brianium/paratest[v7.12.0, ..., v7.19.0] require php ~8.3.0 || ~8.4.0 || ~8.5.0 -> your php version (7.4.33) does not satisfy that requirement.
- brianium/paratest[v7.2.0, ..., v7.3.2] require php ~8.1.0 || ~8.2.0 || ~8.3.0 -> your php version (7.4.33) does not satisfy that requirement.
- brianium/paratest[v7.4.0, ..., v7.5.7] require php ~8.2.0 || ~8.3.0 -> your php version (7.4.33) does not satisfy that requirement.
- brianium/paratest[v7.4.8, ..., v7.8.4] require php ~8.2.0 || ~8.3.0 || ~8.4.0 -> your php version (7.4.33) does not satisfy that requirement.
- brianium/paratest v7.8.5 requires php ~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0 -> your php version (7.4.33) does not satisfy that requirement.
|
|
ubuntu-latest node-20 php-8.2
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires pestphp/pest ^4.0 -> satisfiable by pestphp/pest[v4.0.0, ..., v4.3.2].
- pestphp/pest[v4.0.0, ..., v4.3.2] require php ^8.3.0 -> your php version (8.2.30) does not satisfy that requirement.
|
|
ubuntu-latest node-20 php-8.2
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires phpunit/phpunit ^12.0 -> satisfiable by phpunit/phpunit[12.5.8, 12.5.9, 12.5.10, 12.5.11].
- phpunit/phpunit[12.5.8, ..., 12.5.11] require php >=8.3 -> your php version (8.2.30) does not satisfy that requirement.
|
|
windows-latest node-20 php-7.4
Process completed with exit code 1.
|
|
src/Observers/OutputChannelObserver.test.ts > OutputChannelObserver on 'phpunit-v9' (PHPUnit '9.6.34') > should trigger testFailed with actual and expect:
src/Observers/OutputChannelObserver.test.ts#L179
AssertionError: expected "vi.fn()" to be called with arguments: [ StringContaining{…} ]
Received:
1st vi.fn() call:
[
- StringContaining " ┐
- ├ Failed asserting that two arrays are identical.
- ┊ ---·Expected Array &0 (
- ┊ 'a' => 'b'
- ┊ 'c' => 'd'
- ┊ )
- ┊ +++·Actual Array &0 (
- ┊ 'e' => 'f'
- ┊ 0 => 'g'
- ┊ 1 => 'h'
- ┊ )
- │
- │ d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php:32",
+ "php v9/vendor/bin/phpunit --configuration=phpunit.xml --configuration=d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\v9\\phpunit.xml --filter=^.*::(test_is_not_same)( with data set .*)?$ d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php --colors=never --teamcity",
]
2nd vi.fn() call:
[
- StringContaining " ┐
- ├ Failed asserting that two arrays are identical.
- ┊ ---·Expected Array &0 (
- ┊ 'a' => 'b'
- ┊ 'c' => 'd'
- ┊ )
- ┊ +++·Actual Array &0 (
- ┊ 'e' => 'f'
- ┊ 0 => 'g'
- ┊ 1 => 'h'
- ┊ )
- │
- │ d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php:32",
+ "
+ 🚀 PHPUnit 9.6.34 by Sebastian Bergmann and contributors.
+ ",
]
3rd vi.fn() call:
[
- StringContaining " ┐
- ├ Failed asserting that two arrays are identical.
- ┊ ---·Expected Array &0 (
- ┊ 'a' => 'b'
- ┊ 'c' => 'd'
- ┊ )
- ┊ +++·Actual Array &0 (
- ┊ 'e' => 'f'
- ┊ 0 => 'g'
- ┊ 1 => 'h'
- ┊ )
- │
- │ d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php:32",
+ "Assertions (Tests\\Assertions)",
]
4th vi.fn() call:
@@ -1,7 +1,8 @@
[
- StringContaining " ┐
+ " ❌ is_not_same 5 ms
+ ┐
├ Failed asserting that two arrays are identical.
┊ ---·Expected Array &0 (
┊ 'a' => 'b'
┊ 'c' => 'd'
┊ )
@@ -9,7 +10,10 @@
┊ 'e' => 'f'
┊ 0 => 'g'
┊ 1 => 'h'
┊ )
│
- │ d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php:32",
+ │ D:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php:32
+ │ D:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\v9\\vendor\\phpunit\\phpunit\\phpunit:106
+ ┴
+ ",
]
5th vi.fn() call:
[
- StringContaining " ┐
- ├ Failed asserting that two arrays are identical.
- ┊ ---·Expected Array &0 (
- ┊ 'a' => 'b'
- ┊ 'c' => 'd'
- ┊ )
- ┊ +++·Actual Array &0 (
- ┊ 'e' => 'f'
- ┊ 0 => 'g'
- ┊ 1 => 'h'
- ┊ )
- │
- │ d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php:32",
+ "",
]
Number of calls: 5
❯ src/Observers/OutputChannelObserver.test.ts:179:42
|
|
src/Observers/OutputChannelObserver.test.ts > OutputChannelObserver on 'phpunit-v9' (PHPUnit '9.6.34') > should trigger testFailed:
src/Observers/OutputChannelObserver.test.ts#L149
AssertionError: expected "vi.fn()" to be called with arguments: [ StringContaining{…} ]
Received:
1st vi.fn() call:
[
- StringContaining " ┐
- ├ Failed asserting that false is true.
- │
- │ d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php:27",
+ "php v9/vendor/bin/phpunit --configuration=phpunit.xml --configuration=d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\v9\\phpunit.xml --filter=^.*::(test_failed|test_passed)( with data set .*)?$ d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php --colors=never --teamcity",
]
2nd vi.fn() call:
[
- StringContaining " ┐
- ├ Failed asserting that false is true.
- │
- │ d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php:27",
+ "
+ 🚀 PHPUnit 9.6.34 by Sebastian Bergmann and contributors.
+ ",
]
3rd vi.fn() call:
[
- StringContaining " ┐
- ├ Failed asserting that false is true.
- │
- │ d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php:27",
+ "Assertions (Tests\\Assertions)",
]
4th vi.fn() call:
[
- StringContaining " ┐
- ├ Failed asserting that false is true.
- │
- │ d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php:27",
+ " ✅ passed 21 ms",
]
5th vi.fn() call:
[
- StringContaining " ┐
+ " ❌ failed 1 ms
+ ┐
├ Failed asserting that false is true.
│
- │ d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php:27",
+ │ D:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php:27
+ │ D:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\v9\\vendor\\phpunit\\phpunit\\phpunit:106
+ ┴
+ ",
]
6th vi.fn() call:
[
- StringContaining " ┐
- ├ Failed asserting that false is true.
- │
- │ d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php:27",
+ "",
]
Number of calls: 6
❯ src/Observers/OutputChannelObserver.test.ts:149:42
|
|
windows-latest node-20 php-7.4
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires pestphp/pest ^4.0 -> satisfiable by pestphp/pest[v4.0.0, ..., v4.3.2].
- pestphp/pest[v4.0.0, ..., v4.3.2] require php ^8.3.0 -> your php version (7.4.33) does not satisfy that requirement.
|
|
windows-latest node-20 php-7.4
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires pestphp/pest ^3.6 -> satisfiable by pestphp/pest[v3.6.0, ..., v3.8.5].
- pestphp/pest[v3.6.0, ..., v3.8.5] require php ^8.2.0 -> your php version (7.4.33) does not satisfy that requirement.
|
|
windows-latest node-20 php-7.4
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires pestphp/pest ^2.0 -> satisfiable by pestphp/pest[v2.0.1, ..., v2.36.1].
- pestphp/pest[v2.0.1, ..., v2.36.0] require php ^8.1.0 -> your php version (7.4.33) does not satisfy that requirement.
- pestphp/pest v2.36.1 requires php ^8.2.0 -> your php version (7.4.33) does not satisfy that requirement.
|
|
windows-latest node-20 php-7.4
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires phpunit/phpunit ^12.0 -> satisfiable by phpunit/phpunit[12.5.8, 12.5.9, 12.5.10, 12.5.11].
- phpunit/phpunit[12.5.8, ..., 12.5.11] require php >=8.3 -> your php version (7.4.33) does not satisfy that requirement.
|
|
windows-latest node-20 php-7.4
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires phpunit/phpunit ^11.0 -> satisfiable by phpunit/phpunit[11.5.50, 11.5.51, 11.5.52, 11.5.53].
- phpunit/phpunit[11.5.50, ..., 11.5.53] require php >=8.2 -> your php version (7.4.33) does not satisfy that requirement.
|
|
windows-latest node-20 php-7.4
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires phpunit/phpunit ^10.0 -> satisfiable by phpunit/phpunit[10.5.62, 10.5.63].
- phpunit/phpunit[10.5.62, ..., 10.5.63] require php >=8.1 -> your php version (7.4.33) does not satisfy that requirement.
Problem 2
- Root composer.json requires brianium/paratest ^7.0 || ^6.6 || ^4.0 -> satisfiable by brianium/paratest[4.0.0, 4.1.0, 4.2.0, v6.6.0, ..., v6.11.1, v7.0.0, ..., v7.19.0].
- brianium/paratest 4.0.0 requires phpunit/phpunit ^7.5.8|^8.0|^9.0 -> found phpunit/phpunit[7.5.8, ..., 7.5.20, 8.0.0, ..., 8.5.52, 9.0.0, ..., 9.6.34] but it conflicts with your root composer.json require (^10.0).
- brianium/paratest 4.1.0 requires phpunit/phpunit ^9.2 -> found phpunit/phpunit[9.2.0, ..., 9.6.34] but it conflicts with your root composer.json require (^10.0).
- brianium/paratest 4.2.0 requires phpunit/phpunit ^9.3.5 -> found phpunit/phpunit[9.3.5, ..., 9.6.34] but it conflicts with your root composer.json require (^10.0).
- brianium/paratest[v6.9.1, ..., v6.11.1] require phpunit/phpunit ^9.6.4 -> found phpunit/phpunit[9.6.4, ..., 9.6.34] but it conflicts with your root composer.json require (^10.0).
- brianium/paratest[v6.6.0, ..., v6.6.2] require phpunit/phpunit ^9.5.21 -> found phpunit/phpunit[9.5.21, ..., 9.6.34] but it conflicts with your root composer.json require (^10.0).
- brianium/paratest v6.6.3 requires phpunit/phpunit ^9.5.23 -> found phpunit/phpunit[9.5.23, ..., 9.6.34] but it conflicts with your root composer.json require (^10.0).
- brianium/paratest[v6.6.4, ..., v6.6.5] require phpunit/phpunit ^9.5.24 -> found phpunit/phpunit[9.5.24, ..., 9.6.34] but it conflicts with your root composer.json require (^10.0).
- brianium/paratest[v6.7.0, ..., v6.8.0] require phpunit/phpunit ^9.5.27 -> found phpunit/phpunit[9.5.27, ..., 9.6.34] but it conflicts with your root composer.json require (^10.0).
- brianium/paratest v6.8.1 requires phpunit/phpunit ^9.5.28 -> found phpunit/phpunit[9.5.28, ..., 9.6.34] but it conflicts with your root composer.json require (^10.0).
- brianium/paratest v6.9.0 requires phpunit/phpunit ^9.6.3 -> found phpunit/phpunit[9.6.3, ..., 9.6.34] but it conflicts with your root composer.json require (^10.0).
- brianium/paratest[v7.0.0, ..., v7.1.5] require php ~8.1.0 || ~8.2.0 -> your php version (7.4.33) does not satisfy that requirement.
- brianium/paratest[v7.9.0, ..., v7.11.2] require php ~8.3.0 || ~8.4.0 -> your php version (7.4.33) does not satisfy that requirement.
- brianium/paratest[v7.12.0, ..., v7.19.0] require php ~8.3.0 || ~8.4.0 || ~8.5.0 -> your php version (7.4.33) does not satisfy that requirement.
- brianium/paratest[v7.2.0, ..., v7.3.2] require php ~8.1.0 || ~8.2.0 || ~8.3.0 -> your php version (7.4.33) does not satisfy that requirement.
- brianium/paratest[v7.4.0, ..., v7.5.7] require php ~8.2.0 || ~8.3.0 -> your php version (7.4.33) does not satisfy that requirement.
- brianium/paratest[v7.4.8, ..., v7.8.4] require php ~8.2.0 || ~8.3.0 || ~8.4.0 -> your php version (7.4.33) does not satisfy that requirement.
- brianium/paratest v7.8.5 requires php ~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0 -> your php version (7.4.33) does not satisfy that requirement.
|
|
macos-latest node-20 php-7.4
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires pestphp/pest ^4.0 -> satisfiable by pestphp/pest[v4.0.0, ..., v4.3.2].
- pestphp/pest[v4.0.0, ..., v4.3.2] require php ^8.3.0 -> your php version (7.4.33) does not satisfy that requirement.
|
|
macos-latest node-20 php-7.4
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires pestphp/pest ^3.6 -> satisfiable by pestphp/pest[v3.6.0, ..., v3.8.5].
- pestphp/pest[v3.6.0, ..., v3.8.5] require php ^8.2.0 -> your php version (7.4.33) does not satisfy that requirement.
|
|
macos-latest node-20 php-7.4
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires pestphp/pest ^2.0 -> satisfiable by pestphp/pest[v2.0.1, ..., v2.36.1].
- pestphp/pest[v2.0.1, ..., v2.36.0] require php ^8.1.0 -> your php version (7.4.33) does not satisfy that requirement.
- pestphp/pest v2.36.1 requires php ^8.2.0 -> your php version (7.4.33) does not satisfy that requirement.
|
|
macos-latest node-20 php-7.4
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires phpunit/phpunit ^12.0 -> satisfiable by phpunit/phpunit[12.5.8, 12.5.9, 12.5.10, 12.5.11].
- phpunit/phpunit[12.5.8, ..., 12.5.11] require php >=8.3 -> your php version (7.4.33) does not satisfy that requirement.
|
|
macos-latest node-20 php-7.4
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires phpunit/phpunit ^11.0 -> satisfiable by phpunit/phpunit[11.5.50, 11.5.51, 11.5.52, 11.5.53].
- phpunit/phpunit[11.5.50, ..., 11.5.53] require php >=8.2 -> your php version (7.4.33) does not satisfy that requirement.
|
|
macos-latest node-20 php-7.4
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires phpunit/phpunit ^10.0 -> satisfiable by phpunit/phpunit[10.5.62, 10.5.63].
- phpunit/phpunit[10.5.62, ..., 10.5.63] require php >=8.1 -> your php version (7.4.33) does not satisfy that requirement.
Problem 2
- Root composer.json requires brianium/paratest ^7.0 || ^6.6 || ^4.0 -> satisfiable by brianium/paratest[4.0.0, 4.1.0, 4.2.0, v6.6.0, ..., v6.11.1, v7.0.0, ..., v7.19.0].
- brianium/paratest 4.0.0 requires phpunit/phpunit ^7.5.8|^8.0|^9.0 -> found phpunit/phpunit[7.5.8, ..., 7.5.20, 8.0.0, ..., 8.5.52, 9.0.0, ..., 9.6.34] but it conflicts with your root composer.json require (^10.0).
- brianium/paratest 4.1.0 requires phpunit/phpunit ^9.2 -> found phpunit/phpunit[9.2.0, ..., 9.6.34] but it conflicts with your root composer.json require (^10.0).
- brianium/paratest 4.2.0 requires phpunit/phpunit ^9.3.5 -> found phpunit/phpunit[9.3.5, ..., 9.6.34] but it conflicts with your root composer.json require (^10.0).
- brianium/paratest[v6.9.1, ..., v6.11.1] require phpunit/phpunit ^9.6.4 -> found phpunit/phpunit[9.6.4, ..., 9.6.34] but it conflicts with your root composer.json require (^10.0).
- brianium/paratest[v6.6.0, ..., v6.6.2] require phpunit/phpunit ^9.5.21 -> found phpunit/phpunit[9.5.21, ..., 9.6.34] but it conflicts with your root composer.json require (^10.0).
- brianium/paratest v6.6.3 requires phpunit/phpunit ^9.5.23 -> found phpunit/phpunit[9.5.23, ..., 9.6.34] but it conflicts with your root composer.json require (^10.0).
- brianium/paratest[v6.6.4, ..., v6.6.5] require phpunit/phpunit ^9.5.24 -> found phpunit/phpunit[9.5.24, ..., 9.6.34] but it conflicts with your root composer.json require (^10.0).
- brianium/paratest[v6.7.0, ..., v6.8.0] require phpunit/phpunit ^9.5.27 -> found phpunit/phpunit[9.5.27, ..., 9.6.34] but it conflicts with your root composer.json require (^10.0).
- brianium/paratest v6.8.1 requires phpunit/phpunit ^9.5.28 -> found phpunit/phpunit[9.5.28, ..., 9.6.34] but it conflicts with your root composer.json require (^10.0).
- brianium/paratest v6.9.0 requires phpunit/phpunit ^9.6.3 -> found phpunit/phpunit[9.6.3, ..., 9.6.34] but it conflicts with your root composer.json require (^10.0).
- brianium/paratest[v7.0.0, ..., v7.1.5] require php ~8.1.0 || ~8.2.0 -> your php version (7.4.33) does not satisfy that requirement.
- brianium/paratest[v7.9.0, ..., v7.11.2] require php ~8.3.0 || ~8.4.0 -> your php version (7.4.33) does not satisfy that requirement.
- brianium/paratest[v7.12.0, ..., v7.19.0] require php ~8.3.0 || ~8.4.0 || ~8.5.0 -> your php version (7.4.33) does not satisfy that requirement.
- brianium/paratest[v7.2.0, ..., v7.3.2] require php ~8.1.0 || ~8.2.0 || ~8.3.0 -> your php version (7.4.33) does not satisfy that requirement.
- brianium/paratest[v7.4.0, ..., v7.5.7] require php ~8.2.0 || ~8.3.0 -> your php version (7.4.33) does not satisfy that requirement.
- brianium/paratest[v7.4.8, ..., v7.8.4] require php ~8.2.0 || ~8.3.0 || ~8.4.0 -> your php version (7.4.33) does not satisfy that requirement.
- brianium/paratest v7.8.5 requires php ~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0 -> your php version (7.4.33) does not satisfy that requirement.
|
|
macos-latest node-20 php-8.2
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires pestphp/pest ^4.0 -> satisfiable by pestphp/pest[v4.0.0, ..., v4.3.2].
- pestphp/pest[v4.0.0, ..., v4.3.2] require php ^8.3.0 -> your php version (8.2.30) does not satisfy that requirement.
|
|
macos-latest node-20 php-8.2
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires phpunit/phpunit ^12.0 -> satisfiable by phpunit/phpunit[12.5.8, 12.5.9, 12.5.10, 12.5.11].
- phpunit/phpunit[12.5.8, ..., 12.5.11] require php >=8.3 -> your php version (8.2.30) does not satisfy that requirement.
|
|
windows-latest node-20 php-8.2
Process completed with exit code 1.
|
|
src/Observers/OutputChannelObserver.test.ts > OutputChannelObserver on 'phpunit-v11' (PHPUnit '11.5.53') > should trigger testFailed with actual and expect:
src/Observers/OutputChannelObserver.test.ts#L179
AssertionError: expected "vi.fn()" to be called with arguments: [ StringContaining{…} ]
Received:
1st vi.fn() call:
[
- StringContaining " ┐
- ├ Failed asserting that two arrays are identical.
- ┊ ---·Expected Array &0 [
- ┊ 'a' => 'b',
- ┊ 'c' => 'd',
- ┊ ]
- ┊ +++·Actual Array &0 [
- ┊ 'e' => 'f',
- ┊ 0 => 'g',
- ┊ 1 => 'h',
- ┊ ]
- │
- │ d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php:32",
+ "php v11/vendor/bin/phpunit --configuration=phpunit.xml --configuration=d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\v11\\phpunit.xml --filter=^.*::(test_is_not_same)( with data set .*)?$ d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php --colors=never --teamcity",
]
2nd vi.fn() call:
[
- StringContaining " ┐
- ├ Failed asserting that two arrays are identical.
- ┊ ---·Expected Array &0 [
- ┊ 'a' => 'b',
- ┊ 'c' => 'd',
- ┊ ]
- ┊ +++·Actual Array &0 [
- ┊ 'e' => 'f',
- ┊ 0 => 'g',
- ┊ 1 => 'h',
- ┊ ]
- │
- │ d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php:32",
+ "
+ 🚀 PHPUnit 11.5.53 by Sebastian Bergmann and contributors.
+ ",
]
3rd vi.fn() call:
[
- StringContaining " ┐
- ├ Failed asserting that two arrays are identical.
- ┊ ---·Expected Array &0 [
- ┊ 'a' => 'b',
- ┊ 'c' => 'd',
- ┊ ]
- ┊ +++·Actual Array &0 [
- ┊ 'e' => 'f',
- ┊ 0 => 'g',
- ┊ 1 => 'h',
- ┊ ]
- │
- │ d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php:32",
+ "Runtime: PHP 8.2.30",
]
4th vi.fn() call:
[
- StringContaining " ┐
- ├ Failed asserting that two arrays are identical.
- ┊ ---·Expected Array &0 [
- ┊ 'a' => 'b',
- ┊ 'c' => 'd',
- ┊ ]
- ┊ +++·Actual Array &0 [
- ┊ 'e' => 'f',
- ┊ 0 => 'g',
- ┊ 1 => 'h',
- ┊ ]
- │
- │ d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php:32",
+ "Configuration: D:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\v11\\phpunit.xml
+ ",
]
5th vi.fn() call:
[
- StringContaining " ┐
- ├ Failed asserting that two arrays are identical.
- ┊ ---·Expected Array &0 [
- ┊ 'a' => 'b',
- ┊ 'c' => 'd',
- ┊ ]
- ┊ +++·Actual Array &0 [
- ┊ 'e' => 'f',
- ┊ 0 => 'g',
- ┊ 1 => 'h',
- ┊ ]
- │
- │ d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php:32",
+ "Assertions (Tests\\Assertions)",
]
6th vi.fn() call:
@@ -1,7 +1,8 @@
[
- StringContaining " ┐
+ " ❌ is_not_same 24 ms
+ ┐
├ Failed asserting that two arrays are identical.
┊ ---·Expected Array &0 [
┊ 'a' => 'b',
┊ 'c' => 'd',
┊ ]
@@ -9,7 +10,9 @@
┊ 'e' => 'f',
┊ 0 => 'g',
┊ 1 => 'h',
┊ ]
│
- │ d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php:32",
+ │ D:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php:32
+ ┴
+ ",
]
7th vi.fn() call:
[
- StringContaining " ┐
- ├ Failed asserting that two arrays are identical.
- ┊ ---·Expe
|
|
src/Observers/OutputChannelObserver.test.ts > OutputChannelObserver on 'phpunit-v11' (PHPUnit '11.5.53') > should trigger testFailed:
src/Observers/OutputChannelObserver.test.ts#L149
AssertionError: expected "vi.fn()" to be called with arguments: [ StringContaining{…} ]
Received:
1st vi.fn() call:
[
- StringContaining " ┐
- ├ Failed asserting that false is true.
- │
- │ d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php:27",
+ "php v11/vendor/bin/phpunit --configuration=phpunit.xml --configuration=d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\v11\\phpunit.xml --filter=^.*::(test_failed|test_passed)( with data set .*)?$ d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php --colors=never --teamcity",
]
2nd vi.fn() call:
[
- StringContaining " ┐
- ├ Failed asserting that false is true.
- │
- │ d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php:27",
+ "
+ 🚀 PHPUnit 11.5.53 by Sebastian Bergmann and contributors.
+ ",
]
3rd vi.fn() call:
[
- StringContaining " ┐
- ├ Failed asserting that false is true.
- │
- │ d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php:27",
+ "Runtime: PHP 8.2.30",
]
4th vi.fn() call:
[
- StringContaining " ┐
- ├ Failed asserting that false is true.
- │
- │ d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php:27",
+ "Configuration: D:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\v11\\phpunit.xml
+ ",
]
5th vi.fn() call:
[
- StringContaining " ┐
- ├ Failed asserting that false is true.
- │
- │ d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php:27",
+ "Assertions (Tests\\Assertions)",
]
6th vi.fn() call:
[
- StringContaining " ┐
+ " ❌ failed 26 ms
+ ┐
├ Failed asserting that false is true.
│
- │ d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php:27",
+ │ D:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php:27
+ ┴
+ ",
]
7th vi.fn() call:
[
- StringContaining " ┐
- ├ Failed asserting that false is true.
- │
- │ d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php:27",
+ " ✅ passed 19 ms",
]
8th vi.fn() call:
[
- StringContaining " ┐
- ├ Failed asserting that false is true.
- │
- │ d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php:27",
+ "",
]
Number of calls: 8
❯ src/Observers/OutputChannelObserver.test.ts:149:42
|
|
src/Observers/OutputChannelObserver.test.ts > OutputChannelObserver on 'phpunit-v10' (PHPUnit '10.5.63') > should trigger testFailed with actual and expect:
src/Observers/OutputChannelObserver.test.ts#L179
AssertionError: expected "vi.fn()" to be called with arguments: [ StringContaining{…} ]
Received:
1st vi.fn() call:
[
- StringContaining " ┐
- ├ Failed asserting that two arrays are identical.
- ┊ ---·Expected Array &0 [
- ┊ 'a' => 'b',
- ┊ 'c' => 'd',
- ┊ ]
- ┊ +++·Actual Array &0 [
- ┊ 'e' => 'f',
- ┊ 0 => 'g',
- ┊ 1 => 'h',
- ┊ ]
- │
- │ d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php:32",
+ "php v10/vendor/bin/phpunit --configuration=phpunit.xml --configuration=d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\v10\\phpunit.xml --filter=^.*::(test_is_not_same)( with data set .*)?$ d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php --colors=never --teamcity",
]
2nd vi.fn() call:
[
- StringContaining " ┐
- ├ Failed asserting that two arrays are identical.
- ┊ ---·Expected Array &0 [
- ┊ 'a' => 'b',
- ┊ 'c' => 'd',
- ┊ ]
- ┊ +++·Actual Array &0 [
- ┊ 'e' => 'f',
- ┊ 0 => 'g',
- ┊ 1 => 'h',
- ┊ ]
- │
- │ d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php:32",
+ "
+ 🚀 PHPUnit 10.5.63 by Sebastian Bergmann and contributors.
+ ",
]
3rd vi.fn() call:
[
- StringContaining " ┐
- ├ Failed asserting that two arrays are identical.
- ┊ ---·Expected Array &0 [
- ┊ 'a' => 'b',
- ┊ 'c' => 'd',
- ┊ ]
- ┊ +++·Actual Array &0 [
- ┊ 'e' => 'f',
- ┊ 0 => 'g',
- ┊ 1 => 'h',
- ┊ ]
- │
- │ d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php:32",
+ "Runtime: PHP 8.2.30",
]
4th vi.fn() call:
[
- StringContaining " ┐
- ├ Failed asserting that two arrays are identical.
- ┊ ---·Expected Array &0 [
- ┊ 'a' => 'b',
- ┊ 'c' => 'd',
- ┊ ]
- ┊ +++·Actual Array &0 [
- ┊ 'e' => 'f',
- ┊ 0 => 'g',
- ┊ 1 => 'h',
- ┊ ]
- │
- │ d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php:32",
+ "Configuration: D:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\v10\\phpunit.xml
+ ",
]
5th vi.fn() call:
[
- StringContaining " ┐
- ├ Failed asserting that two arrays are identical.
- ┊ ---·Expected Array &0 [
- ┊ 'a' => 'b',
- ┊ 'c' => 'd',
- ┊ ]
- ┊ +++·Actual Array &0 [
- ┊ 'e' => 'f',
- ┊ 0 => 'g',
- ┊ 1 => 'h',
- ┊ ]
- │
- │ d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php:32",
+ "Assertions (Tests\\Assertions)",
]
6th vi.fn() call:
@@ -1,7 +1,8 @@
[
- StringContaining " ┐
+ " ❌ is_not_same 32 ms
+ ┐
├ Failed asserting that two arrays are identical.
┊ ---·Expected Array &0 [
┊ 'a' => 'b',
┊ 'c' => 'd',
┊ ]
@@ -9,7 +10,9 @@
┊ 'e' => 'f',
┊ 0 => 'g',
┊ 1 => 'h',
┊ ]
│
- │ d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php:32",
+ │ D:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php:32
+ ┴
+ ",
]
7th vi.fn() call:
[
- StringContaining " ┐
- ├ Failed asserting that two arrays are identical.
- ┊ ---·Expe
|
|
src/Observers/OutputChannelObserver.test.ts > OutputChannelObserver on 'phpunit-v10' (PHPUnit '10.5.63') > should trigger testFailed:
src/Observers/OutputChannelObserver.test.ts#L149
AssertionError: expected "vi.fn()" to be called with arguments: [ StringContaining{…} ]
Received:
1st vi.fn() call:
[
- StringContaining " ┐
- ├ Failed asserting that false is true.
- │
- │ d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php:27",
+ "php v10/vendor/bin/phpunit --configuration=phpunit.xml --configuration=d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\v10\\phpunit.xml --filter=^.*::(test_failed|test_passed)( with data set .*)?$ d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php --colors=never --teamcity",
]
2nd vi.fn() call:
[
- StringContaining " ┐
- ├ Failed asserting that false is true.
- │
- │ d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php:27",
+ "
+ 🚀 PHPUnit 10.5.63 by Sebastian Bergmann and contributors.
+ ",
]
3rd vi.fn() call:
[
- StringContaining " ┐
- ├ Failed asserting that false is true.
- │
- │ d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php:27",
+ "Runtime: PHP 8.2.30",
]
4th vi.fn() call:
[
- StringContaining " ┐
- ├ Failed asserting that false is true.
- │
- │ d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php:27",
+ "Configuration: D:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\v10\\phpunit.xml
+ ",
]
5th vi.fn() call:
[
- StringContaining " ┐
- ├ Failed asserting that false is true.
- │
- │ d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php:27",
+ "Assertions (Tests\\Assertions)",
]
6th vi.fn() call:
[
- StringContaining " ┐
+ " ❌ failed 18 ms
+ ┐
├ Failed asserting that false is true.
│
- │ d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php:27",
+ │ D:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php:27
+ ┴
+ ",
]
7th vi.fn() call:
[
- StringContaining " ┐
- ├ Failed asserting that false is true.
- │
- │ d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php:27",
+ " ✅ passed 17 ms",
]
8th vi.fn() call:
[
- StringContaining " ┐
- ├ Failed asserting that false is true.
- │
- │ d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php:27",
+ "",
]
Number of calls: 8
❯ src/Observers/OutputChannelObserver.test.ts:149:42
|
|
src/Observers/OutputChannelObserver.test.ts > OutputChannelObserver on 'phpunit-v9' (PHPUnit '9.6.34') > should trigger testFailed with actual and expect:
src/Observers/OutputChannelObserver.test.ts#L179
AssertionError: expected "vi.fn()" to be called with arguments: [ StringContaining{…} ]
Received:
1st vi.fn() call:
[
- StringContaining " ┐
- ├ Failed asserting that two arrays are identical.
- ┊ ---·Expected Array &0 (
- ┊ 'a' => 'b'
- ┊ 'c' => 'd'
- ┊ )
- ┊ +++·Actual Array &0 (
- ┊ 'e' => 'f'
- ┊ 0 => 'g'
- ┊ 1 => 'h'
- ┊ )
- │
- │ d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php:32",
+ "php v9/vendor/bin/phpunit --configuration=phpunit.xml --configuration=d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\v9\\phpunit.xml --filter=^.*::(test_is_not_same)( with data set .*)?$ d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php --colors=never --teamcity",
]
2nd vi.fn() call:
[
- StringContaining " ┐
- ├ Failed asserting that two arrays are identical.
- ┊ ---·Expected Array &0 (
- ┊ 'a' => 'b'
- ┊ 'c' => 'd'
- ┊ )
- ┊ +++·Actual Array &0 (
- ┊ 'e' => 'f'
- ┊ 0 => 'g'
- ┊ 1 => 'h'
- ┊ )
- │
- │ d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php:32",
+ "
+ 🚀 PHPUnit 9.6.34 by Sebastian Bergmann and contributors.
+ ",
]
3rd vi.fn() call:
[
- StringContaining " ┐
- ├ Failed asserting that two arrays are identical.
- ┊ ---·Expected Array &0 (
- ┊ 'a' => 'b'
- ┊ 'c' => 'd'
- ┊ )
- ┊ +++·Actual Array &0 (
- ┊ 'e' => 'f'
- ┊ 0 => 'g'
- ┊ 1 => 'h'
- ┊ )
- │
- │ d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php:32",
+ "Assertions (Tests\\Assertions)",
]
4th vi.fn() call:
@@ -1,7 +1,8 @@
[
- StringContaining " ┐
+ " ❌ is_not_same 8 ms
+ ┐
├ Failed asserting that two arrays are identical.
┊ ---·Expected Array &0 (
┊ 'a' => 'b'
┊ 'c' => 'd'
┊ )
@@ -9,7 +10,9 @@
┊ 'e' => 'f'
┊ 0 => 'g'
┊ 1 => 'h'
┊ )
│
- │ d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php:32",
+ │ D:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php:32
+ ┴
+ ",
]
5th vi.fn() call:
[
- StringContaining " ┐
- ├ Failed asserting that two arrays are identical.
- ┊ ---·Expected Array &0 (
- ┊ 'a' => 'b'
- ┊ 'c' => 'd'
- ┊ )
- ┊ +++·Actual Array &0 (
- ┊ 'e' => 'f'
- ┊ 0 => 'g'
- ┊ 1 => 'h'
- ┊ )
- │
- │ d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php:32",
+ "",
]
Number of calls: 5
❯ src/Observers/OutputChannelObserver.test.ts:179:42
|
|
src/Observers/OutputChannelObserver.test.ts > OutputChannelObserver on 'phpunit-v9' (PHPUnit '9.6.34') > should trigger testFailed:
src/Observers/OutputChannelObserver.test.ts#L149
AssertionError: expected "vi.fn()" to be called with arguments: [ StringContaining{…} ]
Received:
1st vi.fn() call:
[
- StringContaining " ┐
- ├ Failed asserting that false is true.
- │
- │ d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php:27",
+ "php v9/vendor/bin/phpunit --configuration=phpunit.xml --configuration=d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\v9\\phpunit.xml --filter=^.*::(test_failed|test_passed)( with data set .*)?$ d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php --colors=never --teamcity",
]
2nd vi.fn() call:
[
- StringContaining " ┐
- ├ Failed asserting that false is true.
- │
- │ d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php:27",
+ "
+ 🚀 PHPUnit 9.6.34 by Sebastian Bergmann and contributors.
+ ",
]
3rd vi.fn() call:
[
- StringContaining " ┐
- ├ Failed asserting that false is true.
- │
- │ d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php:27",
+ "Assertions (Tests\\Assertions)",
]
4th vi.fn() call:
[
- StringContaining " ┐
- ├ Failed asserting that false is true.
- │
- │ d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php:27",
+ " ✅ passed 12 ms",
]
5th vi.fn() call:
[
- StringContaining " ┐
+ " ❌ failed 1 ms
+ ┐
├ Failed asserting that false is true.
│
- │ d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php:27",
+ │ D:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php:27
+ ┴
+ ",
]
6th vi.fn() call:
[
- StringContaining " ┐
- ├ Failed asserting that false is true.
- │
- │ d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php:27",
+ "",
]
Number of calls: 6
❯ src/Observers/OutputChannelObserver.test.ts:149:42
|
|
windows-latest node-20 php-8.2
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires pestphp/pest ^4.0 -> satisfiable by pestphp/pest[v4.0.0, ..., v4.3.2].
- pestphp/pest[v4.0.0, ..., v4.3.2] require php ^8.3.0 -> your php version (8.2.30) does not satisfy that requirement.
|
|
windows-latest node-20 php-8.2
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires phpunit/phpunit ^12.0 -> satisfiable by phpunit/phpunit[12.5.8, 12.5.9, 12.5.10, 12.5.11].
- phpunit/phpunit[12.5.8, ..., 12.5.11] require php >=8.3 -> your php version (8.2.30) does not satisfy that requirement.
|
|
windows-latest node-20 php-8.4
Process completed with exit code 1.
|
|
src/Observers/OutputChannelObserver.test.ts > OutputChannelObserver on 'phpunit-v12' (PHPUnit '12.5.11') > should trigger testFailed with actual and expect:
src/Observers/OutputChannelObserver.test.ts#L179
AssertionError: expected "vi.fn()" to be called with arguments: [ StringContaining{…} ]
Received:
1st vi.fn() call:
[
- StringContaining " ┐
- ├ Failed asserting that two arrays are identical.
- ┊ ---·Expected Array &0 [
- ┊ 'a' => 'b',
- ┊ 'c' => 'd',
- ┊ ]
- ┊ +++·Actual Array &0 [
- ┊ 'e' => 'f',
- ┊ 0 => 'g',
- ┊ 1 => 'h',
- ┊ ]
- │
- │ d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php:32",
+ "php v12/vendor/bin/phpunit --configuration=phpunit.xml --configuration=d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\v12\\phpunit.xml --filter=^.*::(test_is_not_same)( with data set .*)?$ d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php --colors=never --teamcity",
]
2nd vi.fn() call:
[
- StringContaining " ┐
- ├ Failed asserting that two arrays are identical.
- ┊ ---·Expected Array &0 [
- ┊ 'a' => 'b',
- ┊ 'c' => 'd',
- ┊ ]
- ┊ +++·Actual Array &0 [
- ┊ 'e' => 'f',
- ┊ 0 => 'g',
- ┊ 1 => 'h',
- ┊ ]
- │
- │ d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php:32",
+ "
+ 🚀 PHPUnit 12.5.11 by Sebastian Bergmann and contributors.
+ ",
]
3rd vi.fn() call:
[
- StringContaining " ┐
- ├ Failed asserting that two arrays are identical.
- ┊ ---·Expected Array &0 [
- ┊ 'a' => 'b',
- ┊ 'c' => 'd',
- ┊ ]
- ┊ +++·Actual Array &0 [
- ┊ 'e' => 'f',
- ┊ 0 => 'g',
- ┊ 1 => 'h',
- ┊ ]
- │
- │ d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php:32",
+ "Runtime: PHP 8.4.18",
]
4th vi.fn() call:
[
- StringContaining " ┐
- ├ Failed asserting that two arrays are identical.
- ┊ ---·Expected Array &0 [
- ┊ 'a' => 'b',
- ┊ 'c' => 'd',
- ┊ ]
- ┊ +++·Actual Array &0 [
- ┊ 'e' => 'f',
- ┊ 0 => 'g',
- ┊ 1 => 'h',
- ┊ ]
- │
- │ d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php:32",
+ "Configuration: D:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\v12\\phpunit.xml
+ ",
]
5th vi.fn() call:
[
- StringContaining " ┐
- ├ Failed asserting that two arrays are identical.
- ┊ ---·Expected Array &0 [
- ┊ 'a' => 'b',
- ┊ 'c' => 'd',
- ┊ ]
- ┊ +++·Actual Array &0 [
- ┊ 'e' => 'f',
- ┊ 0 => 'g',
- ┊ 1 => 'h',
- ┊ ]
- │
- │ d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php:32",
+ "Assertions (Tests\\Assertions)",
]
6th vi.fn() call:
@@ -1,7 +1,8 @@
[
- StringContaining " ┐
+ " ❌ is_not_same 9 ms
+ ┐
├ Failed asserting that two arrays are identical.
┊ ---·Expected Array &0 [
┊ 'a' => 'b',
┊ 'c' => 'd',
┊ ]
@@ -9,7 +10,9 @@
┊ 'e' => 'f',
┊ 0 => 'g',
┊ 1 => 'h',
┊ ]
│
- │ d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php:32",
+ │ D:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php:32
+ ┴
+ ",
]
7th vi.fn() call:
[
- StringContaining " ┐
- ├ Failed asserting that two arrays are identical.
- ┊ ---·Expec
|
|
src/Observers/OutputChannelObserver.test.ts > OutputChannelObserver on 'phpunit-v12' (PHPUnit '12.5.11') > should trigger testFailed:
src/Observers/OutputChannelObserver.test.ts#L149
AssertionError: expected "vi.fn()" to be called with arguments: [ StringContaining{…} ]
Received:
1st vi.fn() call:
[
- StringContaining " ┐
- ├ Failed asserting that false is true.
- │
- │ d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php:27",
+ "php v12/vendor/bin/phpunit --configuration=phpunit.xml --configuration=d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\v12\\phpunit.xml --filter=^.*::(test_failed|test_passed)( with data set .*)?$ d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php --colors=never --teamcity",
]
2nd vi.fn() call:
[
- StringContaining " ┐
- ├ Failed asserting that false is true.
- │
- │ d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php:27",
+ "
+ 🚀 PHPUnit 12.5.11 by Sebastian Bergmann and contributors.
+ ",
]
3rd vi.fn() call:
[
- StringContaining " ┐
- ├ Failed asserting that false is true.
- │
- │ d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php:27",
+ "Runtime: PHP 8.4.18",
]
4th vi.fn() call:
[
- StringContaining " ┐
- ├ Failed asserting that false is true.
- │
- │ d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php:27",
+ "Configuration: D:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\v12\\phpunit.xml
+ ",
]
5th vi.fn() call:
[
- StringContaining " ┐
- ├ Failed asserting that false is true.
- │
- │ d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php:27",
+ "Assertions (Tests\\Assertions)",
]
6th vi.fn() call:
[
- StringContaining " ┐
+ " ❌ failed 8 ms
+ ┐
├ Failed asserting that false is true.
│
- │ d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php:27",
+ │ D:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php:27
+ ┴
+ ",
]
7th vi.fn() call:
[
- StringContaining " ┐
- ├ Failed asserting that false is true.
- │
- │ d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php:27",
+ " ✅ passed 9 ms",
]
8th vi.fn() call:
[
- StringContaining " ┐
- ├ Failed asserting that false is true.
- │
- │ d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php:27",
+ "",
]
Number of calls: 8
❯ src/Observers/OutputChannelObserver.test.ts:149:42
|
|
src/Observers/OutputChannelObserver.test.ts > OutputChannelObserver on 'phpunit-v11' (PHPUnit '11.5.53') > should trigger testFailed with actual and expect:
src/Observers/OutputChannelObserver.test.ts#L179
AssertionError: expected "vi.fn()" to be called with arguments: [ StringContaining{…} ]
Received:
1st vi.fn() call:
[
- StringContaining " ┐
- ├ Failed asserting that two arrays are identical.
- ┊ ---·Expected Array &0 [
- ┊ 'a' => 'b',
- ┊ 'c' => 'd',
- ┊ ]
- ┊ +++·Actual Array &0 [
- ┊ 'e' => 'f',
- ┊ 0 => 'g',
- ┊ 1 => 'h',
- ┊ ]
- │
- │ d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php:32",
+ "php v11/vendor/bin/phpunit --configuration=phpunit.xml --configuration=d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\v11\\phpunit.xml --filter=^.*::(test_is_not_same)( with data set .*)?$ d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php --colors=never --teamcity",
]
2nd vi.fn() call:
[
- StringContaining " ┐
- ├ Failed asserting that two arrays are identical.
- ┊ ---·Expected Array &0 [
- ┊ 'a' => 'b',
- ┊ 'c' => 'd',
- ┊ ]
- ┊ +++·Actual Array &0 [
- ┊ 'e' => 'f',
- ┊ 0 => 'g',
- ┊ 1 => 'h',
- ┊ ]
- │
- │ d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php:32",
+ "
+ 🚀 PHPUnit 11.5.53 by Sebastian Bergmann and contributors.
+ ",
]
3rd vi.fn() call:
[
- StringContaining " ┐
- ├ Failed asserting that two arrays are identical.
- ┊ ---·Expected Array &0 [
- ┊ 'a' => 'b',
- ┊ 'c' => 'd',
- ┊ ]
- ┊ +++·Actual Array &0 [
- ┊ 'e' => 'f',
- ┊ 0 => 'g',
- ┊ 1 => 'h',
- ┊ ]
- │
- │ d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php:32",
+ "Runtime: PHP 8.4.18",
]
4th vi.fn() call:
[
- StringContaining " ┐
- ├ Failed asserting that two arrays are identical.
- ┊ ---·Expected Array &0 [
- ┊ 'a' => 'b',
- ┊ 'c' => 'd',
- ┊ ]
- ┊ +++·Actual Array &0 [
- ┊ 'e' => 'f',
- ┊ 0 => 'g',
- ┊ 1 => 'h',
- ┊ ]
- │
- │ d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php:32",
+ "Configuration: D:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\v11\\phpunit.xml
+ ",
]
5th vi.fn() call:
[
- StringContaining " ┐
- ├ Failed asserting that two arrays are identical.
- ┊ ---·Expected Array &0 [
- ┊ 'a' => 'b',
- ┊ 'c' => 'd',
- ┊ ]
- ┊ +++·Actual Array &0 [
- ┊ 'e' => 'f',
- ┊ 0 => 'g',
- ┊ 1 => 'h',
- ┊ ]
- │
- │ d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php:32",
+ "Assertions (Tests\\Assertions)",
]
6th vi.fn() call:
@@ -1,7 +1,8 @@
[
- StringContaining " ┐
+ " ❌ is_not_same 22 ms
+ ┐
├ Failed asserting that two arrays are identical.
┊ ---·Expected Array &0 [
┊ 'a' => 'b',
┊ 'c' => 'd',
┊ ]
@@ -9,7 +10,9 @@
┊ 'e' => 'f',
┊ 0 => 'g',
┊ 1 => 'h',
┊ ]
│
- │ d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php:32",
+ │ D:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php:32
+ ┴
+ ",
]
7th vi.fn() call:
[
- StringContaining " ┐
- ├ Failed asserting that two arrays are identical.
- ┊ ---·Expe
|
|
src/Observers/OutputChannelObserver.test.ts > OutputChannelObserver on 'phpunit-v11' (PHPUnit '11.5.53') > should trigger testFailed:
src/Observers/OutputChannelObserver.test.ts#L149
AssertionError: expected "vi.fn()" to be called with arguments: [ StringContaining{…} ]
Received:
1st vi.fn() call:
[
- StringContaining " ┐
- ├ Failed asserting that false is true.
- │
- │ d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php:27",
+ "php v11/vendor/bin/phpunit --configuration=phpunit.xml --configuration=d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\v11\\phpunit.xml --filter=^.*::(test_failed|test_passed)( with data set .*)?$ d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php --colors=never --teamcity",
]
2nd vi.fn() call:
[
- StringContaining " ┐
- ├ Failed asserting that false is true.
- │
- │ d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php:27",
+ "
+ 🚀 PHPUnit 11.5.53 by Sebastian Bergmann and contributors.
+ ",
]
3rd vi.fn() call:
[
- StringContaining " ┐
- ├ Failed asserting that false is true.
- │
- │ d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php:27",
+ "Runtime: PHP 8.4.18",
]
4th vi.fn() call:
[
- StringContaining " ┐
- ├ Failed asserting that false is true.
- │
- │ d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php:27",
+ "Configuration: D:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\v11\\phpunit.xml
+ ",
]
5th vi.fn() call:
[
- StringContaining " ┐
- ├ Failed asserting that false is true.
- │
- │ d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php:27",
+ "Assertions (Tests\\Assertions)",
]
6th vi.fn() call:
[
- StringContaining " ┐
+ " ❌ failed 14 ms
+ ┐
├ Failed asserting that false is true.
│
- │ d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php:27",
+ │ D:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php:27
+ ┴
+ ",
]
7th vi.fn() call:
[
- StringContaining " ┐
- ├ Failed asserting that false is true.
- │
- │ d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php:27",
+ " ✅ passed 8 ms",
]
8th vi.fn() call:
[
- StringContaining " ┐
- ├ Failed asserting that false is true.
- │
- │ d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php:27",
+ "",
]
Number of calls: 8
❯ src/Observers/OutputChannelObserver.test.ts:149:42
|
|
src/Observers/OutputChannelObserver.test.ts > OutputChannelObserver on 'phpunit-v10' (PHPUnit '10.5.63') > should trigger testFailed with actual and expect:
src/Observers/OutputChannelObserver.test.ts#L179
AssertionError: expected "vi.fn()" to be called with arguments: [ StringContaining{…} ]
Received:
1st vi.fn() call:
[
- StringContaining " ┐
- ├ Failed asserting that two arrays are identical.
- ┊ ---·Expected Array &0 [
- ┊ 'a' => 'b',
- ┊ 'c' => 'd',
- ┊ ]
- ┊ +++·Actual Array &0 [
- ┊ 'e' => 'f',
- ┊ 0 => 'g',
- ┊ 1 => 'h',
- ┊ ]
- │
- │ d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php:32",
+ "php v10/vendor/bin/phpunit --configuration=phpunit.xml --configuration=d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\v10\\phpunit.xml --filter=^.*::(test_is_not_same)( with data set .*)?$ d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php --colors=never --teamcity",
]
2nd vi.fn() call:
[
- StringContaining " ┐
- ├ Failed asserting that two arrays are identical.
- ┊ ---·Expected Array &0 [
- ┊ 'a' => 'b',
- ┊ 'c' => 'd',
- ┊ ]
- ┊ +++·Actual Array &0 [
- ┊ 'e' => 'f',
- ┊ 0 => 'g',
- ┊ 1 => 'h',
- ┊ ]
- │
- │ d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php:32",
+ "
+ 🚀 PHPUnit 10.5.63 by Sebastian Bergmann and contributors.
+ ",
]
3rd vi.fn() call:
[
- StringContaining " ┐
- ├ Failed asserting that two arrays are identical.
- ┊ ---·Expected Array &0 [
- ┊ 'a' => 'b',
- ┊ 'c' => 'd',
- ┊ ]
- ┊ +++·Actual Array &0 [
- ┊ 'e' => 'f',
- ┊ 0 => 'g',
- ┊ 1 => 'h',
- ┊ ]
- │
- │ d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php:32",
+ "Runtime: PHP 8.4.18",
]
4th vi.fn() call:
[
- StringContaining " ┐
- ├ Failed asserting that two arrays are identical.
- ┊ ---·Expected Array &0 [
- ┊ 'a' => 'b',
- ┊ 'c' => 'd',
- ┊ ]
- ┊ +++·Actual Array &0 [
- ┊ 'e' => 'f',
- ┊ 0 => 'g',
- ┊ 1 => 'h',
- ┊ ]
- │
- │ d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php:32",
+ "Configuration: D:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\v10\\phpunit.xml
+ ",
]
5th vi.fn() call:
[
- StringContaining " ┐
- ├ Failed asserting that two arrays are identical.
- ┊ ---·Expected Array &0 [
- ┊ 'a' => 'b',
- ┊ 'c' => 'd',
- ┊ ]
- ┊ +++·Actual Array &0 [
- ┊ 'e' => 'f',
- ┊ 0 => 'g',
- ┊ 1 => 'h',
- ┊ ]
- │
- │ d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php:32",
+ "Assertions (Tests\\Assertions)",
]
6th vi.fn() call:
@@ -1,7 +1,8 @@
[
- StringContaining " ┐
+ " ❌ is_not_same 31 ms
+ ┐
├ Failed asserting that two arrays are identical.
┊ ---·Expected Array &0 [
┊ 'a' => 'b',
┊ 'c' => 'd',
┊ ]
@@ -9,7 +10,9 @@
┊ 'e' => 'f',
┊ 0 => 'g',
┊ 1 => 'h',
┊ ]
│
- │ d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php:32",
+ │ D:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php:32
+ ┴
+ ",
]
7th vi.fn() call:
[
- StringContaining " ┐
- ├ Failed asserting that two arrays are identical.
- ┊ ---·Expe
|
|
src/Observers/OutputChannelObserver.test.ts > OutputChannelObserver on 'phpunit-v10' (PHPUnit '10.5.63') > should trigger testFailed:
src/Observers/OutputChannelObserver.test.ts#L149
AssertionError: expected "vi.fn()" to be called with arguments: [ StringContaining{…} ]
Received:
1st vi.fn() call:
[
- StringContaining " ┐
- ├ Failed asserting that false is true.
- │
- │ d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php:27",
+ "php v10/vendor/bin/phpunit --configuration=phpunit.xml --configuration=d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\v10\\phpunit.xml --filter=^.*::(test_failed|test_passed)( with data set .*)?$ d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php --colors=never --teamcity",
]
2nd vi.fn() call:
[
- StringContaining " ┐
- ├ Failed asserting that false is true.
- │
- │ d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php:27",
+ "
+ 🚀 PHPUnit 10.5.63 by Sebastian Bergmann and contributors.
+ ",
]
3rd vi.fn() call:
[
- StringContaining " ┐
- ├ Failed asserting that false is true.
- │
- │ d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php:27",
+ "Runtime: PHP 8.4.18",
]
4th vi.fn() call:
[
- StringContaining " ┐
- ├ Failed asserting that false is true.
- │
- │ d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php:27",
+ "Configuration: D:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\v10\\phpunit.xml
+ ",
]
5th vi.fn() call:
[
- StringContaining " ┐
- ├ Failed asserting that false is true.
- │
- │ d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php:27",
+ "Assertions (Tests\\Assertions)",
]
6th vi.fn() call:
[
- StringContaining " ┐
+ " ❌ failed 19 ms
+ ┐
├ Failed asserting that false is true.
│
- │ d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php:27",
+ │ D:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php:27
+ ┴
+ ",
]
7th vi.fn() call:
[
- StringContaining " ┐
- ├ Failed asserting that false is true.
- │
- │ d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php:27",
+ " ✅ passed 15 ms",
]
8th vi.fn() call:
[
- StringContaining " ┐
- ├ Failed asserting that false is true.
- │
- │ d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php:27",
+ "",
]
Number of calls: 8
❯ src/Observers/OutputChannelObserver.test.ts:149:42
|
|
src/Observers/OutputChannelObserver.test.ts > OutputChannelObserver on 'phpunit-v9' (PHPUnit '9.6.34') > should trigger testFailed with actual and expect:
src/Observers/OutputChannelObserver.test.ts#L179
AssertionError: expected "vi.fn()" to be called with arguments: [ StringContaining{…} ]
Received:
1st vi.fn() call:
[
- StringContaining " ┐
- ├ Failed asserting that two arrays are identical.
- ┊ ---·Expected Array &0 (
- ┊ 'a' => 'b'
- ┊ 'c' => 'd'
- ┊ )
- ┊ +++·Actual Array &0 (
- ┊ 'e' => 'f'
- ┊ 0 => 'g'
- ┊ 1 => 'h'
- ┊ )
- │
- │ d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php:32",
+ "php v9/vendor/bin/phpunit --configuration=phpunit.xml --configuration=d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\v9\\phpunit.xml --filter=^.*::(test_is_not_same)( with data set .*)?$ d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php --colors=never --teamcity",
]
2nd vi.fn() call:
[
- StringContaining " ┐
- ├ Failed asserting that two arrays are identical.
- ┊ ---·Expected Array &0 (
- ┊ 'a' => 'b'
- ┊ 'c' => 'd'
- ┊ )
- ┊ +++·Actual Array &0 (
- ┊ 'e' => 'f'
- ┊ 0 => 'g'
- ┊ 1 => 'h'
- ┊ )
- │
- │ d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php:32",
+ "
+ 🚀 PHPUnit 9.6.34 by Sebastian Bergmann and contributors.
+ ",
]
3rd vi.fn() call:
[
- StringContaining " ┐
- ├ Failed asserting that two arrays are identical.
- ┊ ---·Expected Array &0 (
- ┊ 'a' => 'b'
- ┊ 'c' => 'd'
- ┊ )
- ┊ +++·Actual Array &0 (
- ┊ 'e' => 'f'
- ┊ 0 => 'g'
- ┊ 1 => 'h'
- ┊ )
- │
- │ d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php:32",
+ "Assertions (Tests\\Assertions)",
]
4th vi.fn() call:
@@ -1,7 +1,8 @@
[
- StringContaining " ┐
+ " ❌ is_not_same 5 ms
+ ┐
├ Failed asserting that two arrays are identical.
┊ ---·Expected Array &0 (
┊ 'a' => 'b'
┊ 'c' => 'd'
┊ )
@@ -9,7 +10,9 @@
┊ 'e' => 'f'
┊ 0 => 'g'
┊ 1 => 'h'
┊ )
│
- │ d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php:32",
+ │ D:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php:32
+ ┴
+ ",
]
5th vi.fn() call:
[
- StringContaining " ┐
- ├ Failed asserting that two arrays are identical.
- ┊ ---·Expected Array &0 (
- ┊ 'a' => 'b'
- ┊ 'c' => 'd'
- ┊ )
- ┊ +++·Actual Array &0 (
- ┊ 'e' => 'f'
- ┊ 0 => 'g'
- ┊ 1 => 'h'
- ┊ )
- │
- │ d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php:32",
+ "",
]
Number of calls: 5
❯ src/Observers/OutputChannelObserver.test.ts:179:42
|
|
src/Observers/OutputChannelObserver.test.ts > OutputChannelObserver on 'phpunit-v9' (PHPUnit '9.6.34') > should trigger testFailed:
src/Observers/OutputChannelObserver.test.ts#L149
AssertionError: expected "vi.fn()" to be called with arguments: [ StringContaining{…} ]
Received:
1st vi.fn() call:
[
- StringContaining " ┐
- ├ Failed asserting that false is true.
- │
- │ d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php:27",
+ "php v9/vendor/bin/phpunit --configuration=phpunit.xml --configuration=d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\v9\\phpunit.xml --filter=^.*::(test_failed|test_passed)( with data set .*)?$ d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php --colors=never --teamcity",
]
2nd vi.fn() call:
[
- StringContaining " ┐
- ├ Failed asserting that false is true.
- │
- │ d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php:27",
+ "
+ 🚀 PHPUnit 9.6.34 by Sebastian Bergmann and contributors.
+ ",
]
3rd vi.fn() call:
[
- StringContaining " ┐
- ├ Failed asserting that false is true.
- │
- │ d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php:27",
+ "Assertions (Tests\\Assertions)",
]
4th vi.fn() call:
[
- StringContaining " ┐
- ├ Failed asserting that false is true.
- │
- │ d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php:27",
+ " ✅ passed 12 ms",
]
5th vi.fn() call:
[
- StringContaining " ┐
+ " ❌ failed 1 ms
+ ┐
├ Failed asserting that false is true.
│
- │ d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php:27",
+ │ D:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php:27
+ ┴
+ ",
]
6th vi.fn() call:
[
- StringContaining " ┐
- ├ Failed asserting that false is true.
- │
- │ d:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\AssertionsTest.php:27",
+ "",
]
Number of calls: 6
❯ src/Observers/OutputChannelObserver.test.ts:149:42
|