Mega Code Archive
Search
.Net
ASP .Net
ASP .Net Tutorial
C#
C# Book
C# by API
C# Tutorial
VB.Net
VB.Net by API
VB.Net Tutorial
Visual C++ .Net
VisualBasic Script
Java
Java
Java Book
Java by API
Java Tutorial
Script
Flash ActionScript
Flex
JavaScript DHTML
JavaScript Reference
JavaScript Tutorial
Database
MSSQL
MSSQL Tutorial
MySQL
MySQL Tutorial
Oracle PLSQL
Oracle PLSQL Tutorial
PostgreSQL
Languages
Android
C
C Tutorial
C++
C++ Tutorial
Delphi
Perl
PHP
Python
Python Tutorial
Ruby
Silverlight
Office
MSOfficeExcel 2007 Tutorial
MSOfficePowerPoint 2007 Tutorial
MSOfficeWord 2007 Tutorial
Data
XML
XML Tutorial
Ruby
Unit Test 14 codes
Home
Ruby
Unit Test
1 A test case for collection class
2 Add an assertion to test_basic thats certainly going to fail
3 Assert exception raised
4 Assert(boolean expression)
5 Assert_equal(expected, actual)
6 Assert_not_equal(expected, actual)
7 Structuring Tests
8 Test case setup
9 Test the values in an array
10 Testing Word Separation
11 The Philosophy of Test-Driven Development
12 Unit Testing
13 Varying the Algorithm with the Template Method
14 Writing Unit Tests