gruntjs / grunt-lib-phantomjs

Grunt and PhantomJS, sitting in a tree.
http://gruntjs.com/
MIT License
93 stars 63 forks source link

it is possible to run grunt-lib-phantomjs with phantom 2.0.0? #94

Closed cesarpachon closed 8 years ago

cesarpachon commented 8 years ago

hello, I need run jasmine tests against phantom 2.0.0 (due to IndexedDB support). grunt-contrib-jasmine 0.9.2 uses grunt-lib-phantomjs 0.7.1. I manually downloaded, build and replace the binary from: .node_modules/grunt-contrib-jasmine/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/phantom/bin/phantomjs to the newly compiled 2.0.0 version, but now when I run the specs it just print the initial message and stay opened, doing nothing:

Running "jasmine:test" (jasmine) task Testing jasmine specs via PhantomJS

no errors, so I wonder what could be wrong with this approach.

amoilanen commented 8 years ago

Hello,

Some time ago I also had to execute Jasmine tests with PhanthomJS 2.0 because of the memory leak issues in the older versions.

It seems that at the moment PhantomJS 2.0 is not stable enough as I had some issues with, for example, running it in a Linux environment.

If you still want to use PhantomJS 2.0 you can use the following unofficial forks of grunt-contrib-jasmine-phantomjs and grunt-lib-phantomjs I created:

https://www.npmjs.com/package/grunt-contrib-jasmine-phantomjs2-unofficial https://www.npmjs.com/package/grunt-lib-phantomjs2-unofficial

flozz commented 8 years ago

Hello,

PhantomJS 2.1 was released this week. Is it possible to upgrade? :)

Arkni commented 8 years ago

@flozz see #96

vladikoff commented 8 years ago

merged