
Software Testing using Visual Studio 2012.
Title:
Software Testing using Visual Studio 2012.
Author:
Subashni, S.
ISBN:
9781849689557
Personal Author:
Edition:
1st ed.
Physical Description:
1 online resource (460 pages)
Contents:
Cover -- Copyright -- Credits -- About the Authors -- About the Reviewers -- www.PacktPub.com -- Table of Contents -- Preface -- Chapter 1: Visual Studio 2012 Test Types -- Software testing in Visual Studio 2012 -- Testing as part of Software Development Life Cycle -- Types of testing -- Unit testing -- Manual testing -- Exploratory testing -- Web performance tests -- Coded UI Test -- Load testing -- Ordered test -- Generic test -- Test management in Visual Studio 2012 -- Introduction to testing tools -- Test Explorer -- Code coverage results -- Microsoft Test Manager -- Connecting to Team Project -- Test Plans, suites, and test cases -- Defining test cases -- Lab Center -- Summary -- Chapter 2: Test Plan, Test Suite, and Manual Testing -- Test Plan -- Test Suite and its types -- Static Test Suites -- Query-based Test Suites -- Requirement-based Test Suites -- Running manual tests -- Action recording -- Shared steps and action recording for shared steps -- Creating shared steps -- Action recording for shared steps -- Adding parameters to manual tests -- Summary -- Chapter 3: Automated Tests -- Coded UI tests from action recordings -- Files generated for coded UI test -- CodedUITest1.cs -- UIMap.Designer.cs -- UIMap.cs -- UiMap.uitest -- Data-driven coded UI test -- Adding controls and validation to coded UI test -- Summary -- Chapter 4: Unit Testing -- Creating unit tests -- Assert statements -- Types of Asserts -- Assert -- StringAsserts -- CollectionAssert -- AssertFailedException -- UnitTestAssertionException -- ExpectedExceptionAttribute -- Unit Tests and Generics -- Data-driven unit testing -- Unit Testing using Fakes -- Stubs -- Shims -- Difference between Stubs and Shims -- Code coverage unit test -- Blocks and lines -- Excluding elements -- Summary -- Chapter 5: Web Performance Test -- Creating the web performance test.
Recording a test -- Adding comments -- Cleaning the recorded tests -- Copying the requests -- Adding Loops -- Web performance test editor -- Web test properties -- Web test request properties -- Other request properties -- Form POST Parameters -- QueryString parameters -- Extraction rules -- Validation rules -- Transactions -- Conditional rules -- Toolbar properties -- Add data source -- Setting credentials -- Add recording -- Parameterize web server -- Adding a web test plug-in -- Debugging and running the web test -- Settings in the .testsettings file -- General -- Roles -- Data and Diagnostics -- Deployment -- Setup and Cleanup Scripts -- Hosts -- Test Timeouts -- Unit Test -- Web Test -- Running the test -- Web Browser -- Request -- Response -- Context -- Details -- Summary -- Chapter 6: Advanced Web Testing -- Dynamic parameters in web testing -- Coded web test -- Generating code from a recorded test -- Transactions in coded tests -- Custom code -- Adding a comment -- Running the coded web test -- Debugging coded web test -- Custom rules -- Extraction rules -- Validation rules -- Summary -- Chapter 7: Load Testing -- Creating a Load Test -- Load Test Wizard -- Specifying a scenario -- Counter sets -- Run Settings -- Editing Load Tests -- Adding context parameters -- Storing results in central result store -- Running the Load Test -- Analyzing and exporting Test Results -- Graphical view -- Summary view -- Tables view -- Detail view -- Exporting to Microsoft Excel -- Using Test Controller and Test Agents -- Test Controller and Test Agent Configuration -- Summary -- Chapter 8: Ordered and Generic Tests -- Ordered tests -- Creating an ordered test -- Executing an ordered test -- Generic tests -- Creating a generic test -- The summary results file -- Summary -- Chapter 9: Managing and Configuring Tests -- Using Test settings -- The General option.
The Roles option -- Data and Diagnostics -- The Deployment section -- Setup and Cleanup Scripts -- The Hosts option -- The Test Timeouts option -- The Unit Test option -- Editing the test run configuration file -- The Web test option -- Configuring unit tests using the .runsettings file -- Summary -- Chapter 10: A Command Line -- VSTest.Console utility -- Running tests using VSTest.Console -- The /Tests option -- The /ListTests option -- MSTest utility -- Running a test from the command line -- The /testcontainer option -- The /testmetadata option -- The /test option -- The /unique option -- The /noisolation option -- The /testsettings option -- The /resultsfile option -- The /noresults option -- The /nologo option -- The /detail option -- Publishing Test Results -- The /publish option -- The /publishbuild option -- The /flavour option -- The /platform option -- The /publishresultsfile option -- Step 1 - create/use existing test project -- TCM command line utility -- Importing tests to a Test Plan -- Running tests in a Test Plan -- Summary -- Chapter 11: Working with Test Results -- Test runs and test results -- Test as part of the Team Foundation Server build -- Building report and test result -- Creating a work item from the result -- Summary -- Chapter 12: Exploratory Testing and Reporting -- Exploratory testing -- Reports using Team Foundation Server -- Bug status report -- Test case readiness report -- Status on all iterations -- Other out-of-the-box reports -- Creating a report definition using Visual Studio 2012 -- Summary -- Chapter 13: Test and Lab Center -- Connecting to Team Project -- Testing Center -- Testing Center - Plan tab -- Testing Center - Test tab -- Test Center - Track tab -- Test Center - Organize tab -- Lab Center -- Environments -- Deployed environments -- Summary -- Index.
Abstract:
We will be setting up a sample test scenario, then we'll walk through the features available to deploy tests.This book is for developers and testers who want to get to grips with Visual Studio 2012 and Test Manager for all testing activities and managing tests and results in Team Foundation Server. It requires a minimal understanding of testing practices and the software development life cycle; also, some coding skills would help in customizing and updating the code generated from the web UI testing.
Local Note:
Electronic reproduction. Ann Arbor, Michigan : ProQuest Ebook Central, 2017. Available via World Wide Web. Access may be limited to ProQuest Ebook Central affiliated libraries.
Genre:
Added Author:
Electronic Access:
Click to View