linemanjs / lineman

Lineman helps you build fat-client JavaScript apps. It produces happiness by building assets, mocking servers, running specs on every file change
MIT License
1.18k stars 83 forks source link

How to run unit tests with PhantomJS? #361

Closed felippenardi closed 9 years ago

felippenardi commented 9 years ago

How do I get PhantomJS setup on Lineman for unit tests?

searls commented 9 years ago

Running lineman spec-ci runs a default lineman project's tests under phantomjs out of the box :smile:

felippenardi commented 9 years ago

Thanks @searls ! And is there a way to run it continuously?

searls commented 9 years ago

Just set phantomjs as the runnier in your spec.json and it'll run them in development mode with lineman spec.

On Wed, Apr 15, 2015 at 5:22 AM, Felippe Nardi notifications@github.com wrote:

Thanks @searls ! And is there a way to run it continuously?

Reply to this email directly or view it on GitHub: https://github.com/linemanjs/lineman/issues/361#issuecomment-93173396

felippenardi commented 9 years ago

@searls Man, seriously, can I pay you a coffee? Thank you so much :)

felippenardi commented 9 years ago

@searls You've just saved me at least 30 per day.

searls commented 9 years ago

Have fun!

On Wed, Apr 15, 2015 at 9:48 PM, Felippe Nardi notifications@github.com wrote:

@searls You've just saved me at least 30 per day.

Reply to this email directly or view it on GitHub: https://github.com/linemanjs/lineman/issues/361#issuecomment-93545763