What is Test-Driven Development in Ruby?
You may have heard of Test-Driven Development, but what does it really mean? Learn the reasons for using TDD and the features of it.
Say What? Making Sense of Common Terms in Test-Driven Development
There's a lot of technical terminology surrounding Test Driven Development. Here's a glossary of common terms used in TDD (and specifically in Test::Unit) that you should know.
Test Driven Development in Ruby--Assertions
The Test::Unit library comes with a variety of assertions to make writing tests much easier. Learn what the assertions are for Test-Driven Development and when to use them.
Test Driven Development in Ruby -- Writing Code
Learn to start writing Ruby code using Test-Driven Development.
Test Driven Development in Ruby--The Tests
Making tests pass in Test-Driven Development is the whole point. So how do you make that happen?
Test Driven Development in Ruby--Adding More Features
Test Driven Development isn't complete with just one test, so it's important to know how to add more features.
Test Driven Development in Ruby--Refactoring in Test Driven Developmen
It's time to make changes that will affect significant portions of your Ruby code. That's called refactoring in Test Driven Development.
Test Driven Development in Ruby--Test Suites
Grouping your test cases into test suites.
Unit Testing with MiniTest
The very capable library called MiniTest is the default unit testing library in all versions of Ruby 1.9.x and newer.
Unit Testing with Minitest: Basic Assertions
Test-driven development is easy in Ruby with its built in Minitest library.
Unit Testing with Minitest: More Assertions
MiniTest provides a variety of assertions to use in your unit tests.
Unit Testing with Minitest: Specs
While the normal assertions carried over from Test::Unit are fine, MiniTest also includes an RSpec-like syntax that's much more readable.