phpunit simple test

revision dd9b564921255a84b209c999c0b17b251f3c5200

raw

MiniTest.php

1
2
3
4
5
6
7
8
9
10
11
12
 
<?php
class MiniTest extends PHPUnit_Framework_TestCase
{
    public function testOne()
    {
        $this->assertTrue(true);
    }
}
 
?>
 
raw

output.sh

1
2
3
4
5
6
7
8
9
$ phpunit MiniTest.php 
PHPUnit 3.7.14 by Sebastian Bergmann.
 
.
 
Time: 0 seconds, Memory: 5.50Mb
 
OK (1 test, 1 assertion)
 

History