You are on page 1of 11

tddium

Take the tedium out of your tests!

Monday, May 16, 2011


Why tddium?
• TDD and BDD work, but...
• Setting up a test environment takes time
• Slow tests break development flow
• Unmaintained test envs fail often
‣ Net: run more tests, quicker, with
less setup

Monday, May 16, 2011


What Is tddium?
• Tddium is:
• A gem that installs a command line tool
• A hosted test execution environment
• Tests automatically
• run in private, fresh VMs
• run in parallel
• have access to databases and other services

Monday, May 16, 2011


Supported

• rspec 1 & 2, cucumber, test::unit


• rails 2 & 3 on ruby 1.8.7 and 1.9.2
• Postgres DBs and Selenium RCs (Linux/
firefox)

Monday, May 16, 2011


Roadmap
• DBs: MySQL, Redis, Mongo
• Front-end: WebDriver, Test::Right,
Headless WebKit
• Hosted CI
• Test Generation
‣ Potential: adapt KissMetrics, GA hooks to
generate front-end testing scripts

Monday, May 16, 2011


Tddium Demo

• Tddium API server is a Rails 3 app


• Running our own test suite
• 19 cucumber features
• Run 6 at a time, in parallel, against live DBs

Monday, May 16, 2011


dev/CI box Cloud

REST

lts

co
API
su

nt
ro
re

l
tddium test
Tests
testrun
gem VMson
VMs
VMs
co

de
de

git

co

Monday, May 16, 2011


Security
• Security is our top priority
• Your code and test results are only
accessible to you, or to VMs private to you
• API server can’t read git repo
• Test VMs have limited access to API server
• All transactions are secured with SSL/SSH
Monday, May 16, 2011
Back to Demo

Monday, May 16, 2011


Requirements

• git for syncing code and tests


• bundler for creating environments
• rake for setup hooks

Monday, May 16, 2011


Use It!
• We’re looking for more preview customers
• Your feedback is essential on:
• databases (mongo, redis, membase, riak)
• pricing models

‣ Email info@tddium.com
‣ Sign up at www.tddium.com
‣ Follow @tddium on Twitter
Monday, May 16, 2011

You might also like