Wings c/c++测试驱动自动生成工具v2.0

上传者: teststars | 上传时间: 2022-08-03 23:28:38 | 文件大小: 50.14MB | 文件类型: ZIP
wings是一款用于单元测试测试用例驱动框架自动生成工具,这款工具主要是全自动生成单元测试驱动代码与测试数据。解决做单元测试耗时耗力,编写难度大等问题。提升开发和测试效率。 特点: (1) 程序参数深度分析问题 Wings通过编译器底层技术,将输入的源文件,按照函数为单位,形成模块对象。对象中包含函数的输入参数,返回值类型等信息,供驱动函数模块和测试用例模块使用。每个文件作为一个单元,针对其中的每个函数的每个参数进行深度解析,对于嵌套类型,复杂类型等都可以实现精确的解析和分解,将复杂类型逐层讲解为基础数据类型,并产生参数结构的描述文件(PSD)。 (2) 函数驱动自动生成模块 依据PSD文件的格式信息,自动生成被测源程序的所有驱动函数,单元测试过程不再依赖开发人员手动编写测试函数,只需将生成的驱动函数和被测源文件一起编译,即可执行测试并查看测试结果。测试驱动自动生成程序基于PSD描述,全自动构建驱动被测程序运行的所有参数,必须的全局变量,并可根据复杂变量的层级结构产生结构化的测试驱动程序,可以节省大量的单元测试用例的编写时间。 (3) 测试数据自动生成与管理 用于自动生成测试数据,测试数据与被测函数提取的信息相互对应,数据以一定的层次逻辑关系存 储在json文件中。数据和经过分解和展开后的数据类型是一一对应的。这些数据用户可以根据业务要求随意边际,并且用json文件进行结构化,层次化展示,非常的清晰。其中的测试数据包括全局变量值、被测函数调用时的参数值。 优点: 1. 可以为任意复杂参数结构C语言开发的系统全自动生成测试驱动程序 2. 可完成对于被测试函数的参数进行多层编译解析,并完成复杂参数赋值的代码的自动生成。 3. 支持被测函数引用的全局变量的分析和自动赋值程序的生成。 4. 能够区分系统变量和用户变量,对于复杂的系统变量可由用户自定义赋值模板。 例如File类型,而不是把复杂的系统变量全部展开。 5. 支持多层次的可视化的数据表格来对变量进行赋值,而无需关注驱动程序本身。 数据表格可以表达任意深度和多层次的数据关系,用户只需要对表格数据进行编辑,自动生成的驱动程序会自动完成表格数据的读取和参数赋值的构造过程。 6. Wings支持所有C语言的数据类型(基础类型,结构体,指针,数组,枚举等)以及高层级数据结构。 例如链表的分析和对应的驱动和数据表格框架的生成。 7. Wings生成的代码与人工写的非常相近,可读性强,自带注释和按照层次的缩进和代·码编排。

文件下载

资源详情

