Jasmine and Continuous Integration with Jenkins

2,826 views
Skip to first unread message

Anthony Green

unread,
Sep 12, 2012, 7:03:58 AM9/12/12
to jasmi...@googlegroups.com
What's the latest advice regarding integrating Jasmine with Jenkins for:

* Unit tests (no DOM)
* Integration tests (DOM)
* System Test

I plan to use Cucumber for the system testing as I figure for my project
using JavaScript is a implementation detail.

It's the unit-testing and integration tests I'm most focused on.
I've done some Googling and found material on Gradle, Rhino and Envjs,
jasmine-node, jasmine-headless-webkit-reporters but there doesn't appear
a single project that has gained community traction and has ongoing
development.

I chosen to focus on jasmine-headless-webkit(-reporters) for now but am
having issue for which I've opened tickets.

Thoughts ?

--
Anthony Green
BBC Future Media

Davis W. Frank

unread,
Sep 12, 2012, 10:50:28 AM9/12/12
to jasmi...@googlegroups.com
Your best bet is the Jasmine Phantom Gem: https://github.com/flipstone/jasmine-phantom

You'll need to have a recent Qt installed so Phantom can build.

This gives you dots and errors to stdout which means Jenkins will be happy.

--dwf

--
You received this message because you are subscribed to the Google Groups "Jasmine" group.
To post to this group, send email to jasmi...@googlegroups.com.
To unsubscribe from this group, send email to jasmine-js+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/jasmine-js?hl=en.




--
thx,
--dwf

Anthony Green

unread,
Sep 13, 2012, 7:12:42 AM9/13/12
to jasmi...@googlegroups.com


On Wednesday, 12 September 2012 15:50:30 UTC+1, DWF wrote:
Your best bet is the Jasmine Phantom Gem: https://github.com/flipstone/jasmine-phantom

You'll need to have a recent Qt installed so Phantom can build.

This gives you dots and errors to stdout which means Jenkins will be happy.

--dwf

I've given that a go and I've also managed to get jasmine-headless-webkit working. 
Some things I noticed:
jasmine-headless-webkit appears to run the specs quite a bit faster
Jasmine 1.2.1 appears to break compatibility with jasmine-phantom

-

Tony
Reply all
Reply to author
Forward
0 new messages