Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

karma with PhantomJS as browser #1

Open
milkshakeuk opened this issue Apr 25, 2016 · 5 comments
Open

karma with PhantomJS as browser #1

milkshakeuk opened this issue Apr 25, 2016 · 5 comments

Comments

@milkshakeuk
Copy link

It would be incredibly useful if you could provide a sample of how you could debug karma jasmine tests which use PhantomJS as the browser for running the test suite.

@iradul
Copy link
Owner

iradul commented Apr 25, 2016

I'm aware that many people are using PhantomJS for testing so it might be good idea to write something like that in the future. Since I'm not using your setup for testing I wouldn't be the right person to do it.
Anyway this is general debugger for any PhantomJS script which means that tests are just small fraction of what you can actually do with PhantomJS and this debugger.

@milkshakeuk
Copy link
Author

You wouldn't need my exact set up, just a very basic and generalised example using the default karma.conf with PhantomJS as the browser and executing it via karma start would be enough to get most people going I think, and would probably encourage more people to use this extension.

@Rookian
Copy link

Rookian commented Dec 30, 2016

Agree with @milkshakeuk. Please provide a setup documentation on how to debug an Angular2 application with karma and PhantomJs.

@sjd78
Copy link

sjd78 commented Feb 17, 2017

@iradul - I think just a way to capture PhantomJS that in invoked from a karma test via the karma-phantomjs-launcher would be a big help. If I had that, I could debug my tests inside Visual Studio Code instead of relying on the slightly odd phantomjs browser based debugger.

If you need help updating your code, or with modifying karma-phantomjs-launcher, or with a simple example app to work from, I'd be happy to help.

@h0wXD
Copy link

h0wXD commented May 18, 2017

Also looking for this feature. Is there any update for this? Would be incredibly useful to debug test cases from inside VSC.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants