Show
Ignore:
Timestamp:
03/10/2008 05:17:44 PM (9 months ago)
Author:
Geert
Message:

Added stats to test report (e.g. "Passed: 4 / 5").

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/modules/unit_test/views/kohana_unit_test.php

    r2274 r2278  
    3939        border-bottom: 1px solid #E5EFF8; 
    4040        padding: 3px; 
     41} 
     42#kohana-unit-test .k-stats 
     43{ 
     44        font-weight: normal; 
     45        color: #83919C; 
     46        text-align: right; 
    4147} 
    4248#kohana-unit-test .k-debug 
     
    8793        <table> 
    8894                <tr> 
    89                         <th colspan="2"><?php echo $class ?></th> 
     95                        <th><?php echo $class ?></th> 
     96                        <th class="k-stats"> 
     97                                <?php echo Kohana::lang('unit_test.stats', $stats[$class]['passed'], array_sum($stats[$class])) ?> 
     98                        </th> 
    9099                </tr> 
    91100