This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
In Java is possible use Ctrl+F6 for run test also when you are in the test file. I only simply hit Ctrl+F6. This doesn't work in PHP project. Here I must use Ctrl+F6 in tested class and normall run Shift+F6 in test. I think that will be the best use the same behavior like in Java project also for PHP project, because during writing test programmer often switch during test and tested class... Maybe this is DEFECT instead of ENHANCEMENT
(In reply to comment #0) > In Java is possible use Ctrl+F6 for run test also when you are in the test > file. Just to be clear - what is "test file"? Do you mean "source file" (or tested class)? I guess so but please confirm. Thanks.
Sorry for my terminology. With 'test file' I mean 'junit class'/'testing code' which test 'tested class' But this is not important. Ctrl+F6 should be work everywhere to run test.
Some way like in Java
batch reassigning
Still present in 7.1. (PHP). I agree, this is inconsistent behaviour. Reproduce: You have a php file & a associated phpunit test file Open the php file, you can run the unit test -> <Ctrl+F6>. Now switch to the unit test e.g. <Ctrl+Shift+T> Run the unit test -> <Shift+F6> Notice how the shortcuts are different? <Ctrl+F6> & <Shift+F6> They should be the same, one or the other. I vote <Shift+F6>. Reasoning: I use my left pinky on the shift and right index finger on the F6, my pink is more confortable on the shift key and my right index finger is closer to the F6 key.
Will try to look at it.