2013
Pluralsight
Jason Roberts
3h 15m
English
We shouldn't live in fear of our code. Long-term customer satisfaction, product agility, and developer happiness are crucial. A quality suite of automated tests helps achieve this. This practical course covers how and what to test at the unit, integration, and functional UI levels; and how to bring them all together with continuous integration build server.
Introduction to Software Testing
Why Automated Testing?
Automated Versus Manual Testing
Different Types of Automated Tests
Course Structure
Unit Testing - Testing in Isolation
Module Overview
Introducing Unit Testing
Good Practices
What Makes a Good Unit Test?
The Three Conceptual Phases of a Test
Examples of Bad Unit Tests
Introducing Testing Frameworks
NUnit Fundamentals
Demo: Writing and Running Your First NUnit Unit Test
Advanced NUnit
TDD and Unit Testing
State-based and Interaction-based Unit Tests
Testing in Isolation using Fakes
Demo: State-based Testing with Moq
Demo: Interaction-based Testing with Moq
Demo: State-based Testing with Configured Moq Behaviour
Module Summary
Integration Testing
Module Overview
Introducing Integration Testing
Good Practices
Different Levels of Integration Testing
The Importance of Dependency Inversion
Testing Internal Classes Work Together
Demo: Testing Internal Classes Work Together
Testing External Component Interaction
Isolating External Components with the Gateway Design Pattern
Demo: Testing External Component Interaction
Testing Internal Logical Subsystems
Demo: Testing Internal Logical Subsystems
Testing Internal Application Service Layer
Demo: Testing Internal Application Service Layer
Demo: Refactoring the Subsystem Test
The Right Mix of Integration Tests
Module Summary
Functional UI Testing
Module Overview
Introducing Functional UI Testing
Choosing a UI Automation Tool
Introducing the WatiN Web Application Testing Framework
WatiN Fundamentals
Demo: Writing Our First Functional UI Test with WaitN
The Physical Object Model (POM) Style
The Logical Functional Model (LFM) Style
Demo: Creating POM Style Tests
Demo: Refactoring to LFM
Advanced Considerations
Module Summary
Putting it all Together with a Continuous Integration Server
Module Overview
Introduction to Continuous Integration
What’s a Build Pipeline?
Our Build Pipeline: Overview
Introducing the TeamCity Build Server
Our Build Pipeline: Phase One
Demo: Pipeline Phase One - Building the Banking Site
Demo: Pipeline Phase One - Running Unit Tests
Demo: Pipeline Phase One - Running Integration Smoke Tests
Demo: Pipeline Phase One - Deploying Banking Site to Test Server
Demo: Pipeline Phase One - Running UI Smoke Tests
Our Build Pipeline: Phase Two
Demo: Pipeline Phase Two - Running Full Integration Tests
Our Build Pipeline: Phase Three
Demo: Pipeline Phase Three - Running Full UI Tests
Advanced Considerations
Module Summary
http://pluralsight.com/training/Courses/Description/automated-testing-end-to-end
Download File Size:568.81 MB