Testing Laravel Application

laravel, web-development

class DeveloperTest extends TestCase {
    /**
     * Why?
     */
    public function we_all_should_write_test()
    {
        $this->assertTrue(true);
    }
}

If you don’t know where to start, this is a very good starting point. </p>

Two points to emphasize:

Usually my workflow is this:

That’s pretty much it. Write test first, not after. It helps me clarify the problem and write a better solution.

Next | Previous

Other posts