Category Archives: Tddium

Usability Enhancements to the Tddium CLI

We’re happy to announce some changes to the “tddium” command — the main CLI interface to Tddium. To pick up the changes, “gem update tddium” to get version 1.4.1 or later. Watch the video tour: [brightcove vid= 1627063974001&exp3=1554504229001&surl=http://c.brightcove.com/services&pubid= 1555356985001&pk=AQ~~,AAABaiKAJqk~,uHCuw6m0afMcd4N5Uhg1r07CY0oE6U0G&w=480&h=268] 1. “tddium run” – Automatic Suite Setup and Testing TL;DR: “tddium run” automatically creates a suite […]

Leave a comment

Heroku Continuous Deployment

A few weeks ago, we rolled out preliminary support for automatic code coverage collection and custom post-build tasks. Over the coming weeks, we’re rolling out better UIs in front of these features, but if you’re impatient, and you’re up for using our sample rake task, read on for end-to-end continuous deployment. I’ll describe how we use […]

16 Comments

Tests are Part of your Product

Check out the slides from my Railsconf 2012 Lightning Talk on Speakerdeck: http://speakerdeck.com/u/tddium/p/tests-are-part-of-your-product-railsconf-2012 I’ll be expanding on these concepts and sharing my thoughts on how developer-written tests fit into a strong engineering culture over a series of blog posts in the next weeks.  Stay tuned!

Leave a comment

2 Million Tests!

I’m happy to announce that Tddium has just run it’s 2,000,000th test! That represents well over 10,000 hours of test execution for rspec, cucumber, test::unit, spinach, turnip, and jasmine tests. We’re also pleased to announce some great new integrations: Build notifications via HipChat, and a convenient new way to test notification integrations RabbitMQ Elastic Search […]

Leave a comment

RabbitMQ, CouchDB, Build Controls & CCMenu

Update: CCMenu can now be configured from your organization’s chat notifications configuration dialog. Happy Holidays, everyone! Tddium’s been open to the public for a month now, and we’ve seen great response and growth we can be proud of!   Tddium has run over 750k tests, with usage accelerating every day. The Tddium elves have been hard […]

Leave a comment

Tddium Launches (with Riak and Spinach support)!

We’re proud to announce that Tddium is open to the public!   Read more in our first official press release. If you’re not already a Tddium user, sign up for a free trial at www.tddium.com, or install the Heroku Add-On. Even as we were putting the finishing touches on our launch, we added support for: Testing […]

Leave a comment

Psych isn’t Syck

Ruby 1.9.2 introduced a new YAML parser called psych, which in theory is better than syck, the existing parser.  Syck is the parser in 1.8.7 and REE and still the default in 1.9.2 but it is unmaintained.  Ideally, we’d be able to just switch over to psych with 1.9.2, but there are number of outstanding issues […]

2 Comments

Antilles: Testing CLIs that use Web Services

We’re happy to announce our first OSS release, the antilles gem! Antilles is a companion to aruba that makes it easier to test CLIs that use web services by spawning a local stub HTTP server.  It’s an alternative to fakeweb, for cases like aruba, where fakeweb can’t be used because the process being tested can’t have its network conveniently […]

Leave a comment

Testing Command-Line Gems with Cucumber and Aruba

Here at Solano Labs we package much of the code we deploy as gems. This includes the tddium command line interface as well as internal tools. As you would expect, we use a combination of RSpec and Cucumber to test these tools. We’ve found Cucumber and Aruba to be particularly useful tools for testing the […]

4 Comments

Rails Time Comparisons: Devil, Details, etc.

Have you ever seen an error in your code where two timestamps that are the same fail a comparison test? [sourcecode] 1) SomeController#update sets updated_at to current time Failure/Error: something.reload.updated_at.should == Time.now expected: 2011-08-04 15:09:26 +0000, got: Thu, 04 Aug 2011 15:09:26 UTC +00:00 (using ==) Diff: @@ -1,2 +1,2 @@ -2011-08-04 15:09:26 +0000 +Thu, […]

7 Comments