Articles related to test assertions
Unit Testing with Minitest: Basic Assertions - Ruby - About.com
But this is not very helpful, if an assertion fails it should always give a useful message. Remember that one of the things test-driven development seeks to combat ...
Test Driven Development in Ruby--Assertions - About.com
The Test::Unit library comes with a variety of assertions to make writing tests much easier. However, since all the assertions follow the same pattern and do more ...
Unit Testing with Minitest: More Assertions - Ruby - About.com
While you can get by with just the two basic assertions (or really just assert), Minitest offers a range of semantic assertions that will make your unit tests read ...
Unit Testing with MiniTest - Ruby - About.com
Basic Assertions - At the core of any unit test is an assertion. An assertion declares a premise should (if the program is functioning properly) be either true ( using ...
Test-Driven Development - Ruby - About.com
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 ...
Assert function - Delphi - About.com
Delphi's Assert function. Use Assert as a debugging tool to test that certain conditions are always True (as assumed)
Say What? Making Sense of Common Terms in Test-Driven ...
Each of the methods starting with test are the test methods. Test methods manipulate the objects to be tested and run a number of assertions on them, which will ...
Test Driven Development in Ruby -- Writing Code - About.com
The first test, with the name test_full_name asserts that the method full_name returns the correct string. The assert_equal is the basic assertion used in most tests ...
Unit Testing with Minitest: Specs - Ruby - About.com
While the basic assertions are fine, the more semantic, almost English-like spec syntax is much more attractive.
Running the Test - Ruby - About.com
2 tests, 2 assertions, 1 failures, 0 errors rake aborted! Command failed with status (1): [/usr/bin/ruby1.8 -Ilib:test "/usr/lib/ruby...] (See full trace by running task with ...