Using Jasmine on tddium

November 27, 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

Biography

More Content by Robbie Clutton
Previous
Greenplum Acquires MoreVRP
Greenplum Acquires MoreVRP

We are excited to announce that EMC has acquired More IT Resources Ltd., a privately held company based in ...

Next
Transparency, Clarity, and Focus: How Pivotal Tracker Enables Agile Collaboration
Transparency, Clarity, and Focus: How Pivotal Tracker Enables Agile Collaboration

An easel. A marker. Sometimes the most effective and immediate way to capture thoughts and collaborate is a...

Enter curious. Exit smarter.

Register Now