NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
andrew1
Joined: 12 May 2012 Posts: 2
|
Posted: Sat May 12, 2012 7:24 am Post subject: Test file for the selected source file was not found |
|
|
Hi, Is anybody able to suggest anything to try to resolve the following minor inconvenience?
Generated test file by right clicking on the file in Projects window and then Tools > Create PHPUnit tests.
When I attempt to run the test by right clicking on the source file and clicking Test I get | Quote: | | Test file for the selected source file was not found. |
The test runs if I click Run on the newly created test file in the Test Files folder in the Projects window. That is it shows Test Results and Warnigns and Failures in the Output window.
I had found in a past post that someone suspected a namespace issue to be responsible for this. I can't see how in my code, working thru YII Agile Web Development book. Yii not using namespaces until version 2 and no namespaces apparent in the generated test file though am using php5.3.
I doubt that it matters but have included system info:
MAC OS X 10.6.8
PHPUnit 3.6.10
NetBeans IDE 7.1.2
The source file in the Projects window is:
demo>Source Files>protected>controllers>MessageController.php
The generated test file in the Projects window is:
demo>Test Files>protected>controllers>MesssageControllerTest.php |
|
| Back to top |
|
 |
andrew1
Joined: 12 May 2012 Posts: 2
|
Posted: Sun May 13, 2012 4:13 am Post subject: Solved |
|
|
| Not sure what caused the error but this functionality is working in a new project. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|