万本电子书0元读

万本电子书0元读

顶部广告

Software Testing with Visual Studio Team System 2008电子书

售       价:¥

14人正在读 | 0人评论 9.8

作       者:N Satheesh Kumar

出  版  社:Packt Publishing

出版时间:2008-12-18

字       数:424.6万

所属分类: 进口书 > 外文原版书 > 电脑/网络

温馨提示:此类商品不支持退换货,不支持下载打印

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
An example testing scenario is set up, and used as reference for exploring the testing features available in Visual Studio Team System 2008. This is a concise practical guide that will help you learn testing your software applications using Visual Studio Team System 2008 quickly, with lot of examples and clear explanations. It is packed with screenshots to aid your understanding of the process. This book is for Microsoft developers working with Visual Studio 2008 who need to create a structured testing environment for their applications. No prior knowledge of testing is expected. The reader will need to be familiar with the standard Visual Studio 2008 environment, but anyone who has entered and compiled code in this environment before will easily follow what goes on.
目录展开

Software Testing with Visual Studio Team System 2008

Table of Contents

Software Testing with Visual Studio Team System 2008

Credits

About the Authors

Preface

What This Book Covers

What You Need for This Book

Who is This Book For

Conventions

Reader Feedback

Customer Support

Downloading the Example Code for the Book

Errata

Piracy

Questions

1. Visual Studio Team System 2008 Test Types

Software testing in Visual Studio Team System 2008

Testing as part of Software Development Life Cycle

Types of testing

Unit test

Manual test

Web tests

Load test

Ordered test

Generic test

Test management and new testing features in VS 2008

Team explorer

Team system testing tools introduction

Test view

Test list editor

Lists of tests

Test results

Code coverage results

Overview of XML files for testing tools in Visual Studio 2008

Summary

2. Unit Testing

Creating unit tests

Naming settings

General settings

Generated unit test code

Assert statements

Types of asserts

The assert class

Assert.AreEqual

Assert.AreNotEqual

Assert.AreSame

Assert.AreNotSame

Assert.Fail

Assert.Inconclusive

Assert.IsTrue

Assert.IsFalse

Assert.IsNull

Assert.IsNotNull

Assert.IsInstanceOfType

StringAsserts

StringAssert.Contains

StringAssert.Matches

StringAssert.DoesNotMatch

StringAssert.StartsWith

StringAssert.EndsWith

CollectionAssert

CollectionAssert.AllItemsAreNotNull

CollectionAssert.AreEquivalent

CollectionAssert.AreNotEquivalent

CollectionAssert.AllItemsAreInstancesOfType

CollectionAssert.IsSubsetOf

CollectionAssert.IsNotSubsetOf

CollectionAssert.AllItemsAreUnique

CollectionAssert.Contains

CollectionAssert.DoesNotContain

CollectionAssert.AreEqual

CollectionAssert.AreNotEqual

AssertFailedException

UnitTestAssertionException

ExpectedExceptionAttribute

Unit tests and generics

Data-driven unit testing

Unit testing an ASP.NET application

Unit testing web services

Code coverage unit test

Summary

3. Web Testing

Creating web test

Recording a test

Adding comments

Cleaning the recorded tests

Copying the requests

Web test editor

Web test properties

Web test request properties

Other request properties

Form post parameters

Query string parameters

Extraction rules

Validation rules

Transactions

Toolbar properties

Add data source

Set credentials

Add recording

Parameterize web server

Context parameters

Add web test plug-in

Add request plug-in

Performance session for the test

Debug/running web test

Settings for .testrunconfig file

General

Web test

Controller and agent

Code coverage

Test timeouts

Deployment

Hosts

Setup and cleanup scripts

Running the test

Web browser

Request

Response

Context

Details

Summary

4. Advanced Web Testing

Dynamic parameters in web testing

Coded web test

Creating a coded test from a recorded test

Transactions in coded test

Custom code

Adding comment

Running the coded web test

Debugging coded web test

Custom rules

Extraction rule

Validation rule

Testing web services

Summary

5. Load Testing

Creating load test

Load test wizard

Specifying scenario

Think time

Load pattern

Constant load

Step load

Test mix model and test mix

Based on the total number of tests

Based on the number of virtual users

Based on user pace

Browse mix

Network mix

Counter sets

Run settings

Threshold rules

Editing load tests

Adding context parameters

Results store

Running the load test

Running load test using rig

Working with test result and analyzing test results

Graphical view

Summary view

Table view

Exporting to Excel

Summary

6. Manual, Generic, and Ordered Tests

Manual tests

Manual test using text format

Manual test using Microsoft Word format

Running a manual test

Ordered tests

Creating an ordered test

Properties of an ordered test

Executing an ordered test

Generic tests

Creating a generic tests

Summary results file

Properties of a generic test

Summary

7. Managing and Configuring the Test

Managing tests using test lists

Organizing test list

Test view

Enabling/disabling tests

Toolbar options

Filtering tests

Group By

Configuring tests

Test run configuration

General

Controller and agent

Code coverage

Deployment

Hosts

Setup and cleanup scripts

Test timeouts

Web test

Editing test run configuration file

Editing the deployment section

Editing the code coverage

Test properties

Summary

8. Deploying and Running Tests

Local deployment

Remote deployment

Deploy additional files

Using deploymentItem attribute

Deploy items for individual test

Deployment order

Running tests

Run and rerun a test

Pause, resume, and stop a test run

Schedule test run

Summary

9. Command Line

MSTest utility

Running a test from the command line

/testcontainer

/testmetadata

/test

/unique

/noisolation

/runconfig

/resultsfile

/noresults

/nologo

/detail

Publishing test results

/publish

/publishbuild

/flavor

/platform

/publishresultsfile

Trace files

Publishing

Step 1: Create test project

Step 2: Running the test

Step 3: Create Build

Step 4: Build Project

Step 5: Publish Result

Summary

10. Working with Test Results

Test results

Test as part of Team Foundation Server build

Build report and test result

Code coverage

Build report with failed test

Stack trace

Creating Work Item from the result

Publish test results

Summary

11. Reporting

TFS reports for testing

Bugs

Bug rates

Bugs by priority

Bugs found without corresponding tests

Testing progress and effectiveness of reports

Regression

Tests passing with active bugs

Tests failing without active bugs

Load test summary

Creating new report

Report server project

Create a new report in Excel

Customizing report

Summary

Index

累计评论(0条) 0个书友正在讨论这本书 发表评论

发表评论

发表评论,分享你的想法吧!

买过这本书的人还买过

读了这本书的人还在读

回顶部