Unable to attach test reporter to test framework or test framework quit unexpectedly

I cannot run a project because I get this error...

Unable to attach test reporter to test framework or test framework quit unexpectedly     



How do I turn this off so my project will run in the browser?

4 comments
Comment actions Permalink

Hi there,

I assume you were clicking on "Run" button on toolbar (or similar thing via Context menu), right?

Well -- you did it wrong. Message says that you are trying to run PHPUnit scenario -- which is completely different thing.

Since I do not know all the details, I suggest:

  1. "Run | Edit Configurations..." -- create entry of proper type. I guess you will need "PHP Web Application"
  2. Make sure it is selected in drop down box on main toolbar, and only then you can use Run button


If you want something different -- please describe what you are trying to achieve.

0
Comment actions Permalink

Thanks for your help.

I opened up that Edit Configurations dialog box.
I see no way to remove the unit test configuration.

I have no unit tests in my project.
So I want nothing configured about unit tests.

I just want to run my PHP app.
I want to click Run, have it open up a browser, and the home page show up in the browser.

How do I turn these unit test configurations off?

Thanks.

0
Comment actions Permalink

I've already said what can you do to have Run button working.

In any case -- you seems to misunderstand how that Run/Debug buttons work -- they just launch already exiting Run/Debug configurations -- they do not Run/Debug current page. I suggest checking help pages for more details.

Regarding "removing" -- please post a screenshot of your "Run | Edit Configurations.. "screen. But generally speaking -- select unwanted configuration and click on "minus" button.

0
Comment actions Permalink

The configuration tells the app what page to run. That's what I'm talking about. That's all I want.
I deleted that unit test configuration which for some strange reason is created when one creates a project.
Now I'm onto getting the Xdebug button to work because I want to hit a break point.
I'll start a new topic for that.

0

Please sign in to leave a comment.