一花一草一世界的下一句是什么| 吃什么可以让子宫内膜变薄| 道听途说是什么意思| 爱像什么| 孕妇吃什么血糖降得快| 四爱什么意思| 福泽深厚什么意思| 大米有什么营养| 脑脊液是什么| 重庆东站什么时候通车| 红菜是什么菜| 天可以加什么偏旁| 93年的鸡是什么命| 377是什么意思| 前纵韧带钙化是什么意思| 挂靠是什么意思| 梅毒螺旋体抗体阳性是什么意思| 白带过氧化氢阳性什么意思| 肿瘤标志物cA724高说明什么| dhc是什么牌子| 如意是什么意思| 鱼用什么游泳| 便溏是什么意思| 水镜先生和司马懿是什么关系| 舒张压是什么| 杀阴虱用什么药最好| sry什么意思| 喝白茶有什么好处| 什么是养生| 蚂蚁喜欢吃什么食物| 保胎针是什么药| 氨是什么| 瑜伽是什么意思| 今天开什么码| 血糖高能吃什么肉| 滚床单什么意思| 铭五行属什么| 鼻窦炎吃什么药好| 糖精是什么| 女人在什么时候最容易怀孕| 什么是答题卡| 血清胃功能检测是什么| cos什么意思| 老年人血压忽高忽低是什么原因| 亚人是什么意思| 冬至是什么时候| 祭日是什么意思| 妇科千金片主要治什么| 来月经是黑色的是什么原因| 失聪什么意思| 权志龙的团队叫什么| 十三幺是什么意思| 斐乐属于什么档次| 皮肤爱出油是什么原因| 肠胃炎喝什么药| bace是什么意思| 帕金森吃什么药最好| 人流前需要检查什么项目| 脚麻木是什么病的前兆| 打胎后要注意什么| 天蝎座男生喜欢什么样的女生| 风包念什么| 晕是什么意思| 区委常委是什么级别| 硬伤是什么意思| 检查全身挂什么科| 球拍状胎盘是什么意思| 阴唇痒用什么药| 足底麻木是什么原因| 声东击西是什么意思| 解肌是什么意思| 个人solo什么意思| 潸然泪下是什么意思| 非特异性阴道炎是什么意思| 杵状指见于什么疾病| 什么牌子洗发水好| 湿疹是因为什么原因引起的| 右腿麻木是什么征兆| 外科医生是做什么的| 点痣挂什么科| 皮脂膜是什么| 光斑是什么意思| 满五唯一的房子要交什么税| 白细胞低有什么危害| 六月是什么季节| 义齿是什么| 再生障碍性贫血是什么病| 死灰复燃是什么意思| 早上九点半是什么时辰| 儿茶是什么中药| 湖南湖北以什么湖为界| 梦见海水是什么意思| 报考军校需要什么条件| 纳呆什么意思| 维生素e的功效与作用是什么| 脊柱侧弯是什么原因引起的| 氧化氢是什么| 4月6日是什么星座| 月经提前10天正常吗是什么原因| 多吃山竹有什么好处| 稍高回声是什么意思| 斑秃是什么原因引起的| 沐猴而冠代表什么生肖| 泡脚出汗有什么好处| 精索静脉曲张什么症状| 龟头有白色污垢是什么| 星期五右眼皮跳是什么预兆| 冻干粉是什么| 什么方法睡觉快速入睡| 双子男和什么星座最配| pe材质是什么| 什么叫欲擒故纵| 偷鸡不成蚀把米什么意思| 卡不当什么意思| 心不在焉是什么意思| gsp全称是什么| 什么车性价比最高| 焗油和染发有什么区别| 梦见拉麦子是什么预兆| 女人吃什么排卵最快| 孙权和孙策是什么关系| 什么叫轻断食| 海南的海是什么海| 海葵是什么| 下眼睑浮肿是什么原因| hcg稀释是什么意思| 培根是什么| 鸡枞是什么东西| 巡视组组长什么级别| 肌钙蛋白高是什么意思| 骨肉相连是什么肉| 胃胀痛吃什么药| 葫芦娃的爷爷叫什么| 双子座和什么星座最配| 一日之计在于晨是什么生肖| 什么的糖果| 什么是裸眼视力| 风声鹤唳是什么意思| 可否是什么意思| 甲亢与甲减有什么区别| 什么地端详| 腰疼吃什么药| 血型阳性是什么意思| 血糖高的人适合吃什么水果| 尿白细胞加减什么意思| 一毛不拔指什么生肖| 统考是什么意思| 子宫内膜脱落是什么意思| 嘴巴里长泡是什么原因| 2月5号是什么星座| 孕妇适合喝什么茶| 小猫什么时候可以洗澡| 重中之重是什么意思| 69年属什么| 一月八号是什么星座| 为什么突然流鼻血| 痛风什么蔬菜不能吃| 为什么会得前列腺炎| 耳石症看什么科| 尊字五行属什么| 仙茅配什么壮阳效果好| 脚臭用什么药最好| 什么叫菩提心| 大什么大什么| 女人裹脚是从什么时候开始的| 猪狗不如是什么生肖| 手麻是什么原因引起| 咳嗽一直不好是什么原因怎么治| 使能是什么意思| 头疼应该挂什么科| 左侧卵巢内囊性回声是什么意思| 什么食物| 甲鱼吃什么食物| 阴道口有点痒用什么药| 胃食管反流挂什么科| 地西泮是什么药| 89年属什么的| 荆棘是什么植物| 荔枝与什么不能同吃| 女性支原体阳性是什么意思| 抗环瓜氨酸肽抗体高是什么意思| 身是什么结构| 什么姿势| 孔雀鱼吃什么食物| 感冒吃什么药| 丝芙兰是什么品牌| 过堂是什么意思| 城镇户口是什么意思| 泰国是一个什么样的国家| 浪子回头金不换是什么意思| 傍晚是什么时辰| 什么的尾巴有什么作用| 手脚心发热是什么原因| 包茎不割会有什么影响| 耵聍栓塞是什么意思| 5月28日什么星座| 物理学是什么| 为什么做春梦| 口臭舌苔白厚吃什么药| 脚背上长痣代表什么| 左小腿麻木是什么原因| 克霉唑为什么4天一次| 药剂师是什么专业| 脂蛋白a高有什么危害| hpv52阳性是什么意思| 横死是什么意思| 手机root后有什么好处和坏处| 云南在古代叫什么| 眼睛oct检查主要检查什么| kda什么意思| 子宫肌瘤挂什么科室| 眼睛模糊什么原因| 手背肿是什么原因| 10月21日是什么星座| 一花一草一世界的下一句是什么| 正餐是什么意思| 心衰竭是什么症状| 女性吃辅酶q10有什么好处| 大枕大池是什么意思| 晚上喝酸奶有什么好处和坏处| 1953年是什么年| 术后吃什么补元气| 胃痉挛吃什么药| 911是什么电话| 黄河水为什么是黄的| 多金是什么意思| 五个手指头分别叫什么| 子宫内膜薄吃什么| 颂字五行属什么| 检查肺结节挂什么科| 猪跟什么生肖配对最好| 分期是什么意思| 一个齿一个禹念什么| 990金是什么金| 小孩风热感冒吃什么药| 子时是什么生肖| 梵蒂冈为什么没人敢打| 窦性心律逆钟向转位是什么意思| 钟字五行属什么| 脂溢性脱发用什么药| 今天是什么节气24节气| 乳腺增生吃什么| 胃糜烂吃什么药最好| 科普一下是什么意思| 免疫力低吃什么| 君子兰什么时候开花| 5月24号是什么星座| 川芎有什么功效与作用| 父亲节要送什么礼物好| 胖子从12楼掉下来会变什么| 包皮开裂是什么原因| 李宇春父亲是干什么的| 牙疼吃什么水果| 迪士尼是什么意思| 阳虚是什么意思| 不胜什么| bone什么意思| 额头疼是什么原因| 什么玉最值钱| 新疆有什么特产| 病理单克隆抗体检测是什么| 二毛二是什么军衔| 为什么叫a股| 孕吐一般什么时候开始| 百度Jump to content

