==========================================================================
Visual Studio Team System: Overview of Authoring and Running Tests
==========================================================================
This overview describes the features for authoring and running tests in
Visual Studio Team System and Visual Studio Team Edition for Software Testers.
Opening Tests
-------------
To open a test, open a test project or a test metadata file (a file with
extension .vsmdi) that contains the definition of the test. You can find
test projects and metadata files in Solution Explorer.
Viewing Tests
-------------
To see which tests are available to you, open the Test View window. Or,
if you have installed Team Edition for Software Testers, you can also open
the Test Manager window to view tests.
To open the Test View window, click the Test menu, point to Windows, and
then click Test View. To open the Test Manager window (if you have
installed Team Edition for Software Testers), click Test, point to Windows,
and then click Test Manager.
Running Tests
-------------
You can run tests from the Test View window and the Test Manager window.
See Viewing Tests to learn how to open these windows. To run one or more
tests displayed in the Test View window, first select the tests in that
window; to select multiple tests, hold either the Shift or CTRL key while
clicking tests. Then click the Run Tests button in the Test View window
toolbar.
If you have installed Visual Studio Team Edition for Software Testers, you can
also use the Test Manager window to run tests. To run tests in Test Manager,
select the check box next to each test that you want to run. Then click the
Run Tests button in the Test Manager window toolbar.
Viewing Test Results
--------------------
When you run a test or a series of tests, the results of the test run will be
shown in the Test Results window. Each individual test in the run is shown on
a separate line so that you can see its status. The window contains an
embedded status bar in the top half of the window that provides you with
summary details of the complete test run.
To see more detailed results for a particular test result, double-click it in
the Test Results window. This opens a window that provides more information
about the particular test result, such as any specific error messages returned
by the test.
Changing the way that tests are run
-----------------------------------
Each time you run one or more tests, a collection of settings is used to
determine how those tests are run. These settings are contained in a “test
run configuration” file.
Here is a partial list of some of the changes you can make with a test run
configuration file:
- Change the naming scheme for each test run.
- Change the test controller that the tests are run on so that you can run
tests remotely.
- Gather code coverage data for the code being tested so that you can see
which lines of code are covered by your tests.
- Specify additional files to deploy before tests are run.
- Select a different host, ASP.NET, for running ASP.NET unit tests.
- Set various properties for the test agents that run your tests.
- Run custom scripts at the start and end of each test run so that you can
set up the test environment exactly as required each time tests are run.
- Set time limits for tests and test runs.
- Set the browser mix and the number of times to repeat Web tests in the
test run.
By default, a test run configuration file is created whenever you create a
new test project. You make changes to this file by double-clicking it in
Solution Explorer and then changing its settings. (Test run configuration
files have the extension .testrunconfig.)
A solution can contain multiple test run configuration files. Only one of
those files, known as the “Active” test run configuration file, is used to
determine the settings that are currently used for test runs. You select
the active test run configuration by clicking Select Active Test Run
Configuration on the Test menu.
-------------------------------------------------------------------------------
Test Types
----------
Using Visual Studio Team Edition for Software Testers, you can create a number
of different test types:
Unit test: Use a unit test to create a programmatic test in C++, Visual C# or
Visual Basic that exercises source code. A unit test calls the methods of a
class, passing suitable parameters, and verifies that the returned value is
what you expect.
There are two specialized variants of unit tests:
- Data-driven unit tests are created when you configure a unit test to be
called repeatedly for each row of a data source. The data from each row
is used by the unit test as input data.
- ASP.NET unit tests are unit tests that exercise code in an ASP.NET Web
application.
Web Test: Web tests consist of an ordered series of HTTP requests that you
record in a browser session using Microsoft Internet Explorer. You can have
the test report specific details about the pages or sites it requests, such
as whether a particular page contains a specified string.
Load Test: You use a load test to encapsulate non-manual tests, such as
unit, Web, and generic tests, and then run them simultaneously by using
virtual users. Running these tests under load generates test results,
including performance and other counters, in tables and in graphs.
Generic test: A generic test is an existing program wrapped to function as a
test in Visual Studio. The following are examples of tests or programs that
you can turn into generic tests:
- An existing test that uses process exit codes to communicate whether the
test passed or failed. 0 indicates passing and any other value indicates
a failure.
- A general program to obtain specific functionality during a test scenario.
- A test or program that uses a special XML file (called a “summary results
file”), to communicate detailed results.
Manual test: The manual test type is used when the test tasks are to be
completed by a test engineer as opposed to an automated script.
Ordered test: Use an ordered test to execute a set of tests in an order you
specify.
-------------------------------------------------------------------------------
没有合适的资源?快使用搜索试试~ 我知道了~
现代教务管理系统源码.zip
共560个文件
cs:130个
scc:77个
dll:64个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
5星 · 超过95%的资源 1 下载量 33 浏览量
2022-06-19
15:12:49
上传
评论
收藏 8.57MB ZIP 举报
温馨提示
现代教务管理系统源码.zip
资源推荐
资源详情
资源评论
收起资源包目录
现代教务管理系统源码.zip (560个子文件)
Global.asax 712B
Navigation.ascx 487B
Navigation.ascx 385B
Navigation.ascx 373B
Navigation.ascx 373B
Footer.ascx 365B
Footer.ascx 365B
Footer.ascx 365B
Footer.ascx 365B
AddTeacher.aspx 14KB
SetChooseCourse.aspx 13KB
SelfInf.aspx 13KB
SelfInf.aspx 12KB
AddStudent.aspx 12KB
TeachCourseTable.aspx 10KB
AddCourse.aspx 9KB
OtherSPChooseCourse.aspx 8KB
ChooseCourse.aspx 7KB
AddCollege.aspx 7KB
QueryScore.aspx 7KB
ChooseCourseInf.aspx 6KB
AddSpeciality.aspx 6KB
AddClass.aspx 6KB
SelfInf.aspx 6KB
TeachList.aspx 6KB
AddAffiche.aspx 5KB
PwdManager.aspx 5KB
UpdateAffiche.aspx 5KB
SetUserPwd.aspx 5KB
Login.aspx 5KB
ChangePwd.aspx 5KB
ChangePwd.aspx 5KB
ChangePwd.aspx 5KB
ViewStudentChoose.aspx 5KB
Specialities.aspx 4KB
PlanCourse.aspx 4KB
Students.aspx 4KB
JoinScores.aspx 4KB
Classes.aspx 4KB
AfficheInf.aspx 4KB
Courses.aspx 4KB
Default.aspx 3KB
Teachers.aspx 3KB
Colleges.aspx 3KB
AfficheDetails.aspx 3KB
AfficheDetails.aspx 3KB
AfficheDetails.aspx 3KB
Default.aspx 3KB
Default.aspx 3KB
AfficheDetails.aspx 3KB
Default.aspx 3KB
DownLoadFile.aspx 460B
DownLoadFile.aspx 460B
DownLoadFile.aspx 460B
DownLoadFile.aspx 460B
Default.aspx 459B
AfficheInf.aspx 458B
AfficheInf.aspx 458B
Loginout.aspx 449B
Loginout.aspx 449B
Loginout.aspx 449B
AddCourseLibrary.aspx 313B
AddPlanCourse.aspx 307B
CourseTable.aspx 294B
ViewScore.aspx 290B
TeachInf.aspx 288B
ResolveAssemblyReference.cache 47KB
ResolveAssemblyReference.cache 16KB
ResolveAssemblyReference.cache 9KB
ResolveAssemblyReference.cache 8KB
ResolveAssemblyReference.cache 4KB
SQLServer.cd 3KB
IDAL.cd 2KB
BLL.cd 2KB
ClassDiagram1.cd 2KB
ClassDiagram1.cd 703B
ClassDiagram1.cd 420B
ClassDiagram1.cd 411B
web.config 3KB
Web.config 611B
Web.config 607B
Web.config 607B
web.config 254B
web.config 221B
OracleBaseDb.cs 14KB
Course.cs 13KB
SqlServerBaseDb.cs 12KB
Department.cs 10KB
Department.cs 10KB
Course.cs 8KB
TeacherInf.cs 7KB
CourseInf.cs 6KB
Teacher.cs 6KB
StudentInf.cs 6KB
Affiche.cs 6KB
Student.cs 5KB
OtherSPChooseCourse.aspx.cs 5KB
Teacher.cs 5KB
Student.cs 5KB
AfficheInf.cs 5KB
共 560 条
- 1
- 2
- 3
- 4
- 5
- 6
资源评论
- 壹号仔2023-01-05感谢大佬分享的资源,对我启发很大,给了我新的灵感。
programxh
- 粉丝: 17
- 资源: 1万+
下载权益
C知道特权
VIP文章
课程特权
开通VIP
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 基于python的机械设计实用计算器,可计算电动机,传动装置,V带轮,齿轮,轴,轴承的几何或者力,运动学参数数值+源码+开发文档
- 基于HTML +JavaScript的元旦倒计时代码.docx
- 【Unity资源免费分享】孩子益智小游戏unity 5x系列Baby Doll House Cleaning
- 【资源免费分享】集市游戏(uniyt案例)
- 数据整理结果 2023-12-7 192544 6.dta
- 5.22前端基础(2)
- 糖尿病风险因素分析数据
- matlab项目源码基于matlab的声源定位广义互相关算法的实现.zip
- 基于Go的Dory-Engine应用上云引擎命令行客户端设计源码
- dotnet-core-uninstall-1.7.521001 github上下载下来,从github下载不下来时,可以使用这
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功