TestLink 1.7.0 笔记/TestLink 1.7.0 Notes

 

1/Overview

2.工作流/Workflow

3.安装和配置/Installation and Configuration

 

 

1.概述/Overview

 

1.1 TestLink是什/What is TestLink?

 

使用TestLink可以容易的建和管理测试用例,且可以使用测试计划来组织测试用例。使用测试计划可以使测试员动态测试用例和跟踪测试结果,生成测试报告,跟踪件需求,区别优先次序和指派测试

TestLink enables easily to create and manage Test cases as well as organize them into Test plans. These Test plans allow team members to execute Test cases and track test results dynamically, generate reports, trace software requirements, prioritize and assign tasks

 

TestLink是基于Web测试管理系,后台使用MySQL, Postgres或者MS-SQLTestLink可以和Bugzilla, MantisJIRA等缺陷跟踪系集成使用

TestLink is web based Test Management system. Furthermore background database use MySQL, Postgres or MS-SQL. It cooperates with known bug tracking systems as Bugzilla, Mantis and JIRA, etc.

 

1.2 结构/Overall Structure

 

TestLink主要由测试产品,测试计划和用部分成。其他的据均是与这三部分相或者以三部分

There are three cornerstones: Test Project, Test Plan and User. All other data are relations or attributes for this base

 

A>测试产TestLink中必需要存在的部分,的整生命周期中经历很多不同的版本。测试项目包括含有测试用例的测试规范,件需求和关键字。用测试产中有指定的角色

Test Project is something that will exist forever in TestLink. Test project will undergo many different versions throughout their lifetimes. Test project includes Test specification with Test cases, Requirements and Keywords. Users within the Test project has defined role

 

B>当执测试用例需要建立测试计划测试计划可以由一或多个测试产中的测试用例测试计划包括,里程碑,测试指派和测试结

Test Plan is created when you'd like to execute Test cases. Test plan can be made up of the Test cases of one or many Test projects. Test Plan includes Builds, Milestones, Test assignment and Test results

 

C>可以通过账户设修改自己的信息。TestLink具有管理员权的用在系修改

Every user on the system will also be able to edit them self information via the account settings window. TestLink allows users with administrator rights to create, edit, and delete users within the system

 

 

2. 工作流/Workflow

 

2.1 创建测试产品/Create Test Projects

 

测试产品是TestLink的基。一公司的品版本的会随时间的推移改一些特性和功能,但是大部分的特性和功能是基本不

Test projects are the cornerstone of TestLink. Test projects are releases of your company that may change their features and functionality over time but for the most part remain the same

 

有管理员权限的用可以建、修改和测试产品。如果测试产品已经废弃不用,同样权限的用可以将测试产非活动状态测试产品的操作除相据,而且除操作不可逆,建使用置非活动状态代替除操作

Test projects can be created, edited and deleted requires user has administrator rights. User with the privileges also can inactivate the Test project if it's obsolete. The delete action deletes also all related data from database. This action is not reversible. We strongly recommend to use inactivate instead of delete

 

/Steps

Home>Test Project Management>Create New Test Project: Setting Name, Related Notes etc.

 

2.2 和角色/Create Users and Roles

 

TestLink具有管理员权限的用在系建、修改和除用如此,TestLink不允具有管理员权限的用修改用。系中的用可以修改自己的信息

TestLink allows users with administrator rights to create, edit, and delete users within the system. However, TestLink does not allow administrators to view or edit user's passwords. Every user on the system will be able to edit them information

 

TestLink建立了六不同的默认权级别了用角色。管理具有在TestLink中适修改据的限。每户仅能被指派其中的一角色

TestLink is built with 6 different default permission levels built in. There are predefined user roles. Administrator gives appropriate ability to modify data within TestLink. Each user has assigned just one of these roles

 

级别如下

These permission levels are as follows:

访客:测试用例和品度量的

Guest: a Guest only has permission to view Test cases and project metrics

测试行指派测试用例

Tester: a Tester only has permissions to run Test cases assigned to them

