tbox - A test-driven learning sandbox creation tool
github.com/bobbyno/tbox/tree/master
More on Test-Driven Learning: www.bobbynorton.com/?p=36
DESCRIPTION:
Test-driven learning is a way to master a programming language by writing unit tests around its API’s, tbox lowers the barrier to entry for test-driven learning by providing a basic infrastructure in which to start coding: A directory structure, some classes and unit tests to get started, and a Rakefile to run all tests. For now, tbox is geared toward Ruby, though the technique is applicable to any language that lends itself to TDD.
INSTALL:
The tbox application is distributed as a RubyGem and is available immediately after installation.
$ gem sources -a http(colon)//gems.github.com
$ sudo gem install bobbyno-tbox
Alternately, download the gem and install manually from github.
BASIC USAGE:
Go to the folder where you want to create your new test sandbox, and run the tbox command to generate your test scaffolding.
$ cd ~/ruby_projects
$ tbox learning_ruby
$ rake
SYNOPSIS:
tbox is built using newgem. Although tbox was initially designed with Ruby and Test::Unit in mind, new generator scripts can easily be added to support other testing techniques in multiple languages. tbox can therefore become a starting point for test-driven learning in any language with any dependencies.
REQUIREMENTS:
-
newgem
CREDITS:
Bobby Norton, DRW Trading Group
Dr. Nic Williams for newgem and rubigen: RubyConf 2007 Presentation