Files
test-reporter/__tests__/__outputs__/phpunit-test-results.md
Jozef Izso d1de4d5f06 Support for the PHPUnit dialect of JUnit
Refactor PHPUnit support into separate phpunit-junit parser

Instead of modifying the Java JUnit parser, this creates a dedicated
PHPUnit parser that properly handles PHPUnit's nested testsuite elements.
This keeps the parsers cleanly separated and allows for future PHPUnit-
specific features.

Co-Authored-By: Matteo Beccati <matteo@beccati.com>
Co-Authored-By: Claude Code <noreply@anthropic.com>
2025-12-29 13:58:55 +01:00

1.6 KiB

Tests failed

 fixtures/phpunit/phpunit.xml

12 tests were completed in 148ms with 10 passed, 2 failed and 0 skipped.

Test suite Passed Failed Skipped Time
CLI Arguments 2 140ms
PHPUnit\Event\CollectingDispatcherTest 2 4ms
PHPUnit\Event\DeferringDispatcherTest 4 3ms
PHPUnit\Event\DirectDispatcherTest 4 1ms

 CLI Arguments

❌ targeting-traits-with-coversclass-attribute-is-deprecated.phpt
	PHPUnit\Framework\PhptAssertionFailedError
❌ targeting-traits-with-usesclass-attribute-is-deprecated.phpt
	PHPUnit\Framework\PhptAssertionFailedError

 PHPUnit\Event\CollectingDispatcherTest

PHPUnit.Event.CollectingDispatcherTest
  ✅ testHasNoCollectedEventsWhenFlushedImmediatelyAfterCreation
  ✅ testCollectsDispatchedEventsUntilFlushed

 PHPUnit\Event\DeferringDispatcherTest

PHPUnit.Event.DeferringDispatcherTest
  ✅ testCollectsEventsUntilFlush
  ✅ testFlushesCollectedEvents
  ✅ testSubscriberCanBeRegistered
  ✅ testTracerCanBeRegistered

 PHPUnit\Event\DirectDispatcherTest

PHPUnit.Event.DirectDispatcherTest
  ✅ testDispatchesEventToKnownSubscribers
  ✅ testDispatchesEventToTracers
  ✅ testRegisterRejectsUnknownSubscriber
  ✅ testDispatchRejectsUnknownEventType