级测试:具有浏览建、修改除或者测试用例

Senior Tester: a Senior Tester can view, create, edit, and delete Test cases as well as execute them

测试设计者:测试规范和需求有完全

Test Designer: a Test Designer can fully work with Test specification and Requirements

主管:除了具有以上所有测试限之外,同可管理测试计划、指派限、建里程碑和管理关键

Leader: a Leader has all of the same permissions as a Tester but also gains the ability to manage Test plans, assign rights, create milestones, and manage keywords

管理:除了具有主管的限之外,同可以管理测试产品和用

Admin: an Admin has all of the same permissions as a Leader but gains the ability to manage Test projects and Users

 

/Steps

Home>User Administration>User Management

Home>User Administration>Role Management

 

2.3 基于测试的需求/Create Requirements Based Testing

 

测试使用基于测试的需求来证是否指定的需求。每一需求,设计开发出一或多个测试用例。在测试执行的最后段,测试经将报测试执行的情以及需求的覆盖率。基于信息由客户决定系移到下一个测试阶是投入使用

To prove that a system is built as specified, testers use requirement based testing. For every requirement, they design one or more Test cases. At the end of the test execution a test manager reports on the tests that are executed and the requirements that are covered. Based on this information the clients decide whether a system can be transferred to the next test phase or can go live

 

需求和相关对象之间的关系/Dependencies between requirements related objects

 

 

可以指派多个测试用例对应需求,也可以指派多需求被同一个测试用例所覆盖

User can assign more test cases to one requirement and more requirements could be covered by one test case

 

