没有合适的资源?快使用搜索试试~ 我知道了~
TOSCA@data-whitepaper
3星 · 超过75%的资源 需积分: 5 7 下载量 187 浏览量
2012-02-16
23:05:49
上传
评论
收藏 1.06MB PDF 举报
温馨提示
试读
19页
tosca testsuite的data whitepaper,非常值得一看,最重要的是免费。
资源推荐
资源详情
资源评论
TOSCA Testsuite™ White paper
TOSCA@data
Responsible for contents: Wolfgang Platz
Autor: Wolfgang Platz
Version: 20120118
TOSCA@data
V20120118a
2
1 Executive Summary
For software tests to be efficient and effective, the required test cases must be determined systematically, and
accurate test data is essential for test case execution to yield useful results. To ensure that test data targets the test
cases precisely, it should be generated in the test process itself - producing what we call synthetic test data - thus
offering the test organization the highest level of control.
In previous years, there have been several attempts at synthetic test data generation, but for complex testing tasks,
these efforts have mostly failed. This has led to the frequent use of test data extracted from live or archived production
data, with consequent high operating and testing costs, but poor test coverage.
In this white paper, we explain new approaches to test case design and test automation, which allow for the
generation of test data synthetically - even in complex environments. TOSCA Testsuite™ by TRICENTIS
®
turns these
approaches into reality.
It is these concepts and approaches taken together, and built into TOSCA Testsuite™, that we call TOSCA@data -
the solution to the test data problem.
TOSCA@data
V20120118a
3
Inhalt
1 Executive Summary .................................................................................................................................................. 2
2 Current situation ........................................................................................................................................................ 4
2.1 Synthetic test data ............................................................................................................................................. 4
2.2 Production data as test data .............................................................................................................................. 5
2.3 Sanitization ........................................................................................................................................................ 6
2.4 Summary ........................................................................................................................................................... 7
3 The magic triangle of test efficiency .......................................................................................................................... 8
4 Creating synthetic test data ....................................................................................................................................... 9
4.1 Scope of synthetic test data .............................................................................................................................. 9
4.2 Creating synthetic test data ............................................................................................................................. 10
4.3 Technical options for creating synthetic test data ........................................................................................... 10
4.4 Static and dynamic approaches ...................................................................................................................... 11
4.4.1 Static approaches .................................................................................................................................... 11
4.4.2 The dynamic approach with TOSCA@data ............................................................................................ 12
4.5 Overview of TOSCA@Data implementation ................................................................................................... 12
4.6 Feasibility assessment .................................................................................................................................... 13
4.7 Commercial sense ........................................................................................................................................... 14
4.8 TestCase-Design ............................................................................................................................................. 14
4.9 Consolidation of logical business days............................................................................................................ 15
4.10 Setup of test automation ................................................................................................................................. 15
5 TOSCA@data in TOSCA Testsuite™ ..................................................................................................................... 17
5.1 TestCase-Design AddIn .................................................................................................................................. 17
5.2 Test automation with Business Dynamic Steering .......................................................................................... 17
6 Summary ................................................................................................................................................................. 19
TOSCA@data
V20120118a
4
2 Current situation
Efficient and effective testing requires that test cases be derived systematically. By applying proven techniques
(equivalence classes, boundary analysis, combinatorial analysis), very accurate test case designs can be determined,
so that high test coverage is achieved with a minimum of test cases.
To obtain the expected results when executing such highly specific test cases, the test data must be planned down to
the smallest detail - complex systems require precise, accurately defined initial conditions in the data object set-up in
order to execute test cases successfully.
2.1 Synthetic test data
The greatest possible control over the test data stock can be achieved if the data is generated during the test process
itself. This is what we call synthetic test data. This approach has the following advantages:
Perfect fit
The test data is determined by a structured, systematic test case design process - which we call TestCase-Design
- together with the actual test cases. Each data object has a specific test purpose, or is the result of a specific test
process - the test inputs and outputs. TestCase-Design allows the level of accuracy of the test profile to be
specified.
Synthetic test data enables great test depth by permitting complex tests of particular functionality, even when
those tests require specific histories for test data objects.
Low data volume and maintenance costs
In synthetic test data, data objects are only created if they serve a specific purpose. Therefore, there is typically far
less synthetic test data than production data; reductions by up to three orders of magnitude can be achieved.
As is the case with production data, the maintenance of test data is an ongoing task during daily post-processing,
otherwise it would be unusable. In the mainframe environment, such post-processing often requires significant
(and costly) CPU time - with synthetic test data, the CPU consumption and associated costs are minimized.
The right test data on demand
If test data is generated automatically, it is available in the desired quantity at any time, and can be extended as
required.
No sanitization required
Synthetic test data is artificial and constructed without reference to confidential customer information, therefore it
does not need to be sanitized.
Synthetic test data has a number of obvious advantages, so why is it not used more often?
When test experts try to synthesize test data, they are faced with the following obstacles:
Test execution may consume test data
Test data may be effectively consumed by test execution if the data objects are modified in such a way that other
test executions cannot use the same objects.
For example, when a valid contract is canceled, it will be marked as canceled. The same contract cannot be used
again for further test executions (unless another test were fortuitously to require a canceled contract).
Depending on the task, a large number of test data objects, in various states, may be required, and, in general, it
is not feasible to select or generate these once, and reuse them repeatedly. Consequently, test cases need to be
剩余18页未读,继续阅读
资源评论
- lphua1232014-04-22内容一般般,看了帮助不大
andrew_new
- 粉丝: 52
- 资源: 4
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- Python的pyqt5写的图书管理系统期末大作业源码带文档设计.zip
- pcff_interface_v1_5.off
- apk.tw_LineLite_v8a_v.2.17.1_sign.apk
- Elasticsearch实战:构建高效搜索系统的秘诀.zip
- HTML+CSS+JS网页设计:从入门到精通.zip
- 数据库课程设计:从理论到实践的全面指南.zip
- Python闭包:深入理解与应用场景解析.zip
- Win64OpenSSL-3-3-0.exe
- 课高分程设计-基于C++实现的民航飞行与地图简易管理系统-南京航空航天大学
- 航天器遥测数据故障检测系统python源码+文档说明+数据库(课程设计)
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功