Using Jasmine on tddium

November 28, 2012 Robbie Clutton

With thanks to Ben we discovered a nice way to get Jasmine tests to work on Tddium today. We had a number of issues with the jasmine-headless-webkit dependency Tddium said we had to use. Issues around requiring a file that required erb to compile; not finding the source files; getting to work in the browser but not the command line and maybe a few others.

Ben pointed out some undocumented configuration for Tddium which outlined ‘custom’ build steps wherein you could call the jasmine:ci rake task. This cleared everything up. Although I’m not sure how as Tddium said it could only cope with a headless browser environment.

Here’s the gist I hope it saves you as much time as it did me.

About the Author

Robbie Clutton

Robbie Clutton is the Head of Pivotal Labs in EMEA.

Previous
Dating by Data and Design
Dating by Data and Design

Online dating has come a long way from its somewhat dubious beginnings — it’s likely a friend, relative, or...

Next
Tracker Ecosystem: Redline.cc – Translating Designerese into Developerish
Tracker Ecosystem: Redline.cc – Translating Designerese into Developerish

It's not that designers and developers don't or can't get along. What the team at Redline realized is that...