Support the ongoing development of Laravel.io →
posted 10 years ago
Testing

Hello,

I installed phpunit and made a directory app/test/unit with in it a test named TestProduct.

But as soon as I run phpunit I see a message that start.php cannot be found.

It is called with this part in TestCase.php


public function createApplication()
  {
    $unitTesting = true;
  
    $testEnvironment = 'testing';
  
    return require __DIR__.'/../../start.php';
  }

Roelof

Last updated 3 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.