elliotchance / concise

✅ Concise is test framework for using plain English and minimal code, built on PHPUnit.
MIT License
45 stars 3 forks source link

Inline tests #289

Open elliotchance opened 8 years ago

elliotchance commented 8 years ago
class Adder
{
    /**
     * @test add(3, 5) == 8
     * @test add(-1, 1) == 0
     */
    public function add($a, $b)
    {
        return $a + $b;
    }
}