1. Technology

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)
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.
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 ...
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 ...
Simple Code Metrics - Ruby - About.com
A set of unit tests will test each and every branch of every conditional in your code. ... Finished tests in 0.022788s, 131.6482 tests/s, 87809.3734 assertions/s.
1  |  2  |  3  |  4  |  5  |  6  |  7  |  8  |  9  |  10      Next

©2014 About.com. All rights reserved.