Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,19 @@ public function test_this_is_another_test()
{
$this->assert(true, "This is happening");
}
public function test_this_is_yet_another_test()
{
print_r("this is a test output with print_r");
$this->assert(true, "This is happening");
}
public function test_this_is_yet_another_test_2()
{
$this->assert(true, "This is happening");
}
public function test_this_is_yet_another_test_3()
{
$this->assert(true, "This is happening");
}
}

?>
12 changes: 7 additions & 5 deletions views/templates/body_report.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,16 @@
ERROR: <pre><?=$assert_report['msg'] ?></pre>
</td>
<?php endif; ?>
<td class="text-secondary">
<?php if (!empty($report['output'])): ?>
OUTPUT: <pre><?=$report['output']?></pre>
<?php endif; ?>
</td>
<td></td>
</tr>
<?php endforeach; ?>
<?php endif; ?>
<?php if (!empty($report['output'])): ?>
<tr>
<td><?=$test_function?></td>
<td colspan="2" class="text-secondary">OUTPUT: <pre><?=$report['output']?></pre></td>
</tr>
<?php endif; ?>
<?php endforeach; ?>
</tbody>
</table>
Expand Down
Loading