Pivotal Labs

Main menu

Skip to primary content
Skip to secondary content
  • About
  • Case Studies
  • Team
    • Executives
    • Locations
      • San Francisco (HQ)
      • Boston
      • Boulder
      • Denver
      • London
      • Los Angeles
      • New York
  • Community
    • Blogs
    • Tech Talks
    • Events
  • Careers
    • Lifestyle
    • Principles & Practices
    • Benefits
    • FAQ
    • Apply
  • Contact
    • Press Room
    • Press Releases
    • In The News
    • Press Kit
  • All
  • Labs
  • Standup
  • Tracker

Using Jasmine on tddium

Robbie Clutton
Tuesday, November 27, 2012

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.

  • 0 Shares
  • Share on Facebook
  • Share on Twitter

One comment

  1. Jay Moorthi says:

    Glad to hear you’ve got this working We’ve updated our documentation on Javascript testing to hopefully be clearer.

    http://docs.tddium.com/users-guide/javascript-testing

    The Tddium CI workers do start Xvfb servers and support “headed” testing using real browsers with Selenium/Watir.

    Feel free to drop us a line if you need any help getting tests to pass!

    November 29, 2012 at 8:39 am

Add New Comment Cancel reply

Your email address will not be published.

Robbie Clutton

Robbie Clutton
New York

Recent Posts

  • Stop leaky APIs
  • ElementalJS and SimpleBDD open source updates
  • Stop leaking ActiveRecord throughout your application
Subscribe to Robbie's Feed

Author Topics

api (1)
architecture (1)
ironblogger (10)
object-design (2)
rails (4)
rest (2)
elementaljs (2)
opensource (1)
simplebdd (2)
activerecord (2)
routing (1)
refinements (1)
ruby (5)
scala (2)
autolibs (1)
brew (1)
documentation (1)
rvm (1)
bdd (3)
rspec (4)
testing (8)
lean (2)
startup architecture (2)
sustainable archtiecture (1)
yagni (1)
metrics (1)
validation (1)
nosql (1)
nulldb (1)
javascript (3)
ci (2)
jasmine (1)
build (1)
agile (1)
review (1)
web (1)
  • About
  • Case Studies
  • Team
  • Community
  • Careers
  • Contact
  • Labs
  • Events

Contact Us

contact@pivotallabs.com
+1 415-77-PIVOT
TwitterLinkedInFacebook

Pivotal Tracker

Tracker is the award-winning agile project management tool that enables real-time collaboration around a shared, prioritized backlog.
Visit pivotaltracker.com >