[{"title":"( 59 个子文件 50.14MB ) Wings c/c++测试驱动自动生成工具v2.0","children":[{"title":"wings_release","children":[{"title":"Wings_V1.0","children":[{"title":"spacial.txt <span style='color:#111;'> 165B </span>","children":null,"spread":false},{"title":"Wings.exe <span style='color:#111;'> 11.34MB </span>","children":null,"spread":false},{"title":"Qt5Widgets.dll <span style='color:#111;'> 4.24MB </span>","children":null,"spread":false},{"title":"ucrtbased.dll <span style='color:#111;'> 1.57MB </span>","children":null,"spread":false},{"title":"libEGL.dll <span style='color:#111;'> 13.50KB </span>","children":null,"spread":false},{"title":"msvcp140d.dll <span style='color:#111;'> 732.31KB </span>","children":null,"spread":false},{"title":"wings_en.qm <span style='color:#111;'> 14.51KB </span>","children":null,"spread":false},{"title":"Qt5PrintSupport.dll <span style='color:#111;'> 259.50KB </span>","children":null,"spread":false},{"title":"qscintilla2.dll <span style='color:#111;'> 1.53MB </span>","children":null,"spread":false},{"title":"Qt5Gui.dll <span style='color:#111;'> 4.64MB </span>","children":null,"spread":false},{"title":"wings_parse_log","children":[{"title":"Wings_Main_201810181419_014724_000.log <span style='color:#111;'> 148.19KB </span>","children":null,"spread":false},{"title":"tt_wings_Main_201810181614_010636_000.log <span style='color:#111;'> 27.21KB </span>","children":null,"spread":false},{"title":"Wings_Main_201810181409_006412_000.log <span style='color:#111;'> 144.72KB </span>","children":null,"spread":false},{"title":"Wings_Main_201810181556_011008_000.log <span style='color:#111;'> 27.63KB </span>","children":null,"spread":false},{"title":"Wings_Main_201810181602_012816_000.log <span style='color:#111;'> 284B </span>","children":null,"spread":false},{"title":"tt_wings_Main_201810181618_007292_000.log <span style='color:#111;'> 93.22MB </span>","children":null,"spread":false},{"title":"Wings_Main_201810101609_010824_000.log <span style='color:#111;'> 292.70KB </span>","children":null,"spread":false},{"title":"Wings_Main_201810181412_008336_000.log <span style='color:#111;'> 986B </span>","children":null,"spread":false},{"title":"tt_wings_Main_201810181444_011876_000.log <span style='color:#111;'> 146.15KB </span>","children":null,"spread":false},{"title":"Wings_Main_201809281426_013140_000.log <span style='color:#111;'> 284B </span>","children":null,"spread":false},{"title":"Wings_Main_201808171416_017896_000.log <span style='color:#111;'> 284B </span>","children":null,"spread":false},{"title":"tt_wings_Main_201810181605_006012_000.log <span style='color:#111;'> 27.80KB </span>","children":null,"spread":false},{"title":"Wings_Main_201810181401_016000_000.log <span style='color:#111;'> 284B </span>","children":null,"spread":false},{"title":"tt_wings_Main_201810181436_009772_000.log <span style='color:#111;'> 145.81KB </span>","children":null,"spread":false},{"title":"Wings_Main_201811071049_010352_000.log <span style='color:#111;'> 980B </span>","children":null,"spread":false},{"title":"Wings_Main_201810301734_011364_000.log <span style='color:#111;'> 284B </span>","children":null,"spread":false},{"title":"tt_wings_Main_201810181430_016616_000.log <span style='color:#111;'> 147.17KB </span>","children":null,"spread":false},{"title":"tt_wings_Main_201810181542_016596_000.log <span style='color:#111;'> 93.22MB </span>","children":null,"spread":false},{"title":"Wings_Main_201810181417_014944_000.log <span style='color:#111;'> 145.14KB </span>","children":null,"spread":false},{"title":"Wings_Main_201810181601_017160_000.log <span style='color:#111;'> 27.21KB </span>","children":null,"spread":false},{"title":"Wings_Main_201811021754_014416_000.log <span style='color:#111;'> 284B </span>","children":null,"spread":false}],"spread":false},{"title":"vcruntime140d.dll <span style='color:#111;'> 109.33KB </span>","children":null,"spread":false},{"title":"wings_ch.qm <span style='color:#111;'> 10.14KB </span>","children":null,"spread":false},{"title":"json","children":[{"title":"reader.h <span style='color:#111;'> 6.33KB </span>","children":null,"spread":false},{"title":"sconscript <span style='color:#111;'> 146B </span>","children":null,"spread":false},{"title":"autolink.h <span style='color:#111;'> 438B </span>","children":null,"spread":false},{"title":"json_valueiterator.inl <span style='color:#111;'> 7.19KB </span>","children":null,"spread":false},{"title":"json_writer.cpp <span style='color:#111;'> 19.83KB </span>","children":null,"spread":false},{"title":"config.h <span style='color:#111;'> 1.50KB </span>","children":null,"spread":false},{"title":"forwards.h <span style='color:#111;'> 735B </span>","children":null,"spread":false},{"title":"value.h <span style='color:#111;'> 33.16KB </span>","children":null,"spread":false},{"title":"json.h <span style='color:#111;'> 200B </span>","children":null,"spread":false},{"title":"json_reader.cpp <span style='color:#111;'> 20.45KB </span>","children":null,"spread":false},{"title":"writer.h <span style='color:#111;'> 6.04KB </span>","children":null,"spread":false},{"title":"json_internalmap.inl <span style='color:#111;'> 15.91KB </span>","children":null,"spread":false},{"title":"json_batchallocator.h <span style='color:#111;'> 3.84KB </span>","children":null,"spread":false},{"title":"json_value.cpp <span style='color:#111;'> 38.12KB </span>","children":null,"spread":false},{"title":"features.h <span style='color:#111;'> 1.26KB </span>","children":null,"spread":false},{"title":"json_internalarray.inl <span style='color:#111;'> 12.37KB </span>","children":null,"spread":false}],"spread":false},{"title":"GetKeyDescription.dll <span style='color:#111;'> 19.00KB </span>","children":null,"spread":false},{"title":"platforms","children":[{"title":"qwindows.dll <span style='color:#111;'> 1.02MB </span>","children":null,"spread":false}],"spread":false},{"title":"Qt5Core.dll <span style='color:#111;'> 4.42MB </span>","children":null,"spread":false}],"spread":false},{"title":".gitee","children":[{"title":"ISSUE_TEMPLATE.zh-CN.md <span style='color:#111;'> 79B </span>","children":null,"spread":false},{"title":"PULL_REQUEST_TEMPLATE.zh-CN.md <span style='color:#111;'> 105B </span>","children":null,"spread":false}],"spread":true},{"title":"README.md <span style='color:#111;'> 3.28KB </span>","children":null,"spread":false},{"title":"example","children":[{"title":"TypeDemo.rar <span style='color:#111;'> 10.65MB </span>","children":null,"spread":false},{"title":"TypeDemo.rar~HEAD <span style='color:#111;'> 10.65MB </span>","children":null,"spread":false},{"title":"TypeDemo.rar~8331dff892ba7f349a087246de7eeb3addf2888e <span style='color:#111;'> 10.65MB </span>","children":null,"spread":false},{"title":"demo_pointer.rar <span style='color:#111;'> 2.22MB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明