Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
simpletest.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
26 Mar 2014 at 09:07 UTC
Updated:
29 Jul 2014 at 23:29 UTC
Jump to comment: Most recent, Most recent file

Comments
Comment #1
alexpottThis patch also exposed the fact that BlockConfigEntityUnitTest was incorrectly using
Drupal\Tests\Core\Plugin\TestConfigurablePluginwhich was only working because the --filter option includes all tests. This class was contained inDrupal\Tests\Core\Plugin\ConfigurablePluginBagTest. To fix this I movedTestConfigurablePluginto its own autoloadable class.Comment #2
alexpottThe array addition was wrong.
Comment #4
berdirNice, this looks good and highlights bad usage of "private" test classes within another test class as a bonus ;)
Comment #5
berdirSorry, need to set this back to needs work. Apparently this breaks the output, the missing class name comes from this patch.
Comment #6
Anonymous (not verified) commentednice find.
berdir++
alexpott++
Comment #7
alexpottPatch attached fixes the output to match the current state of HEAD - it refactors the XML parsing to be able to deal with XML output from phpunit that runs a single test or uses --filter to run multiple tests since this is how the simpletest UI allows selection of PHPUnit tests. This patch also reduces the amount of XML parsed during each test run since the XML output is just for the single test each time instead of the full test suite.
Comment #8
alexpottAnd now for the patch.
Comment #9
berdirThanks, I think this looks good now. Verified the output locally and on testbot.
Comment #10
catchCommitted/pushed to 8.x, thanks!