Refactor/improve readability #28
Annotations
60 errors
|
ubuntu-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 print printed output:
src/Observers/OutputChannelObserver.test.ts#L335
AssertionError: expected "vi.fn()" to be called with arguments: [ '🟨 printed output' ]
Received:
1st vi.fn() call:
[
- "🟨 printed output",
+ "php v9/vendor/bin/phpunit --configuration=phpunit.xml --configuration=/home/runner/work/vscode-phpunit/vscode-phpunit/src/PHPUnit/__tests__/fixtures/phpunit-stub/v9/phpunit.xml --filter=^.*::(test_echo)( with data set .*)?$ /home/runner/work/vscode-phpunit/vscode-phpunit/src/PHPUnit/__tests__/fixtures/phpunit-stub/tests/Output/OutputTest.php --colors=never --teamcity",
]
2nd vi.fn() call:
[
- "🟨 printed output",
+ "
+ 🚀 PHPUnit 9.6.34 by Sebastian Bergmann and contributors.
+ ",
]
3rd vi.fn() call:
[
- "🟨 printed output",
+ "Output (Tests\\Output\\Output)",
]
4th vi.fn() call:
[
- "🟨 printed output",
+ "🟨 syntax error, unexpected 'SERIALIZATION_FORMAT_USE_UNSER' (T_STRING), expecting '='",
]
Number of calls: 4
❯ src/Observers/OutputChannelObserver.test.ts:335:42
|
|
src/Observers/OutputChannelObserver.test.ts > OutputChannelObserver on 'phpunit-v9' (PHPUnit '9.6.34') > never show output channel when failure:
src/Observers/OutputChannelObserver.test.ts#L307
AssertionError: expected "vi.fn()" to not be called at all, but actually been called 1 times
Received:
1st vi.fn() call:
Array [
false,
]
Number of calls: 1
❯ src/Observers/OutputChannelObserver.test.ts:307:40
|
|
src/Observers/OutputChannelObserver.test.ts > OutputChannelObserver on 'phpunit-v9' (PHPUnit '9.6.34') > should trigger testIgnored:
src/Observers/OutputChannelObserver.test.ts#L206
AssertionError: expected "vi.fn()" to be called with arguments: [ StringMatching{…} ]
Received:
1st vi.fn() call:
[
- StringMatching /\s+➖\sskipped\s\d+\sms/,
+ "php v9/vendor/bin/phpunit --configuration=phpunit.xml --configuration=/home/runner/work/vscode-phpunit/vscode-phpunit/src/PHPUnit/__tests__/fixtures/phpunit-stub/v9/phpunit.xml --filter=^.*::(test_skipped)( with data set .*)?$ /home/runner/work/vscode-phpunit/vscode-phpunit/src/PHPUnit/__tests__/fixtures/phpunit-stub/tests/AssertionsTest.php --colors=never --teamcity",
]
2nd vi.fn() call:
[
- StringMatching /\s+➖\sskipped\s\d+\sms/,
+ "
+ 🚀 PHPUnit 9.6.34 by Sebastian Bergmann and contributors.
+ ",
]
3rd vi.fn() call:
[
- StringMatching /\s+➖\sskipped\s\d+\sms/,
+ "Assertions (Tests\\Assertions)",
]
4th vi.fn() call:
[
- StringMatching /\s+➖\sskipped\s\d+\sms/,
+ "🟨 syntax error, unexpected 'SERIALIZATION_FORMAT_USE_UNSER' (T_STRING), expecting '='",
]
Number of calls: 4
❯ src/Observers/OutputChannelObserver.test.ts:206: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#L176
AssertionError: expected "vi.fn()" to be called with arguments: [ StringMatching{…} ]
Received:
1st vi.fn() call:
[
- StringMatching /\s+❌\sis_not_same\s\d+\sms/,
+ "php v9/vendor/bin/phpunit --configuration=phpunit.xml --configuration=/home/runner/work/vscode-phpunit/vscode-phpunit/src/PHPUnit/__tests__/fixtures/phpunit-stub/v9/phpunit.xml --filter=^.*::(test_is_not_same)( with data set .*)?$ /home/runner/work/vscode-phpunit/vscode-phpunit/src/PHPUnit/__tests__/fixtures/phpunit-stub/tests/AssertionsTest.php --colors=never --teamcity",
]
2nd vi.fn() call:
[
- StringMatching /\s+❌\sis_not_same\s\d+\sms/,
+ "
+ 🚀 PHPUnit 9.6.34 by Sebastian Bergmann and contributors.
+ ",
]
3rd vi.fn() call:
[
- StringMatching /\s+❌\sis_not_same\s\d+\sms/,
+ "Assertions (Tests\\Assertions)",
]
4th vi.fn() call:
[
- StringMatching /\s+❌\sis_not_same\s\d+\sms/,
+ "🟨 syntax error, unexpected 'SERIALIZATION_FORMAT_USE_UNSER' (T_STRING), expecting '='",
]
Number of calls: 4
❯ src/Observers/OutputChannelObserver.test.ts:176:42
|
|
src/Observers/OutputChannelObserver.test.ts > OutputChannelObserver on 'phpunit-v9' (PHPUnit '9.6.34') > should trigger testFailed:
src/Observers/OutputChannelObserver.test.ts#L146
AssertionError: expected "vi.fn()" to be called with arguments: [ StringMatching{…} ]
Received:
1st vi.fn() call:
[
- StringMatching /\s+❌\sfailed\s\d+\sms/,
+ "php v9/vendor/bin/phpunit --configuration=phpunit.xml --configuration=/home/runner/work/vscode-phpunit/vscode-phpunit/src/PHPUnit/__tests__/fixtures/phpunit-stub/v9/phpunit.xml --filter=^.*::(test_failed|test_passed)( with data set .*)?$ /home/runner/work/vscode-phpunit/vscode-phpunit/src/PHPUnit/__tests__/fixtures/phpunit-stub/tests/AssertionsTest.php --colors=never --teamcity",
]
2nd vi.fn() call:
[
- StringMatching /\s+❌\sfailed\s\d+\sms/,
+ "
+ 🚀 PHPUnit 9.6.34 by Sebastian Bergmann and contributors.
+ ",
]
3rd vi.fn() call:
[
- StringMatching /\s+❌\sfailed\s\d+\sms/,
+ "Assertions (Tests\\Assertions)",
]
4th vi.fn() call:
[
- StringMatching /\s+❌\sfailed\s\d+\sms/,
+ " ✅ passed 4 ms",
]
5th vi.fn() call:
[
- StringMatching /\s+❌\sfailed\s\d+\sms/,
+ "🟨 syntax error, unexpected 'SERIALIZATION_FORMAT_USE_UNSER' (T_STRING), expecting '='",
]
Number of calls: 5
❯ src/Observers/OutputChannelObserver.test.ts:146:42
|
|
src/extension.test.ts > Extension Test > PHPUnit on 'phpunit-v9' (PHPUnit '9.6.34') > should run test case:
src/extension.test.ts#L108
AssertionError: expected { enqueued: 1, started: 1, …(3) } to deeply equal { enqueued: 1, started: 1, …(3) }
- Expected
+ Received
{
"end": 1,
"enqueued": 1,
- "failed": 1,
+ "failed": 0,
"passed": 0,
"started": 1,
}
❯ expectTestResultCalled src/extension.test.ts:108:8
❯ src/extension.test.ts:332:13
|
|
src/extension.test.ts > Extension Test > PHPUnit on 'phpunit-v9' (PHPUnit '9.6.34') > should run test suite:
src/extension.test.ts#L108
AssertionError: expected { enqueued: 9, started: 2, …(3) } to deeply equal { enqueued: 9, started: 12, …(3) }
- Expected
+ Received
{
"end": 1,
"enqueued": 9,
- "failed": 4,
- "passed": 6,
- "started": 12,
+ "failed": 0,
+ "passed": 1,
+ "started": 2,
}
❯ expectTestResultCalled src/extension.test.ts:108:8
❯ src/extension.test.ts:325:13
|
|
src/extension.test.ts > Extension Test > PHPUnit on 'phpunit-v9' (PHPUnit '9.6.34') > should run test by namespace:
src/extension.test.ts#L108
AssertionError: expected { enqueued: 27, started: 2, …(3) } to deeply equal { enqueued: 27, started: 28, …(3) }
- Expected
+ Received
{
"end": 1,
"enqueued": 27,
- "failed": 10,
- "passed": 16,
- "started": 28,
+ "failed": 0,
+ "passed": 1,
+ "started": 2,
}
❯ expectTestResultCalled src/extension.test.ts:108:8
❯ src/extension.test.ts:308:13
|
|
src/extension.test.ts > Extension Test > PHPUnit on 'phpunit-v9' (PHPUnit '9.6.34') > should run all tests:
src/extension.test.ts#L108
AssertionError: expected { enqueued: 28, started: 2, …(3) } to deeply equal { enqueued: 28, started: 29, …(3) }
- Expected
+ Received
{
"end": 1,
"enqueued": 28,
- "failed": 11,
- "passed": 16,
- "started": 29,
+ "failed": 0,
+ "passed": 1,
+ "started": 2,
}
❯ expectTestResultCalled src/extension.test.ts:108:8
❯ src/extension.test.ts:293:13
|
|
ubuntu-latest node-20 php-8.2
Process completed with exit code 1.
|
|
src/Observers/OutputChannelObserver.test.ts > OutputChannelObserver on 'phpunit-v9' (PHPUnit '9.6.34') > should print printed output:
src/Observers/OutputChannelObserver.test.ts#L335
AssertionError: expected "vi.fn()" to be called with arguments: [ '🟨 printed output' ]
Received:
1st vi.fn() call:
[
- "🟨 printed output",
+ "php v9/vendor/bin/phpunit --configuration=phpunit.xml --configuration=/home/runner/work/vscode-phpunit/vscode-phpunit/src/PHPUnit/__tests__/fixtures/phpunit-stub/v9/phpunit.xml --filter=^.*::(test_echo)( with data set .*)?$ /home/runner/work/vscode-phpunit/vscode-phpunit/src/PHPUnit/__tests__/fixtures/phpunit-stub/tests/Output/OutputTest.php --colors=never --teamcity",
]
2nd vi.fn() call:
[
- "🟨 printed output",
+ "
+ 🚀 PHPUnit 9.6.34 by Sebastian Bergmann and contributors.
+ ",
]
3rd vi.fn() call:
[
- "🟨 printed output",
+ "Output (Tests\\Output\\Output)",
]
4th vi.fn() call:
[
- "🟨 printed output",
+ "🟨 syntax error, unexpected identifier \"SERIALIZATION_FORMAT_USE_UNSER...\", expecting \"=\"",
]
Number of calls: 4
❯ src/Observers/OutputChannelObserver.test.ts:335:42
|
|
src/Observers/OutputChannelObserver.test.ts > OutputChannelObserver on 'phpunit-v9' (PHPUnit '9.6.34') > never show output channel when failure:
src/Observers/OutputChannelObserver.test.ts#L307
AssertionError: expected "vi.fn()" to not be called at all, but actually been called 1 times
Received:
1st vi.fn() call:
Array [
false,
]
Number of calls: 1
❯ src/Observers/OutputChannelObserver.test.ts:307:40
|
|
src/Observers/OutputChannelObserver.test.ts > OutputChannelObserver on 'phpunit-v9' (PHPUnit '9.6.34') > should trigger testIgnored:
src/Observers/OutputChannelObserver.test.ts#L206
AssertionError: expected "vi.fn()" to be called with arguments: [ StringMatching{…} ]
Received:
1st vi.fn() call:
[
- StringMatching /\s+➖\sskipped\s\d+\sms/,
+ "php v9/vendor/bin/phpunit --configuration=phpunit.xml --configuration=/home/runner/work/vscode-phpunit/vscode-phpunit/src/PHPUnit/__tests__/fixtures/phpunit-stub/v9/phpunit.xml --filter=^.*::(test_skipped)( with data set .*)?$ /home/runner/work/vscode-phpunit/vscode-phpunit/src/PHPUnit/__tests__/fixtures/phpunit-stub/tests/AssertionsTest.php --colors=never --teamcity",
]
2nd vi.fn() call:
[
- StringMatching /\s+➖\sskipped\s\d+\sms/,
+ "
+ 🚀 PHPUnit 9.6.34 by Sebastian Bergmann and contributors.
+ ",
]
3rd vi.fn() call:
[
- StringMatching /\s+➖\sskipped\s\d+\sms/,
+ "Assertions (Tests\\Assertions)",
]
4th vi.fn() call:
[
- StringMatching /\s+➖\sskipped\s\d+\sms/,
+ "🟨 syntax error, unexpected identifier \"SERIALIZATION_FORMAT_USE_UNSER...\", expecting \"=\"",
]
Number of calls: 4
❯ src/Observers/OutputChannelObserver.test.ts:206: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#L176
AssertionError: expected "vi.fn()" to be called with arguments: [ StringMatching{…} ]
Received:
1st vi.fn() call:
[
- StringMatching /\s+❌\sis_not_same\s\d+\sms/,
+ "php v9/vendor/bin/phpunit --configuration=phpunit.xml --configuration=/home/runner/work/vscode-phpunit/vscode-phpunit/src/PHPUnit/__tests__/fixtures/phpunit-stub/v9/phpunit.xml --filter=^.*::(test_is_not_same)( with data set .*)?$ /home/runner/work/vscode-phpunit/vscode-phpunit/src/PHPUnit/__tests__/fixtures/phpunit-stub/tests/AssertionsTest.php --colors=never --teamcity",
]
2nd vi.fn() call:
[
- StringMatching /\s+❌\sis_not_same\s\d+\sms/,
+ "
+ 🚀 PHPUnit 9.6.34 by Sebastian Bergmann and contributors.
+ ",
]
3rd vi.fn() call:
[
- StringMatching /\s+❌\sis_not_same\s\d+\sms/,
+ "Assertions (Tests\\Assertions)",
]
4th vi.fn() call:
[
- StringMatching /\s+❌\sis_not_same\s\d+\sms/,
+ "🟨 syntax error, unexpected identifier \"SERIALIZATION_FORMAT_USE_UNSER...\", expecting \"=\"",
]
Number of calls: 4
❯ src/Observers/OutputChannelObserver.test.ts:176:42
|
|
src/Observers/OutputChannelObserver.test.ts > OutputChannelObserver on 'phpunit-v9' (PHPUnit '9.6.34') > should trigger testFailed:
src/Observers/OutputChannelObserver.test.ts#L146
AssertionError: expected "vi.fn()" to be called with arguments: [ StringMatching{…} ]
Received:
1st vi.fn() call:
[
- StringMatching /\s+❌\sfailed\s\d+\sms/,
+ "php v9/vendor/bin/phpunit --configuration=phpunit.xml --configuration=/home/runner/work/vscode-phpunit/vscode-phpunit/src/PHPUnit/__tests__/fixtures/phpunit-stub/v9/phpunit.xml --filter=^.*::(test_failed|test_passed)( with data set .*)?$ /home/runner/work/vscode-phpunit/vscode-phpunit/src/PHPUnit/__tests__/fixtures/phpunit-stub/tests/AssertionsTest.php --colors=never --teamcity",
]
2nd vi.fn() call:
[
- StringMatching /\s+❌\sfailed\s\d+\sms/,
+ "
+ 🚀 PHPUnit 9.6.34 by Sebastian Bergmann and contributors.
+ ",
]
3rd vi.fn() call:
[
- StringMatching /\s+❌\sfailed\s\d+\sms/,
+ "Assertions (Tests\\Assertions)",
]
4th vi.fn() call:
[
- StringMatching /\s+❌\sfailed\s\d+\sms/,
+ " ✅ passed 6 ms",
]
5th vi.fn() call:
[
- StringMatching /\s+❌\sfailed\s\d+\sms/,
+ "🟨 syntax error, unexpected identifier \"SERIALIZATION_FORMAT_USE_UNSER...\", expecting \"=\"",
]
Number of calls: 5
❯ src/Observers/OutputChannelObserver.test.ts:146:42
|
|
src/extension.test.ts > Extension Test > PHPUnit on 'phpunit-v9' (PHPUnit '9.6.34') > should run test case:
src/extension.test.ts#L108
AssertionError: expected { enqueued: 1, started: 1, …(3) } to deeply equal { enqueued: 1, started: 1, …(3) }
- Expected
+ Received
{
"end": 1,
"enqueued": 1,
- "failed": 1,
+ "failed": 0,
"passed": 0,
"started": 1,
}
❯ expectTestResultCalled src/extension.test.ts:108:8
❯ src/extension.test.ts:332:13
|
|
src/extension.test.ts > Extension Test > PHPUnit on 'phpunit-v9' (PHPUnit '9.6.34') > should run test suite:
src/extension.test.ts#L108
AssertionError: expected { enqueued: 9, started: 2, …(3) } to deeply equal { enqueued: 9, started: 12, …(3) }
- Expected
+ Received
{
"end": 1,
"enqueued": 9,
- "failed": 4,
- "passed": 6,
- "started": 12,
+ "failed": 0,
+ "passed": 1,
+ "started": 2,
}
❯ expectTestResultCalled src/extension.test.ts:108:8
❯ src/extension.test.ts:325:13
|
|
src/extension.test.ts > Extension Test > PHPUnit on 'phpunit-v9' (PHPUnit '9.6.34') > should run test by namespace:
src/extension.test.ts#L108
AssertionError: expected { enqueued: 27, started: 2, …(3) } to deeply equal { enqueued: 27, started: 28, …(3) }
- Expected
+ Received
{
"end": 1,
"enqueued": 27,
- "failed": 10,
- "passed": 16,
- "started": 28,
+ "failed": 0,
+ "passed": 1,
+ "started": 2,
}
❯ expectTestResultCalled src/extension.test.ts:108:8
❯ src/extension.test.ts:308:13
|
|
src/extension.test.ts > Extension Test > PHPUnit on 'phpunit-v9' (PHPUnit '9.6.34') > should run all tests:
src/extension.test.ts#L108
AssertionError: expected { enqueued: 28, started: 2, …(3) } to deeply equal { enqueued: 28, started: 29, …(3) }
- Expected
+ Received
{
"end": 1,
"enqueued": 28,
- "failed": 11,
- "passed": 16,
- "started": 29,
+ "failed": 0,
+ "passed": 1,
+ "started": 2,
}
❯ expectTestResultCalled src/extension.test.ts:108:8
❯ src/extension.test.ts:293:13
|
|
macos-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 print printed output:
src/Observers/OutputChannelObserver.test.ts#L335
AssertionError: expected "vi.fn()" to be called with arguments: [ '🟨 printed output' ]
Received:
1st vi.fn() call:
[
- "🟨 printed output",
+ "php v9/vendor/bin/phpunit --configuration=phpunit.xml --configuration=/Users/runner/work/vscode-phpunit/vscode-phpunit/src/PHPUnit/__tests__/fixtures/phpunit-stub/v9/phpunit.xml --filter=^.*::(test_echo)( with data set .*)?$ /Users/runner/work/vscode-phpunit/vscode-phpunit/src/PHPUnit/__tests__/fixtures/phpunit-stub/tests/Output/OutputTest.php --colors=never --teamcity",
]
2nd vi.fn() call:
[
- "🟨 printed output",
+ "
+ 🚀 PHPUnit 9.6.34 by Sebastian Bergmann and contributors.
+ ",
]
3rd vi.fn() call:
[
- "🟨 printed output",
+ "Output (Tests\\Output\\Output)",
]
4th vi.fn() call:
[
- "🟨 printed output",
+ "🟨 syntax error, unexpected 'SERIALIZATION_FORMAT_USE_UNSER' (T_STRING), expecting '='",
]
Number of calls: 4
❯ src/Observers/OutputChannelObserver.test.ts:335:42
|
|
src/Observers/OutputChannelObserver.test.ts > OutputChannelObserver on 'phpunit-v9' (PHPUnit '9.6.34') > never show output channel when failure:
src/Observers/OutputChannelObserver.test.ts#L307
AssertionError: expected "vi.fn()" to not be called at all, but actually been called 1 times
Received:
1st vi.fn() call:
Array [
false,
]
Number of calls: 1
❯ src/Observers/OutputChannelObserver.test.ts:307:40
|
|
src/Observers/OutputChannelObserver.test.ts > OutputChannelObserver on 'phpunit-v9' (PHPUnit '9.6.34') > should trigger testIgnored:
src/Observers/OutputChannelObserver.test.ts#L206
AssertionError: expected "vi.fn()" to be called with arguments: [ StringMatching{…} ]
Received:
1st vi.fn() call:
[
- StringMatching /\s+➖\sskipped\s\d+\sms/,
+ "php v9/vendor/bin/phpunit --configuration=phpunit.xml --configuration=/Users/runner/work/vscode-phpunit/vscode-phpunit/src/PHPUnit/__tests__/fixtures/phpunit-stub/v9/phpunit.xml --filter=^.*::(test_skipped)( with data set .*)?$ /Users/runner/work/vscode-phpunit/vscode-phpunit/src/PHPUnit/__tests__/fixtures/phpunit-stub/tests/AssertionsTest.php --colors=never --teamcity",
]
2nd vi.fn() call:
[
- StringMatching /\s+➖\sskipped\s\d+\sms/,
+ "
+ 🚀 PHPUnit 9.6.34 by Sebastian Bergmann and contributors.
+ ",
]
3rd vi.fn() call:
[
- StringMatching /\s+➖\sskipped\s\d+\sms/,
+ "Assertions (Tests\\Assertions)",
]
4th vi.fn() call:
[
- StringMatching /\s+➖\sskipped\s\d+\sms/,
+ "🟨 syntax error, unexpected 'SERIALIZATION_FORMAT_USE_UNSER' (T_STRING), expecting '='",
]
Number of calls: 4
❯ src/Observers/OutputChannelObserver.test.ts:206: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#L176
AssertionError: expected "vi.fn()" to be called with arguments: [ StringMatching{…} ]
Received:
1st vi.fn() call:
[
- StringMatching /\s+❌\sis_not_same\s\d+\sms/,
+ "php v9/vendor/bin/phpunit --configuration=phpunit.xml --configuration=/Users/runner/work/vscode-phpunit/vscode-phpunit/src/PHPUnit/__tests__/fixtures/phpunit-stub/v9/phpunit.xml --filter=^.*::(test_is_not_same)( with data set .*)?$ /Users/runner/work/vscode-phpunit/vscode-phpunit/src/PHPUnit/__tests__/fixtures/phpunit-stub/tests/AssertionsTest.php --colors=never --teamcity",
]
2nd vi.fn() call:
[
- StringMatching /\s+❌\sis_not_same\s\d+\sms/,
+ "
+ 🚀 PHPUnit 9.6.34 by Sebastian Bergmann and contributors.
+ ",
]
3rd vi.fn() call:
[
- StringMatching /\s+❌\sis_not_same\s\d+\sms/,
+ "Assertions (Tests\\Assertions)",
]
4th vi.fn() call:
[
- StringMatching /\s+❌\sis_not_same\s\d+\sms/,
+ "🟨 syntax error, unexpected 'SERIALIZATION_FORMAT_USE_UNSER' (T_STRING), expecting '='",
]
Number of calls: 4
❯ src/Observers/OutputChannelObserver.test.ts:176:42
|
|
src/Observers/OutputChannelObserver.test.ts > OutputChannelObserver on 'phpunit-v9' (PHPUnit '9.6.34') > should trigger testFailed:
src/Observers/OutputChannelObserver.test.ts#L146
AssertionError: expected "vi.fn()" to be called with arguments: [ StringMatching{…} ]
Received:
1st vi.fn() call:
[
- StringMatching /\s+❌\sfailed\s\d+\sms/,
+ "php v9/vendor/bin/phpunit --configuration=phpunit.xml --configuration=/Users/runner/work/vscode-phpunit/vscode-phpunit/src/PHPUnit/__tests__/fixtures/phpunit-stub/v9/phpunit.xml --filter=^.*::(test_failed|test_passed)( with data set .*)?$ /Users/runner/work/vscode-phpunit/vscode-phpunit/src/PHPUnit/__tests__/fixtures/phpunit-stub/tests/AssertionsTest.php --colors=never --teamcity",
]
2nd vi.fn() call:
[
- StringMatching /\s+❌\sfailed\s\d+\sms/,
+ "
+ 🚀 PHPUnit 9.6.34 by Sebastian Bergmann and contributors.
+ ",
]
3rd vi.fn() call:
[
- StringMatching /\s+❌\sfailed\s\d+\sms/,
+ "Assertions (Tests\\Assertions)",
]
4th vi.fn() call:
[
- StringMatching /\s+❌\sfailed\s\d+\sms/,
+ " ✅ passed 2 ms",
]
5th vi.fn() call:
[
- StringMatching /\s+❌\sfailed\s\d+\sms/,
+ "🟨 syntax error, unexpected 'SERIALIZATION_FORMAT_USE_UNSER' (T_STRING), expecting '='",
]
Number of calls: 5
❯ src/Observers/OutputChannelObserver.test.ts:146:42
|
|
src/extension.test.ts > Extension Test > PHPUnit on 'phpunit-v9' (PHPUnit '9.6.34') > should run test case:
src/extension.test.ts#L108
AssertionError: expected { enqueued: 1, started: 1, …(3) } to deeply equal { enqueued: 1, started: 1, …(3) }
- Expected
+ Received
{
"end": 1,
"enqueued": 1,
- "failed": 1,
+ "failed": 0,
"passed": 0,
"started": 1,
}
❯ expectTestResultCalled src/extension.test.ts:108:8
❯ src/extension.test.ts:332:13
|
|
src/extension.test.ts > Extension Test > PHPUnit on 'phpunit-v9' (PHPUnit '9.6.34') > should run test suite:
src/extension.test.ts#L108
AssertionError: expected { enqueued: 9, started: 2, …(3) } to deeply equal { enqueued: 9, started: 12, …(3) }
- Expected
+ Received
{
"end": 1,
"enqueued": 9,
- "failed": 4,
- "passed": 6,
- "started": 12,
+ "failed": 0,
+ "passed": 1,
+ "started": 2,
}
❯ expectTestResultCalled src/extension.test.ts:108:8
❯ src/extension.test.ts:325:13
|
|
src/extension.test.ts > Extension Test > PHPUnit on 'phpunit-v9' (PHPUnit '9.6.34') > should run test by namespace:
src/extension.test.ts#L108
AssertionError: expected { enqueued: 27, started: 2, …(3) } to deeply equal { enqueued: 27, started: 28, …(3) }
- Expected
+ Received
{
"end": 1,
"enqueued": 27,
- "failed": 10,
- "passed": 16,
- "started": 28,
+ "failed": 0,
+ "passed": 1,
+ "started": 2,
}
❯ expectTestResultCalled src/extension.test.ts:108:8
❯ src/extension.test.ts:308:13
|
|
src/extension.test.ts > Extension Test > PHPUnit on 'phpunit-v9' (PHPUnit '9.6.34') > should run all tests:
src/extension.test.ts#L108
AssertionError: expected { enqueued: 28, started: 2, …(3) } to deeply equal { enqueued: 28, started: 29, …(3) }
- Expected
+ Received
{
"end": 1,
"enqueued": 28,
- "failed": 11,
- "passed": 16,
- "started": 29,
+ "failed": 0,
+ "passed": 1,
+ "started": 2,
}
❯ expectTestResultCalled src/extension.test.ts:108:8
❯ src/extension.test.ts:293:13
|
|
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 print printed output:
src/Observers/OutputChannelObserver.test.ts#L335
AssertionError: expected "vi.fn()" to be called with arguments: [ '🟨 printed output' ]
Received:
1st vi.fn() call:
[
- "🟨 printed output",
+ "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_echo)( with data set .*)?$ D:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\Output\\OutputTest.php --colors=never --teamcity",
]
2nd vi.fn() call:
[
- "🟨 printed output",
+ "
+ 🚀 PHPUnit 9.6.34 by Sebastian Bergmann and contributors.
+ ",
]
3rd vi.fn() call:
[
- "🟨 printed output",
+ "Output (Tests\\Output\\Output)",
]
4th vi.fn() call:
[
- "🟨 printed output",
+ "🟨 syntax error, unexpected 'SERIALIZATION_FORMAT_USE_UNSER' (T_STRING), expecting '='",
]
Number of calls: 4
❯ src/Observers/OutputChannelObserver.test.ts:335:42
|
|
src/Observers/OutputChannelObserver.test.ts > OutputChannelObserver on 'phpunit-v9' (PHPUnit '9.6.34') > never show output channel when failure:
src/Observers/OutputChannelObserver.test.ts#L307
AssertionError: expected "vi.fn()" to not be called at all, but actually been called 1 times
Received:
1st vi.fn() call:
Array [
false,
]
Number of calls: 1
❯ src/Observers/OutputChannelObserver.test.ts:307:40
|
|
src/Observers/OutputChannelObserver.test.ts > OutputChannelObserver on 'phpunit-v9' (PHPUnit '9.6.34') > should trigger testIgnored:
src/Observers/OutputChannelObserver.test.ts#L206
AssertionError: expected "vi.fn()" to be called with arguments: [ StringMatching{…} ]
Received:
1st vi.fn() call:
[
- StringMatching /\s+➖\sskipped\s\d+\sms/,
+ "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_skipped)( 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:
[
- StringMatching /\s+➖\sskipped\s\d+\sms/,
+ "
+ 🚀 PHPUnit 9.6.34 by Sebastian Bergmann and contributors.
+ ",
]
3rd vi.fn() call:
[
- StringMatching /\s+➖\sskipped\s\d+\sms/,
+ "Assertions (Tests\\Assertions)",
]
4th vi.fn() call:
[
- StringMatching /\s+➖\sskipped\s\d+\sms/,
+ "🟨 syntax error, unexpected 'SERIALIZATION_FORMAT_USE_UNSER' (T_STRING), expecting '='",
]
Number of calls: 4
❯ src/Observers/OutputChannelObserver.test.ts:206: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#L176
AssertionError: expected "vi.fn()" to be called with arguments: [ StringMatching{…} ]
Received:
1st vi.fn() call:
[
- StringMatching /\s+❌\sis_not_same\s\d+\sms/,
+ "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:
[
- StringMatching /\s+❌\sis_not_same\s\d+\sms/,
+ "
+ 🚀 PHPUnit 9.6.34 by Sebastian Bergmann and contributors.
+ ",
]
3rd vi.fn() call:
[
- StringMatching /\s+❌\sis_not_same\s\d+\sms/,
+ "Assertions (Tests\\Assertions)",
]
4th vi.fn() call:
[
- StringMatching /\s+❌\sis_not_same\s\d+\sms/,
+ "🟨 syntax error, unexpected 'SERIALIZATION_FORMAT_USE_UNSER' (T_STRING), expecting '='",
]
Number of calls: 4
❯ src/Observers/OutputChannelObserver.test.ts:176:42
|
|
src/Observers/OutputChannelObserver.test.ts > OutputChannelObserver on 'phpunit-v9' (PHPUnit '9.6.34') > should trigger testFailed:
src/Observers/OutputChannelObserver.test.ts#L146
AssertionError: expected "vi.fn()" to be called with arguments: [ StringMatching{…} ]
Received:
1st vi.fn() call:
[
- StringMatching /\s+❌\sfailed\s\d+\sms/,
+ "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:
[
- StringMatching /\s+❌\sfailed\s\d+\sms/,
+ "
+ 🚀 PHPUnit 9.6.34 by Sebastian Bergmann and contributors.
+ ",
]
3rd vi.fn() call:
[
- StringMatching /\s+❌\sfailed\s\d+\sms/,
+ "Assertions (Tests\\Assertions)",
]
4th vi.fn() call:
[
- StringMatching /\s+❌\sfailed\s\d+\sms/,
+ " ✅ passed 16 ms",
]
5th vi.fn() call:
[
- StringMatching /\s+❌\sfailed\s\d+\sms/,
+ "🟨 syntax error, unexpected 'SERIALIZATION_FORMAT_USE_UNSER' (T_STRING), expecting '='",
]
Number of calls: 5
❯ src/Observers/OutputChannelObserver.test.ts:146:42
|
|
src/extension.test.ts > Extension Test > PHPUnit on 'phpunit-v9' (PHPUnit '9.6.34') > should run test case:
src/extension.test.ts#L108
AssertionError: expected { enqueued: 1, started: 1, …(3) } to deeply equal { enqueued: 1, started: 1, …(3) }
- Expected
+ Received
{
"end": 1,
"enqueued": 1,
- "failed": 1,
+ "failed": 0,
"passed": 0,
"started": 1,
}
❯ expectTestResultCalled src/extension.test.ts:108:8
❯ src/extension.test.ts:332:13
|
|
src/extension.test.ts > Extension Test > PHPUnit on 'phpunit-v9' (PHPUnit '9.6.34') > should run test suite:
src/extension.test.ts#L108
AssertionError: expected { enqueued: 9, started: 2, …(3) } to deeply equal { enqueued: 9, started: 12, …(3) }
- Expected
+ Received
{
"end": 1,
"enqueued": 9,
- "failed": 4,
- "passed": 6,
- "started": 12,
+ "failed": 0,
+ "passed": 1,
+ "started": 2,
}
❯ expectTestResultCalled src/extension.test.ts:108:8
❯ src/extension.test.ts:325:13
|
|
src/extension.test.ts > Extension Test > PHPUnit on 'phpunit-v9' (PHPUnit '9.6.34') > should run test by namespace:
src/extension.test.ts#L108
AssertionError: expected { enqueued: 27, started: 2, …(3) } to deeply equal { enqueued: 27, started: 28, …(3) }
- Expected
+ Received
{
"end": 1,
"enqueued": 27,
- "failed": 10,
- "passed": 16,
- "started": 28,
+ "failed": 0,
+ "passed": 1,
+ "started": 2,
}
❯ expectTestResultCalled src/extension.test.ts:108:8
❯ src/extension.test.ts:308:13
|
|
src/extension.test.ts > Extension Test > PHPUnit on 'phpunit-v9' (PHPUnit '9.6.34') > should run all tests:
src/extension.test.ts#L108
AssertionError: expected { enqueued: 28, started: 2, …(3) } to deeply equal { enqueued: 28, started: 29, …(3) }
- Expected
+ Received
{
"end": 1,
"enqueued": 28,
- "failed": 11,
- "passed": 16,
- "started": 29,
+ "failed": 0,
+ "passed": 1,
+ "started": 2,
}
❯ expectTestResultCalled src/extension.test.ts:108:8
❯ src/extension.test.ts:293:13
|
|
windows-latest node-20 php-8.2
Process completed with exit code 1.
|
|
src/Observers/OutputChannelObserver.test.ts > OutputChannelObserver on 'phpunit-v9' (PHPUnit '9.6.34') > should print printed output:
src/Observers/OutputChannelObserver.test.ts#L335
AssertionError: expected "vi.fn()" to be called with arguments: [ '🟨 printed output' ]
Received:
1st vi.fn() call:
[
- "🟨 printed output",
+ "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_echo)( with data set .*)?$ D:\\a\\vscode-phpunit\\vscode-phpunit\\src\\PHPUnit\\__tests__\\fixtures\\phpunit-stub\\tests\\Output\\OutputTest.php --colors=never --teamcity",
]
2nd vi.fn() call:
[
- "🟨 printed output",
+ "
+ 🚀 PHPUnit 9.6.34 by Sebastian Bergmann and contributors.
+ ",
]
3rd vi.fn() call:
[
- "🟨 printed output",
+ "Output (Tests\\Output\\Output)",
]
4th vi.fn() call:
[
- "🟨 printed output",
+ "🟨 syntax error, unexpected identifier \"SERIALIZATION_FORMAT_USE_UNSER...\", expecting \"=\"",
]
Number of calls: 4
❯ src/Observers/OutputChannelObserver.test.ts:335:42
|
|
src/Observers/OutputChannelObserver.test.ts > OutputChannelObserver on 'phpunit-v9' (PHPUnit '9.6.34') > never show output channel when failure:
src/Observers/OutputChannelObserver.test.ts#L307
AssertionError: expected "vi.fn()" to not be called at all, but actually been called 1 times
Received:
1st vi.fn() call:
Array [
false,
]
Number of calls: 1
❯ src/Observers/OutputChannelObserver.test.ts:307:40
|
|
src/Observers/OutputChannelObserver.test.ts > OutputChannelObserver on 'phpunit-v9' (PHPUnit '9.6.34') > should trigger testIgnored:
src/Observers/OutputChannelObserver.test.ts#L206
AssertionError: expected "vi.fn()" to be called with arguments: [ StringMatching{…} ]
Received:
1st vi.fn() call:
[
- StringMatching /\s+➖\sskipped\s\d+\sms/,
+ "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_skipped)( 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:
[
- StringMatching /\s+➖\sskipped\s\d+\sms/,
+ "
+ 🚀 PHPUnit 9.6.34 by Sebastian Bergmann and contributors.
+ ",
]
3rd vi.fn() call:
[
- StringMatching /\s+➖\sskipped\s\d+\sms/,
+ "Assertions (Tests\\Assertions)",
]
4th vi.fn() call:
[
- StringMatching /\s+➖\sskipped\s\d+\sms/,
+ "🟨 syntax error, unexpected identifier \"SERIALIZATION_FORMAT_USE_UNSER...\", expecting \"=\"",
]
Number of calls: 4
❯ src/Observers/OutputChannelObserver.test.ts:206: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#L176
AssertionError: expected "vi.fn()" to be called with arguments: [ StringMatching{…} ]
Received:
1st vi.fn() call:
[
- StringMatching /\s+❌\sis_not_same\s\d+\sms/,
+ "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:
[
- StringMatching /\s+❌\sis_not_same\s\d+\sms/,
+ "
+ 🚀 PHPUnit 9.6.34 by Sebastian Bergmann and contributors.
+ ",
]
3rd vi.fn() call:
[
- StringMatching /\s+❌\sis_not_same\s\d+\sms/,
+ "Assertions (Tests\\Assertions)",
]
4th vi.fn() call:
[
- StringMatching /\s+❌\sis_not_same\s\d+\sms/,
+ "🟨 syntax error, unexpected identifier \"SERIALIZATION_FORMAT_USE_UNSER...\", expecting \"=\"",
]
Number of calls: 4
❯ src/Observers/OutputChannelObserver.test.ts:176:42
|
|
src/Observers/OutputChannelObserver.test.ts > OutputChannelObserver on 'phpunit-v9' (PHPUnit '9.6.34') > should trigger testFailed:
src/Observers/OutputChannelObserver.test.ts#L146
AssertionError: expected "vi.fn()" to be called with arguments: [ StringMatching{…} ]
Received:
1st vi.fn() call:
[
- StringMatching /\s+❌\sfailed\s\d+\sms/,
+ "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:
[
- StringMatching /\s+❌\sfailed\s\d+\sms/,
+ "
+ 🚀 PHPUnit 9.6.34 by Sebastian Bergmann and contributors.
+ ",
]
3rd vi.fn() call:
[
- StringMatching /\s+❌\sfailed\s\d+\sms/,
+ "Assertions (Tests\\Assertions)",
]
4th vi.fn() call:
[
- StringMatching /\s+❌\sfailed\s\d+\sms/,
+ " ✅ passed 13 ms",
]
5th vi.fn() call:
[
- StringMatching /\s+❌\sfailed\s\d+\sms/,
+ "🟨 syntax error, unexpected identifier \"SERIALIZATION_FORMAT_USE_UNSER...\", expecting \"=\"",
]
Number of calls: 5
❯ src/Observers/OutputChannelObserver.test.ts:146:42
|
|
src/extension.test.ts > Extension Test > PHPUnit on 'phpunit-v9' (PHPUnit '9.6.34') > should run test case:
src/extension.test.ts#L108
AssertionError: expected { enqueued: 1, started: 1, …(3) } to deeply equal { enqueued: 1, started: 1, …(3) }
- Expected
+ Received
{
"end": 1,
"enqueued": 1,
- "failed": 1,
+ "failed": 0,
"passed": 0,
"started": 1,
}
❯ expectTestResultCalled src/extension.test.ts:108:8
❯ src/extension.test.ts:332:13
|
|
src/extension.test.ts > Extension Test > PHPUnit on 'phpunit-v9' (PHPUnit '9.6.34') > should run test suite:
src/extension.test.ts#L108
AssertionError: expected { enqueued: 9, started: 2, …(3) } to deeply equal { enqueued: 9, started: 12, …(3) }
- Expected
+ Received
{
"end": 1,
"enqueued": 9,
- "failed": 4,
- "passed": 6,
- "started": 12,
+ "failed": 0,
+ "passed": 1,
+ "started": 2,
}
❯ expectTestResultCalled src/extension.test.ts:108:8
❯ src/extension.test.ts:325:13
|
|
src/extension.test.ts > Extension Test > PHPUnit on 'phpunit-v9' (PHPUnit '9.6.34') > should run test by namespace:
src/extension.test.ts#L108
AssertionError: expected { enqueued: 27, started: 2, …(3) } to deeply equal { enqueued: 27, started: 28, …(3) }
- Expected
+ Received
{
"end": 1,
"enqueued": 27,
- "failed": 10,
- "passed": 16,
- "started": 28,
+ "failed": 0,
+ "passed": 1,
+ "started": 2,
}
❯ expectTestResultCalled src/extension.test.ts:108:8
❯ src/extension.test.ts:308:13
|
|
src/extension.test.ts > Extension Test > PHPUnit on 'phpunit-v9' (PHPUnit '9.6.34') > should run all tests:
src/extension.test.ts#L108
AssertionError: expected { enqueued: 28, started: 2, …(3) } to deeply equal { enqueued: 28, started: 29, …(3) }
- Expected
+ Received
{
"end": 1,
"enqueued": 28,
- "failed": 11,
- "passed": 16,
- "started": 29,
+ "failed": 0,
+ "passed": 1,
+ "started": 2,
}
❯ expectTestResultCalled src/extension.test.ts:108:8
❯ src/extension.test.ts:293:13
|
|
macos-latest node-20 php-8.2
Process completed with exit code 1.
|
|
src/Observers/OutputChannelObserver.test.ts > OutputChannelObserver on 'phpunit-v9' (PHPUnit '9.6.34') > should print printed output:
src/Observers/OutputChannelObserver.test.ts#L335
AssertionError: expected "vi.fn()" to be called with arguments: [ '🟨 printed output' ]
Received:
1st vi.fn() call:
[
- "🟨 printed output",
+ "php v9/vendor/bin/phpunit --configuration=phpunit.xml --configuration=/Users/runner/work/vscode-phpunit/vscode-phpunit/src/PHPUnit/__tests__/fixtures/phpunit-stub/v9/phpunit.xml --filter=^.*::(test_echo)( with data set .*)?$ /Users/runner/work/vscode-phpunit/vscode-phpunit/src/PHPUnit/__tests__/fixtures/phpunit-stub/tests/Output/OutputTest.php --colors=never --teamcity",
]
2nd vi.fn() call:
[
- "🟨 printed output",
+ "
+ 🚀 PHPUnit 9.6.34 by Sebastian Bergmann and contributors.
+ ",
]
3rd vi.fn() call:
[
- "🟨 printed output",
+ "Output (Tests\\Output\\Output)",
]
4th vi.fn() call:
[
- "🟨 printed output",
+ "🟨 syntax error, unexpected identifier \"SERIALIZATION_FORMAT_USE_UNSER...\", expecting \"=\"",
]
Number of calls: 4
❯ src/Observers/OutputChannelObserver.test.ts:335:42
|
|
src/Observers/OutputChannelObserver.test.ts > OutputChannelObserver on 'phpunit-v9' (PHPUnit '9.6.34') > never show output channel when failure:
src/Observers/OutputChannelObserver.test.ts#L307
AssertionError: expected "vi.fn()" to not be called at all, but actually been called 1 times
Received:
1st vi.fn() call:
Array [
false,
]
Number of calls: 1
❯ src/Observers/OutputChannelObserver.test.ts:307:40
|
|
src/Observers/OutputChannelObserver.test.ts > OutputChannelObserver on 'phpunit-v9' (PHPUnit '9.6.34') > should trigger testIgnored:
src/Observers/OutputChannelObserver.test.ts#L206
AssertionError: expected "vi.fn()" to be called with arguments: [ StringMatching{…} ]
Received:
1st vi.fn() call:
[
- StringMatching /\s+➖\sskipped\s\d+\sms/,
+ "php v9/vendor/bin/phpunit --configuration=phpunit.xml --configuration=/Users/runner/work/vscode-phpunit/vscode-phpunit/src/PHPUnit/__tests__/fixtures/phpunit-stub/v9/phpunit.xml --filter=^.*::(test_skipped)( with data set .*)?$ /Users/runner/work/vscode-phpunit/vscode-phpunit/src/PHPUnit/__tests__/fixtures/phpunit-stub/tests/AssertionsTest.php --colors=never --teamcity",
]
2nd vi.fn() call:
[
- StringMatching /\s+➖\sskipped\s\d+\sms/,
+ "
+ 🚀 PHPUnit 9.6.34 by Sebastian Bergmann and contributors.
+ ",
]
3rd vi.fn() call:
[
- StringMatching /\s+➖\sskipped\s\d+\sms/,
+ "Assertions (Tests\\Assertions)",
]
4th vi.fn() call:
[
- StringMatching /\s+➖\sskipped\s\d+\sms/,
+ "🟨 syntax error, unexpected identifier \"SERIALIZATION_FORMAT_USE_UNSER...\", expecting \"=\"",
]
Number of calls: 4
❯ src/Observers/OutputChannelObserver.test.ts:206: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#L176
AssertionError: expected "vi.fn()" to be called with arguments: [ StringMatching{…} ]
Received:
1st vi.fn() call:
[
- StringMatching /\s+❌\sis_not_same\s\d+\sms/,
+ "php v9/vendor/bin/phpunit --configuration=phpunit.xml --configuration=/Users/runner/work/vscode-phpunit/vscode-phpunit/src/PHPUnit/__tests__/fixtures/phpunit-stub/v9/phpunit.xml --filter=^.*::(test_is_not_same)( with data set .*)?$ /Users/runner/work/vscode-phpunit/vscode-phpunit/src/PHPUnit/__tests__/fixtures/phpunit-stub/tests/AssertionsTest.php --colors=never --teamcity",
]
2nd vi.fn() call:
[
- StringMatching /\s+❌\sis_not_same\s\d+\sms/,
+ "
+ 🚀 PHPUnit 9.6.34 by Sebastian Bergmann and contributors.
+ ",
]
3rd vi.fn() call:
[
- StringMatching /\s+❌\sis_not_same\s\d+\sms/,
+ "Assertions (Tests\\Assertions)",
]
4th vi.fn() call:
[
- StringMatching /\s+❌\sis_not_same\s\d+\sms/,
+ "🟨 syntax error, unexpected identifier \"SERIALIZATION_FORMAT_USE_UNSER...\", expecting \"=\"",
]
Number of calls: 4
❯ src/Observers/OutputChannelObserver.test.ts:176:42
|
|
src/Observers/OutputChannelObserver.test.ts > OutputChannelObserver on 'phpunit-v9' (PHPUnit '9.6.34') > should trigger testFailed:
src/Observers/OutputChannelObserver.test.ts#L146
AssertionError: expected "vi.fn()" to be called with arguments: [ StringMatching{…} ]
Received:
1st vi.fn() call:
[
- StringMatching /\s+❌\sfailed\s\d+\sms/,
+ "php v9/vendor/bin/phpunit --configuration=phpunit.xml --configuration=/Users/runner/work/vscode-phpunit/vscode-phpunit/src/PHPUnit/__tests__/fixtures/phpunit-stub/v9/phpunit.xml --filter=^.*::(test_failed|test_passed)( with data set .*)?$ /Users/runner/work/vscode-phpunit/vscode-phpunit/src/PHPUnit/__tests__/fixtures/phpunit-stub/tests/AssertionsTest.php --colors=never --teamcity",
]
2nd vi.fn() call:
[
- StringMatching /\s+❌\sfailed\s\d+\sms/,
+ "
+ 🚀 PHPUnit 9.6.34 by Sebastian Bergmann and contributors.
+ ",
]
3rd vi.fn() call:
[
- StringMatching /\s+❌\sfailed\s\d+\sms/,
+ "Assertions (Tests\\Assertions)",
]
4th vi.fn() call:
[
- StringMatching /\s+❌\sfailed\s\d+\sms/,
+ " ✅ passed 4 ms",
]
5th vi.fn() call:
[
- StringMatching /\s+❌\sfailed\s\d+\sms/,
+ "🟨 syntax error, unexpected identifier \"SERIALIZATION_FORMAT_USE_UNSER...\", expecting \"=\"",
]
Number of calls: 5
❯ src/Observers/OutputChannelObserver.test.ts:146:42
|
|
src/extension.test.ts > Extension Test > PHPUnit on 'phpunit-v9' (PHPUnit '9.6.34') > should run test case:
src/extension.test.ts#L108
AssertionError: expected { enqueued: 1, started: 1, …(3) } to deeply equal { enqueued: 1, started: 1, …(3) }
- Expected
+ Received
{
"end": 1,
"enqueued": 1,
- "failed": 1,
+ "failed": 0,
"passed": 0,
"started": 1,
}
❯ expectTestResultCalled src/extension.test.ts:108:8
❯ src/extension.test.ts:332:13
|
|
src/extension.test.ts > Extension Test > PHPUnit on 'phpunit-v9' (PHPUnit '9.6.34') > should run test suite:
src/extension.test.ts#L108
AssertionError: expected { enqueued: 9, started: 2, …(3) } to deeply equal { enqueued: 9, started: 12, …(3) }
- Expected
+ Received
{
"end": 1,
"enqueued": 9,
- "failed": 4,
- "passed": 6,
- "started": 12,
+ "failed": 0,
+ "passed": 1,
+ "started": 2,
}
❯ expectTestResultCalled src/extension.test.ts:108:8
❯ src/extension.test.ts:325:13
|
|
src/extension.test.ts > Extension Test > PHPUnit on 'phpunit-v9' (PHPUnit '9.6.34') > should run test by namespace:
src/extension.test.ts#L108
AssertionError: expected { enqueued: 27, started: 2, …(3) } to deeply equal { enqueued: 27, started: 28, …(3) }
- Expected
+ Received
{
"end": 1,
"enqueued": 27,
- "failed": 10,
- "passed": 16,
- "started": 28,
+ "failed": 0,
+ "passed": 1,
+ "started": 2,
}
❯ expectTestResultCalled src/extension.test.ts:108:8
❯ src/extension.test.ts:308:13
|
|
src/extension.test.ts > Extension Test > PHPUnit on 'phpunit-v9' (PHPUnit '9.6.34') > should run all tests:
src/extension.test.ts#L108
AssertionError: expected { enqueued: 28, started: 2, …(3) } to deeply equal { enqueued: 28, started: 29, …(3) }
- Expected
+ Received
{
"end": 1,
"enqueued": 28,
- "failed": 11,
- "passed": 16,
- "started": 29,
+ "failed": 0,
+ "passed": 1,
+ "started": 2,
}
❯ expectTestResultCalled src/extension.test.ts:108:8
❯ src/extension.test.ts:293:13
|