阳痿早泄吃什么

From Wikipedia, the free encyclopedia
General model-based testing setting
百度 【品牌资讯】环球网荣获第六届中国财经峰会“杰出品牌形象奖”2017-07-2110:30(环球网7月21日讯)7月19日,环球网在以中国经济新图景:转型与变革为主题的第六届财经峰会上,荣获2017杰出品牌形象奖。

Model-based testing is an application of model-based design for designing and optionally also executing artifacts to perform software testing or system testing. Models can be used to represent the desired behavior of a system under test (SUT), or to represent testing strategies and a test environment. The picture on the right depicts the former approach.

A model describing a SUT is usually an abstract, partial presentation of the SUT's desired behavior. Test cases derived from such a model are functional tests on the same level of abstraction as the model. These test cases are collectively known as an abstract test suite. An abstract test suite cannot be directly executed against an SUT because the suite is on the wrong level of abstraction. An executable test suite needs to be derived from a corresponding abstract test suite. The executable test suite can communicate directly with the system under test. This is achieved by mapping the abstract test cases to concrete test cases suitable for execution. In some model-based testing environments, models contain enough information to generate executable test suites directly. In others, elements in the abstract test suite must be mapped to specific statements or method calls in the software to create a concrete test suite. This is called solving the "mapping problem".[1] In the case of online testing (see below), abstract test suites exist only conceptually but not as explicit artifacts.

