Rough Cuts are manuscripts that are developed but not yet published, available through Safari. Rough Cuts provide you access to the very latest information on a given topic and offer you the opportunity to interact with the author to influence the final publication.
This is the Rough Cut version of the printed book.
Use Visual Studio 2010’s Breakthrough Testing Tools to Improve Quality Throughout the Entire Software Lifecycle
Together, Visual Studio 2010 Ultimate, Visual Studio Test Professional 2010, Lab Management 2010, and Team Foundation Server offer Microsoft developers the most sophisticated, well-integrated testing solution they’ve ever had. Now, Microsoft MVP and VS testing guru Jeff Levinson shows exactly how to use Microsoft’s new tools to save time, reduce costs, and improve quality throughout the entire development lifecycle.
Jeff demonstrates how Microsoft’s new tools can help you finally overcome long-standing communication, coordination, and management challenges. You’ll discover how to perform first-rate functional testing; quickly create and execute tests and record the results with log files and video; and create bugs directly from tests, ensuring reproducibility and eliminating wasted time. Levinson offers in-depth coverage of Microsoft’s powerful new testing metrics, helping you ensure traceability all the way from requirements through finished software.
Coverage includes
• Planning your tests using Microsoft Test Manager (MTM)
• Creating test settings, structuring test cases, and managing the testing process
• Executing manual tests with Microsoft Test Manager and Test Runner
• Filing and resolving bugs, and customizing your bug reporting process
• Automating test cases and linking automated tests with requirements
• Executing automated test cases through both Visual Studio and Microsoft Test Manager
• Integrating automated testing into the build process
• Using Microsoft’s Lab Management virtualization platform to test applications, snapshot environments, and reproduce bugs
• Implementing detailed metrics for evaluating quality and identifying improvements
Whether you’re a developer, tester, manager, or analyst, this book can help you significantly improve the way you work and the results you deliver—both as an individual right now, and as a team member throughout your entire project.
Foreword xvii
Preface xxi
Acknowledgments xxix
About the Author xxxi
1 State of Testing 1
Software Testing Challenges 1
The Need for Testers 3
A Different Approach 5
Fixing Communication 5
Increasing Project Visibility 6
What Are the Tools Designed to Do? 7
Metrics 10
Citations 12
2 Software Quality and Testing Overview 13
Software Quality 13
Requirements 14
Business Value 14
Expectations 15
Nonfunctional Requirements 15
Where Do You Build Quality? 17
Process and Quality 19
Software Testing 19
The Testing Mindset 20
Software Testing Strategies 21
Types of Software Testing 22
Test Management 27
After the Product Is Shipped or Deployed 27
3 Planning Your Testing 29
Microsoft Test Manager 30
Test Plans 36
Properties 38
Contents 43
Adding Suites and Test Cases to Your Plan 46
Testing Configurations 48
Managing Test Configurations 49
Assigning Test Configurations 51
Assigning Testers 53
Test Case Planning Workflow 55
Analysis and Initial Design 56
Construction 61
User Acceptance Testing 62
Common Scenarios 64
Scheduling and Tracking Test Case Creation and Execution 64
Feature Driven Development 65
Moving from One Iteration to Another 67
Handling Different Test Configurations 68
4 Executing Manual Tests 71
Using the Test Case Work Item Type 72
Shared Steps 75
Data Driven Test Cases (Test Parameters) 77
Running Your First Tests 79
Test Runner 80
Examining Test Results 92
Test Run Results 93
Detailed Test Results &
