Should reloading a page with firebug enabled tell connected Karma process to rerun its tests?

8 views
Skip to first unread message

david.karr

unread,
Jun 18, 2015, 2:26:37 PM6/18/15
to fir...@googlegroups.com
I've got several things in play here, so I don't know if this is an issue with Firebug, Karma, Firefox, or CentOS7.

I have a webapp using Karma to run JavaScript unit tests.  I'm trying to integrate RequireJS into the tests.  After integrating RequireJS, I'm getting test failures that I don't understand.  I'm trying to change the browser from PhantomJS to Firefox (with the Firebug extension) so I can step through the unit tests and associated code.  Note that this is all on CentOS7.

The way I expect this should work is that I run the tests from the command line, which runs the browser, then runs the tests.  I can then click on the "DEBUG" button in the Karma display on the web page and then enable Firebug.  I can then visit the files that were loaded by Karma, set a breakpoint, and then reload the page, which I thought would rerun the unit tests so it will hit my breakpoint.

It seems like this behavior of rerunning the tests only works the first time, if at all.

Any ideas?
Reply all
Reply to author
Forward
0 new messages