Tests can be derived from models in different ways. Because testing is usually experimental and based on heuristics, there is no known single best approach for test derivation. It is common to consolidate all test derivation related parameters into a package that is often known as "test requirements", "test purpose" or even "use case(s)". This package can contain information about those parts of a model that should be focused on, or the conditions for finishing testing (test stopping criteria).

Because test suites are derived from models and not from source code, model-based testing is usually seen as one form of black-box testing.

Model-based testing for complex software systems is still an evolving field.

Models

[edit]

Especially in Model Driven Engineering or in Object Management Group's (OMG's) model-driven architecture, models are built before or parallel with the corresponding systems. Models can also be constructed from completed systems. Typical modeling languages for test generation include UML, SysML, mainstream programming languages, finite machine notations, and mathematical formalisms such as Z, B (Event-B), Alloy or Coq.

Deploying model-based testing

[edit]
An example of a model-based testing workflow (offline test case generation). IXIT refers to implementation extra information and refers to information needed to convert an abstract test suite into an executable one. Typically, IXIT contains information on the test harness, data mappings and SUT configuration.

There are various known ways to deploy model-based testing, which include online testing, offline generation of executable tests, and offline generation of manually deployable tests.[2]

Online testing means that a model-based testing tool connects directly to an SUT and tests it dynamically.

Offline generation of executable tests means that a model-based testing tool generates test cases as computer-readable assets that can be later run automatically; for example, a collection of Python classes that embodies the generated testing logic.

Offline generation of manually deployable tests means that a model-based testing tool generates test cases as human-readable assets that can later assist in manual testing; for instance, a PDF document in a human language describing the generated test steps.

Deriving tests algorithmically

[edit]

The effectiveness of model-based testing is primarily due to the potential for automation it offers. If a model is machine-readable and formal to the extent that it has a well-defined behavioral interpretation, test cases can in principle be derived mechanically.

From finite-state machines

[edit]

Often the model is translated to or interpreted as a finite-state automaton or a state transition system. This automaton represents the possible configurations of the system under test. To find test cases, the automaton is searched for executable paths. A possible execution path can serve as a test case. This method works if the model is deterministic or can be transformed into a deterministic one. Valuable off-nominal test cases may be obtained by leveraging unspecified transitions in these models.

Depending on the complexity of the system under test and the corresponding model the number of paths can be very large, because of the huge amount of possible configurations of the system. To find test cases that can cover an appropriate, but finite, number of paths, test criteria are needed to guide the selection. This technique was first proposed by Offutt and Abdurazik in the paper that started model-based testing.[3] Multiple techniques for test case generation have been developed and are surveyed by Rushby.[4] Test criteria are described in terms of general graphs in the testing textbook.[1]

Theorem proving

[edit]

Theorem proving was originally used for automated proving of logical formulas. For model-based testing approaches, the system is modeled by a set of predicates, specifying the system's behavior.[5] To derive test cases, the model is partitioned into equivalence classes over the valid interpretation of the set of the predicates describing the system under test. Each class describes a certain system behavior, and, therefore, can serve as a test case. The simplest partitioning is with the disjunctive normal form approach wherein the logical expressions describing the system's behavior are transformed into the disjunctive normal form.

Constraint logic programming and symbolic execution

[edit]

Constraint programming can be used to select test cases satisfying specific constraints by solving a set of constraints over a set of variables. The system is described by the means of constraints.[6] Solving the set of constraints can be done by Boolean solvers (e.g. SAT-solvers based on the Boolean satisfiability problem) or by numerical analysis, like the Gaussian elimination. A solution found by solving the set of constraints formulas can serve as a test cases for the corresponding system.

Constraint programming can be combined with symbolic execution. In this approach a system model is executed symbolically, i.e. collecting data constraints over different control paths, and then using the constraint programming method for solving the constraints and producing test cases.[7]

Model checking

[edit]

Model checkers can also be used for test case generation.[8] Originally model checking was developed as a technique to check if a property of a specification is valid in a model. When used for testing, a model of the system under test, and a property to test is provided to the model checker. Within the procedure of proofing, if this property is valid in the model, the model checker detects witnesses and counterexamples. A witness is a path where the property is satisfied, whereas a counterexample is a path in the execution of the model where the property is violated. These paths can again be used as test cases.

Test case generation by using a Markov chain test model

[edit]

Markov chains are an efficient way to handle Model-based Testing. Test models realized with Markov chains can be understood as a usage model: it is referred to as Usage/Statistical Model Based Testing. Usage models, so Markov chains, are mainly constructed of 2 artifacts : the finite-state machine (FSM) which represents all possible usage scenario of the tested system and the Operational Profiles (OP) which qualify the FSM to represent how the system is or will be used statistically. The first (FSM) helps to know what can be or has been tested and the second (OP) helps to derive operational test cases. Usage/Statistical Model-based Testing starts from the facts that is not possible to exhaustively test a system and that failure can appear with a very low rate.[9] This approach offers a pragmatic way to statically derive test cases which are focused on improving the reliability of the system under test. Usage/Statistical Model Based Testing was recently extended to be applicable to embedded software systems.[10][11]

