Closed (won't fix)
Project:
Drupal core
Version:
7.x-dev
Component:
simpletest.module
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
19 Jan 2008 at 20:11 UTC
Updated:
8 Jul 2009 at 21:55 UTC
While having a full screen of "OK" gives one a nice fuzzy feeling, it's not so great when you've got a single test that has started failing and you now need to find exactly which one it is. I propose, just as the default SimpleTest reporter does, that Drupal's SimpleTest reporter not display passes. Comments?
Comments
Comment #1
webchickHmmm. The only thing is that it's nice to have the context around the fails to know exactly what you were trying to do when whatever it was didn't work.
Maybe a set of "jump-down" links that skip directly to the failures themselves..?
Comment #2
Rok Žlender commentedOk msgs can you give you a trail where exaclty did your test fail if you get a general msg like
[browser] Setting title="!SimpleTest test node! simpletest_y1ouaeAn_E" at [/Applications/MAMP/htdocs/drupalHEAD/sites/all/modules/simpletest/drupal_test_case.php line 204]
You have no idea where this is. I am in favor of partitioning test results even more. ATM we display test results for one test class together. It would help a lot if we would display it separately for every test function in a test class.
Comment #3
yched commented+1 for partitioning.
Having an option to hide passes would be nice too.
I sort of miss the ability to have 'neutral' information messages (neither pass nor fail), to ease tracking progress and spot in which part of a test an error happens. Not sure the simpletest framework itself allows that, though...
Comment #4
Rok Žlender commentedSimpletest does support partitioning down to function level with paintMethodStart and paintMethodEnd. It shouldnt be too hard to implement.
Comment #5
boombatower commentedThis has been stagnant for quiet some time. A consensus needs to be reached on this issue.
This isn't a bug report, it is a feature request.
Comment #6
boombatower commentedA consensus needs to be reached on this issue.
I don't think it is very useful. I prefer to see context.
Comment #7
sun.core commentedSorry, without further information this issue can only be marked as won't fix.
Feel free to re-open this issue if you want to provide further information. Thanks.