Closed (fixed)
Project:
Drupal core
Version:
8.1.x-dev
Component:
simpletest.module
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
16 Apr 2016 at 01:10 UTC
Updated:
2 May 2016 at 15:04 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
alexpottBefore
After
Comment #3
dawehnerDoes this end up on the testbot as well?
Comment #4
alexpottCombining with #1308152-281: Add stream wrappers to access .json files in extensions - the issue that inspired me to look at this. The test should fail and we should be able to see why.
Comment #6
alexpottYay! DrupalCI is able to report proper errors from PHPUnit too. :) See https://www.drupal.org/pift-ci-job/251173 and compare with https://www.drupal.org/pift-ci-job/251031
Comment #7
alexpottUploading #2 again since it is the patch to review and that should always be the last patch on the issue.
And I think it is bug that our test system does not report the correct errors from tests.
Comment #8
dawehnerIt is quite nice that this didn't required more changes!
Comment #9
alexpott@dawehner I totally agree - I was very pleasantly surprised.
If the xml file doesn't exist for some reason this won't cause a problem because of how it works... Here's the relevant snippet:
Comment #10
alexpottI think this should be part of 8.1.0 as it will help people debug what is going wrong if write JavascriptTestBase tests and run them using run-tests.sh.
It also is 0 risk change for the public API of Drupal 8.
Comment #11
dawehner+1 This also doesn't cause a risk, as you proved above.
Comment #12
MixologicI would love to see this get in. The number of "can you help me figure out why my test broke" requests would drop substantially.
Comment #13
tstoecklerWow, this has bugged me for sooo long. I was even afraid to look at this issue because I was sure it involved some dark magic that went way over my head... @alexpott, you really are a master!!! RTBC+++++
Comment #14
catchCommitted/pushed to both open 8.x. branches, thanks!
Comment #17
xjmComment #18
xjm