Page 26 : 35
Object-oriented Programming in C#
Test of Object-oriented Programs
* Program Testing in General
Introduction to Program Testing
Overview of Program Testing
Testability
Test Utopia
From Program Test to Program Proof
* White Box Testing
White box testing
Basis Path Testing
Cyclomatic Complexity - flow chart
Cyclomatic Complexity - flow graph
Cyclomatic Complexity - Metric and Test Cases
* Black Box Testing
Black box testing
Input to a Black Box Test
Example of Equivalence Partitioning (1)
Example of Equivalence Partitioning (2)
Regression testing
* Unit Test of Object-oriented Programs
Test Units
Unit Testing
A Unit Test example in C# (1)
A Unit Test example in C# (2)
NUnit for C#
NUnit Attributes
NUnit Assertions
Unit Test Concepts
Another Unit Test example in C#
Unit test of struct Interval
Test Scaffolding
The Background and Context of Unit Testing
Test of Object-oriented programs
Test Driven Development
Unit Test Recommendation
Test Recommendations in your Project
NUnit Assertions
Assert.AreEqual(expected, actual)
18 overloads. With/without message, tolerance, object params
Assert.AreNotEqual(expected, actual)
18 overloads. With/without: message
Assert.AreSame(expected, actual)
references to same object?
3 overloads. With/without: message, object params
Assert.NotSame(expected, actual)
3 overloads. With/without: message, object params
Assert.Contains(object, anIList)
3 overloads. With/without: message, object params
Assert.Greater(arg1, arg2)
18 overloads. With/without: message, object params
Assert.Less(arg1, arg2)
18 overloads. With/without: message, object params
Assert.IsInstanceOfType(Type, object)
3 overloads. With/without: message, object params
Assert.IsNotInstanceOfType(Type, object)
3 overloads. With/without: message, object params
Assert.IsAssignableFrom(Type, object)
3 overloads. With/without: message, object params
Assert.IsNotAssignableFrom(Type, object)
3 overloads. With/without: message, object params
Assert.IsTrue(aBool)
3 overloads. With/without: message, object params
Assert.IsFalse(aBool)
3 overloads. With/without: message, object params
Assert.IsNaN(aDouble)
3 overloads. With/without: message, object params
Assert.IsEmpty(aString)
3 overloads. With/without: message, object params
Assert.IsEmpty(anICollection)
3 overloads. With/without: message, object params
Assert.IsNotEmpty(aString)
3 overloads. With/without: message, object params
Assert.IsNotEmpty(anICollection)
3 overloads. With/without: message, object params
Assert.Fail()
3 overloads. With/without: message, object params
StringAssert.Contains(expectedString, actualString)
3 overloads. With/without: message, object params
StringAssert.StartsWith(expectedString, actualString)
3 overloads. With/without: message, object params
StringAssert.EndsWith(expectedString, actualString)
3 overloads. With/without: message, object params
StringAssert.AreEqualIgnoringCase(expectedString, actualString)
3 overloads. With/without: message, object params
Consult the NUnit documentation for the full and exact set of Assertions