%UnitTest Tutorial Unit Testing Overview What is a Unit Test? Why Unit Test? xUnit Testing Frameworks Structure of %UnitTest and xUnit Frameworks Test Automation Test First Methodology Red – Green – Refactor Recap Unit Testing with %UnitTest What is %UnitTest? Creating and Executing a Suite of Unit Tests %UnitTest Classes Assert Methods and Macros Creating Classes to Use in the Examples Example: Creating a Test Class Example: Executing a Test Example: UnitTest Portal Example: Viewing the Report in the Unit Test Portal Setup and Tear Down Example: Adding Setup and Tear Down Methods to a Test Example: Executing a Test Using Setup and Tear Down Methods Options for Executing Tests: Test Specs and Qualifiers RunTest Examples DebugRunTestCase Exercises Recap