(确保在测试产已激活需求功能模/Steps (Make sure you have activate the Enable Requirement Functionality when create Test project)

Home>Requirements>Requirement Specification>Create>Setting Title, Scope etc.

 

2.4 关键(可)和自定义区(可/Create Keyword (Optional) and Custom Fields (Optional)

 

关键字的建可以使得用在另一个层次上对测试行分关键字可以在测试规范之内对测试用例的一些性做以集合

Keywords were created to give users another level of depth when categorizing Test cases. Keywords serve as a collection of Test cases with some attribute within a Test specification

 

可以将关键字在关键面(批理)或者测试用例管理面(单个处理)指派给测试用例

Keywords may be assigned to Test cases either from the assign keyword screen (in batch) or via the Test case management (individually)

 

/Steps

Home>Keywords>Keywords Management>Setting Keyword, Notes etc.

Home>Keywords>Keywords Management>Assign Keywords

 

自定字段是系围内的定也就是,用不能定相同字段ID的自定字段。在建了一自定字段之后,如果要使用它则必需要将它指派测试产

Custom field definitions are system wide, i.e., you cannot define to custom fields with same field ID. After you have created a Custom Field, you need to assign it to the Test project if you want to use it

 

/Steps

Home>Custom fields>Custom fields management>Create>Setting Name, Label, Type etc.

Home>Custom fields>Assign custom fields>Setting Assign, Unassign, Display order etc.

 

 

 

2.5 测试用例集和测试用例/Create Test Suites and Test Cases

 

测试用例:通过执(行)和期望描述测试务称测试用例。测试用例是TestLink的基部分

Test Cases: Test Case describes a testing task via steps (actions, scenario) and expected results. Test cases are the fundamental piece of TestLink

 

测试用例集:用以组织测试用例的

Test Suites organizes Test cases to units

 

首先应该为测试产或多个测试用例集。在测试用例集中可以再测试用例集。然后可以测试用例。用也可以或者移动测试用例

At first you should create one or more Test Suites for your Test project. Test Suites can include other Test Suites. Then user can create Test cases. User can also copy or move Test cases

 

测试用例包括以下几部分:

Test Case has next parts:

标题:可以个简的描述或者简写

Title: could include either short description or abbreviation

应该简短,起到的作用

Summary: should be really short; just for overview

:描述测试场),也包含和需要的信息

Steps: describe test scenario (input actions); can also include precondition and cleanup information here

期望:描述检验测试产或系

Expected results: describe checkpoints and expected behavior a tested Test project or system

附件(可

Attachment (Optional)

 

主管的用可以从测试用例中移除测试用例和测试用例集。移除测试用例将会丢所有相测试结

Test Cases and Test Suites may be removed from a Test Plant by users with Leader permissions. Removing test cases will cause the loss of all results associated with them

 

/Steps

Home>Test Specification>Edit Test Case(s)>Test Project>New Test Suite: Setting Name, Details etc.

Home>Test Specification>Edit Test Case(s)>Test Project>Test Suite>Create Test Case(s): Setting Title, Summary, Steps etc.

 

2.6 指派需求给测试用例/Assign Requirements to Test Case

 

这个特性可以置需求和测试用例之关联关系。测试设计者可以定多的系,也就是,可以不指派任何测试用例,或者指派或多个测试用例,反之亦然

This feature allows setting relations between requirements and Test cases. A Test Designer could define relations 0..n to 0..n. I.e. One Test case could be assigned to none, one or more Test cases and vice versa

 

2.7 测试计划/Create Test Plan

 

测试计划测试用例的基测试计划包括名、描述、被选择测试用例集合、测试结、里程碑、测试指派和

Test plans are the basis for Test cases execution. Test plan contains name, description, collection a chosen Test cases, builds, test results, milestones, tester assignment and priority definition

 

主管的用可以测试计划测试计划将会时删包括测试用例(测试规中的除外)和测试结

Test Plans may be deleted by users with lead privileges. Deleting Test Plans permanently deletes both the Test plan and all of its corresponding data, including Test cases (not in Test Specification), results, etc.

 

可以个测试产中的添加到一个测试计划

Data from multiple Test projects can be added into one Test plan

 

/Steps

Home>Test Plan Management>Test Plan Management>Create>Setting Name, Description etc.

 

 

/Steps

Home>Requirements>Assign Requirements>Select Test Case>Setting Assign or Unassign

 

2.8 和里程碑(可/Create Build and Milestone (Optional)

 

建是一特定的布版本。在公司中的每个产很可能是由很多不同的成的。建是跟踪测试用例行的基本成分。每个测试用例可以在每个构建中一次

Builds are a specific release of software. Each project in a company is most likely made up of many different builds. Builds are the basic component for how Test cases are tracked. Each Test case may be run once and only once per build

 

建的状态

The states of each build:

/非活的:定义构TestLink是否可用

Active / Inactive: defines whether the build is available for TestLink functionality

/关闭:定是否可以修改建的测试结

Opened / Closed: defines if Test results can be modified for the build

 

/Steps

Home>Test Plan Management>Build Management>Create>Setting Title, Description etc.

 

里程碑:主管可以定在期望的时间内应完成测试的百分比。

Milestone: Leader can define percentage of finished tests with respect to defined date

 

/Steps

Home>Test Plan Management>Milestone Management>Create>Setting: Name, Target Name etc.

 

2.9 测试/Test Execution

 

当满以下可以测试

Test execution is available when:

A>测试规范已完成

A Test specification is written

B>测试计划经创

A Test plan is created

C>测试用例已添加到测试计划

Test cases are added to Test plan

D>经创建一个构

A Build is created

E>测试计划指派给测试

The Test plan is assigned to testers

 

/Steps

Home>Test Execution>Execute Tests>Setting Filter Condition etc.

 

2.10 测试报告和度量/Review Reports and Metrics

 

告和度量是基于选择测试计划的。在面前确保在主选择了正确的测试计划

Reports and Metrics are based on the currently selected Test plan. Be sure you have selected the correct Test plan on the main page before viewing the Results page

 

2.10.1 测试计划度量/General Test Plan Metrics

依照测试用例集/测试/关键测试结

Review results by Test suites/Tester/Keywords

 

2.10.2 建的状态/The Overall Build Status

依照每个构测试结

Review results by every Build

 

2.10.3 查询度量/Query Metrics

查询报告由一个查询表格成,查询数将显示在查询结

This report consists of a query form page, and a query results page which contains the queried data

 

2.10.4 测试用例/Failed Test Cases

2.10.5 被阻塞的测试用例/Blocked Test Cases

2.10.6 行的测试用例/Not run Test Cases

个报示所有前被阻塞、行失或者未行的测试用例。如果一个测试用例被阻塞、行失或者未行,此示最后一次测试果。如果已经将TestLink缺陷跟踪系集成,此处将会显示被阻塞和行失测试用例相对应的缺陷编号

These reports show all of the currently blocked, failing, or not run Test cases. Last test Result logic is again employed to determine if a Test case should be considered blocked, failed, or not run. Blocked and failed Test case reports will display the associated bugs if the user is using an integrated bug tracking system

 

2.10.7 测试报/Test Report

测试用例在每个构建上的状态

Review status of every Test case on every build

 

2.10.8 /Charts

部分表格式测试结果。以生助用形象化的测试计划测试结

This part will display results in a graphical format. The graphs are animated to help the user visualize the metrics from the current Test plan

共包括以下四张图表:

The four charts provide are:

A>测试//被阻塞/行的测试用例饼图

Pie chart of overall pass / fail / blocked / and not run Test cases

B>依照关键字分类测试结的柱状图

Bar chart of Results by Keyword

C>依照测试的柱状图

Bar chart of Results by Owner

D>依照顶层测试用例集分的柱状图

Bar chart of Results by Top Level Suite

 

2.10.9 基于需求的/Requirements based Report

列出需求相关联测试用例

This report list which Test cases have been related Requirements

 

2.10.10 个测试用例所关联的缺陷/Total bugs for each Test case

当设置了缺陷跟踪系的集成可以这张报

This report is only available if a Bug Tracking System is connected

 

2.11 入和/Import and Export

 

TestLink支持多共享据的方式

TestLink supports several ways to share data

/Item

文件格式/File Format

可得到什/What you get

关键/Keyword

CSV / XML

所有测试产品的关键/All Test project’s keywords

测试产/Test Project

XML

所有测试用例集和测试用例/All Test suites and Test cases.

测试用例集/Test Suite

XML

测试用例集的细节描述,所有的测试用例以及子测试用例集和测试用例/Test suite details, All Test cases and child Test suites and Test cases.

测试用例/Test Case

XML

可以得到以下2种导/Two types of exports can be done:

1.有一个测试用例/Just one Test case

2.测试用例集中的所有测试用例/All Test cases in Test suite.

需求/Requirement

CSV / CSV DOORS(*) / XML

(*) 支持此格式/ (*) Only import is supported for this format.

局限:附件不能

Limitation: attached files are not exported

 

 

3. 安装及配置/Installation and Configuration

 

安装:集成PHP5MySQL或者Postgres)的Web器。也可以使用集成品的安装包直接安装;例如: XAMPP, EasyPHP, Uniform Server,

Install environment: Webserver with PHP5 and database (MySQL or Postgres). You can also find installations package of all these products and install it together; for example XAMPP, EasyPHP, Uniform Server, etc.

 

A>安装MySQL (例如, user/passwordroot/123)

Install MySQL (e.g., user/passwordroot/123)

B>压缩xampp-win32-1.6.4.zip (例如, C:XAMPP)

Extract xampp-win32-1.6.4.zip (e.g., C:XAMPP)

C>压缩testlink_170.zip (例如, C: XAMPPhtdocstestlink)

Extract testlink_170.zip (e.g., C: XAMPPhtdocstestlink)

D>启动ApacheMySQL (例如, C: XAMPP, xampp-control.exe)

Start Apache and MySQL (e.g., C: XAMPP, xampp-control.exe)

E> (例如, http://localhost/testlink/)

Setting (e.g., http://localhost/testlink/)


 


 

F> (例如, http://localhost/testlink/login.php)

Login (e.g., http://localhost/testlink/login.php)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值