1. Tech

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 ...
http://ruby.about.com/od/testdrivendevelopment/ss/Unit-Testing-With-Minitest-Basic-Assertions.htm
Test Driven Development in Ruby--Assertions - 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 ...
http://ruby.about.com/od/testdrivendevelopment/qt/assertions.htm
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 ...
http://ruby.about.com/od/testdrivendevelopment/ss/Unit-Testing-With-Minitest-More-Assertions.htm
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 ...
http://ruby.about.com/od/testdrivendevelopment/qt/tddterms.htm
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 ...
http://ruby.about.com/od/testdrivendevelopment/ss/Unit-Testing-With-Minitest.htm
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.
http://ruby.about.com/od/testdrivendevelopment/ss/Unit-Testing-With-Minitest-Specs.htm
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)
http://delphi.about.com/library/rtl/blrtlAssert.htm
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 ...
http://ruby.about.com/od/testdrivendevelopment/
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 ...
http://ruby.about.com/od/testdrivendevelopment/a/tddcode.htm
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.
http://ruby.about.com/od/simplecov/ss/Simple-Code-Metrics-In-Ruby-With-Simplecov.htm
1  |  2  |  3  |  4  |  5  |  6  |  7  |  8  |  9  |  10      Next

©2014 About.com. All rights reserved.