See also

[edit]

References

[edit]
  1. ^ a b Paul Ammann and Jeff Offutt. Introduction to Software Testing, 2nd edition. Cambridge University Press, 2016.
  2. ^ Practical Model-Based Testing: A Tools Approach Archived 2025-08-08 at the Wayback Machine, Mark Utting and Bruno Legeard, ISBN 978-0-12-372501-1, Morgan-Kaufmann 2007
  3. ^ Jeff Offutt and Aynur Abdurazik. Generating Tests from UML Specifications. Second International Conference on the Unified Modeling Language (UML ’99), pages 416-429, Fort Collins, CO, October 1999.
  4. ^ John Rushby. Automated Test Generation and Verified Software. Verified Software: Theories, Tools, Experiments: First IFIP TC 2/WG 2.3 Conference, VSTTE 2005, Zurich, Switzerland, October 10–13. pp. 161-172, Springer-Verlag
  5. ^ Brucker, Achim D.; Wolff, Burkhart (2012). "On Theorem Prover-based Testing". Formal Aspects of Computing. 25 (5): 683–721. CiteSeerX 10.1.1.208.3135. doi:10.1007/s00165-012-0222-y. S2CID 5774837.
  6. ^ Jefferson Offutt. Constraint-Based Automatic Test Data Generation. IEEE Transactions on Software Engineering, 17:900-910, 1991
  7. ^ Antti Huima. Implementing Conformiq Qtronic. Testing of Software and Communicating Systems, Lecture Notes in Computer Science, 2007, Volume 4581/2007, 1-12, DOI: 10.1007/978-3-540-73066-8_1
  8. ^ Gordon Fraser, Franz Wotawa, and Paul E. Ammann. Testing with model checkers: a survey. Software Testing, Verification and Reliability, 19(3):215–261, 2009. URL: [1]
  9. ^ Helene Le Guen. Validation d'un logiciel par le test statistique d'usage : de la modelisation de la decision à la livraison, 2005. URL:ftp://ftp.irisa.fr/techreports/theses/2005/leguen.pdf
  10. ^ B?hr, Frank (2011). "Model Based Statistical Testing of Embedded Systems". 2011 IEEE Fourth International Conference on Software Testing, Verification and Validation Workshops. pp. 18–25. doi:10.1109/ICSTW.2011.11. ISBN 978-1-4577-0019-4. S2CID 9582606.
  11. ^ B?hr, Frank (2012). Model-Based Statistical Testing of Embedded Real-Time Software with Continuous and Discrete Signals in a Concurrent Environment: The Usage Net Approach. Verlag Dr. Hut. ISBN 978-3843903486.

Further reading

[edit]
二十年婚姻是什么婚 心脏造影是什么检查 世界上最多的动物是什么 山魈是什么 老人爱睡觉什么征兆
空调外机很响是什么原因 葡萄球菌用什么抗生素 什么样的轮子只转不走 历法是什么意思 铁锚是什么意思
双侧肋膈角锐利是什么意思 新陈代谢是指什么 生理期量少是什么原因 为什么会突然长体癣 洁身自爱是什么意思
手腕比喻什么 颞下颌关节紊乱吃什么药 内蒙古有什么特产 百鸟归巢什么意思 什么是湿气
belle是什么牌子hcv7jop9ns3r.cn 造纸术什么时候发明的hcv8jop7ns7r.cn 摸底是什么意思hcv8jop6ns7r.cn nos是什么单位hcv8jop5ns4r.cn 异常是什么意思hcv9jop6ns4r.cn
crh是什么意思hcv8jop9ns9r.cn 危险期是什么时候hcv8jop5ns3r.cn 右眼一直跳是什么原因hcv8jop2ns2r.cn 达字五行属什么hcv9jop6ns4r.cn 家里飞蛾多是什么原因hcv8jop9ns3r.cn
手机卡顿是什么原因hkuteam.com 肠胃炎吃什么水果比较好beikeqingting.com 血红蛋白浓度偏低是什么原因hcv7jop5ns6r.cn 阳强易举是什么意思hcv8jop5ns9r.cn 传媒公司主要做什么hcv7jop9ns0r.cn
江苏属于什么方向hcv7jop7ns1r.cn 汪星是什么意思hcv8jop3ns8r.cn 吹空调感冒吃什么药hcv7jop9ns7r.cn 什么是公历年份creativexi.com 妈妈的弟弟的老婆叫什么96micro.com
百度