CN102855177A - 一种单元测试的方法和装置 - Google Patents
一种单元测试的方法和装置 Download PDFInfo
- Publication number
- CN102855177A CN102855177A CN2011101810765A CN201110181076A CN102855177A CN 102855177 A CN102855177 A CN 102855177A CN 2011101810765 A CN2011101810765 A CN 2011101810765A CN 201110181076 A CN201110181076 A CN 201110181076A CN 102855177 A CN102855177 A CN 102855177A
- Authority
- CN
- China
- Prior art keywords
- domain object
- type
- class
- mock
- tested
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Abstract
Description
引用类 | 该引用类所调用的方法的返回值类型 |
CcrCreditCardInfoDAO | ccrCreditCardInfoDO |
CcrCreditCardBankInfoDAO | List<CcrCreditCardBankInfoDO> |
...... | ...... |
Claims (10)
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110181076.5A CN102855177B (zh) | 2011-06-30 | 2011-06-30 | 一种单元测试的方法和装置 |
HK13102822.5A HK1175554A1 (zh) | 2011-06-30 | 2013-03-07 | 種單元測試的方法和裝置 |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110181076.5A CN102855177B (zh) | 2011-06-30 | 2011-06-30 | 一种单元测试的方法和装置 |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102855177A true CN102855177A (zh) | 2013-01-02 |
CN102855177B CN102855177B (zh) | 2015-08-26 |
Family
ID=47401781
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201110181076.5A Expired - Fee Related CN102855177B (zh) | 2011-06-30 | 2011-06-30 | 一种单元测试的方法和装置 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN102855177B (zh) |
HK (1) | HK1175554A1 (zh) |
Cited By (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103593291A (zh) * | 2013-11-18 | 2014-02-19 | 北京邮电大学 | 用于包括多个函数测试模块的单元测试方法及装置 |
CN105335281A (zh) * | 2014-07-30 | 2016-02-17 | 阿里巴巴集团控股有限公司 | 一种自动mock外部依赖的方法及装置 |
WO2016201995A1 (zh) * | 2015-06-16 | 2016-12-22 | 中兴通讯股份有限公司 | 实现构建测试对象的方法、装置及业务配置测试的装置 |
CN107301039A (zh) * | 2016-04-15 | 2017-10-27 | 习得智交互软件开发公司 | 原型制作方法及其装置 |
CN107659455A (zh) * | 2017-10-16 | 2018-02-02 | 武汉斗鱼网络科技有限公司 | 一种iOS端Mock数据的方法、存储介质、设备及系统 |
CN107784047A (zh) * | 2016-11-14 | 2018-03-09 | 平安科技(深圳)有限公司 | 存储过程的实现方法及装置 |
CN107992425A (zh) * | 2017-12-25 | 2018-05-04 | 携程旅游网络技术(上海)有限公司 | 单元测试Mock代码的自动生成方法及系统 |
CN108572911A (zh) * | 2017-03-14 | 2018-09-25 | 北京京东尚科信息技术有限公司 | 自动化安全测试方法、装置、电子设备和可读存储介质 |
CN108694124A (zh) * | 2018-06-19 | 2018-10-23 | 链家网(北京)科技有限公司 | 一种基于Mock的房产交易系统测试数据构造方法及系统 |
CN109739526A (zh) * | 2017-10-30 | 2019-05-10 | 北京京东尚科信息技术有限公司 | 代码更新方法和装置 |
CN110688295A (zh) * | 2018-07-06 | 2020-01-14 | 北京京东尚科信息技术有限公司 | 数据测试方法和装置 |
CN110737576A (zh) * | 2018-07-20 | 2020-01-31 | 北京奇虎科技有限公司 | 对应用进行鲁棒性测试的方法和装置 |
CN110874322A (zh) * | 2018-09-04 | 2020-03-10 | 阿里巴巴集团控股有限公司 | 一种用于应用程序的测试方法及测试服务器 |
CN111625442A (zh) * | 2019-02-28 | 2020-09-04 | 顺丰科技有限公司 | 一种mock测试的方法和装置 |
CN112783759A (zh) * | 2019-11-11 | 2021-05-11 | 腾讯科技(深圳)有限公司 | 白盒测试任务执行方法、装置、存储介质和计算机设备 |
US11010283B2 (en) | 2016-11-08 | 2021-05-18 | Microsoft Technology Licensing, Llc | Mock-based unit test(s) for an end-to-end test of a code snippet |
CN114265776A (zh) * | 2021-12-22 | 2022-04-01 | 浙江时空道宇科技有限公司 | 单元测试代码生成方法、装置、设备、介质及程序产品 |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101026503A (zh) * | 2006-02-24 | 2007-08-29 | 国际商业机器公司 | Web服务业务流程的单元测试的方法和设备 |
US20080256517A1 (en) * | 2006-10-18 | 2008-10-16 | International Business Machines Corporation | Method and System for Automatically Generating Unit Test Cases Which Can Reproduce Runtime Problems |
-
2011
- 2011-06-30 CN CN201110181076.5A patent/CN102855177B/zh not_active Expired - Fee Related
-
2013
- 2013-03-07 HK HK13102822.5A patent/HK1175554A1/zh not_active IP Right Cessation
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101026503A (zh) * | 2006-02-24 | 2007-08-29 | 国际商业机器公司 | Web服务业务流程的单元测试的方法和设备 |
US20080256517A1 (en) * | 2006-10-18 | 2008-10-16 | International Business Machines Corporation | Method and System for Automatically Generating Unit Test Cases Which Can Reproduce Runtime Problems |
Non-Patent Citations (1)
Title |
---|
伍向前: "单元测试中mock技术的研究和创新", 《中国优秀硕士学位论文全文数据库信息科技辑》, no. 4, 15 April 2010 (2010-04-15), pages 9 - 20 * |
Cited By (28)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103593291B (zh) * | 2013-11-18 | 2016-03-09 | 北京邮电大学 | 用于包括多个函数测试模块的单元测试方法及装置 |
CN103593291A (zh) * | 2013-11-18 | 2014-02-19 | 北京邮电大学 | 用于包括多个函数测试模块的单元测试方法及装置 |
CN105335281A (zh) * | 2014-07-30 | 2016-02-17 | 阿里巴巴集团控股有限公司 | 一种自动mock外部依赖的方法及装置 |
CN105335281B (zh) * | 2014-07-30 | 2018-03-20 | 阿里巴巴集团控股有限公司 | 一种自动mock外部依赖的方法及装置 |
CN106326088B (zh) * | 2015-06-16 | 2021-03-23 | 中兴通讯股份有限公司 | 实现构建测试对象的方法、装置及业务配置测试的装置 |
WO2016201995A1 (zh) * | 2015-06-16 | 2016-12-22 | 中兴通讯股份有限公司 | 实现构建测试对象的方法、装置及业务配置测试的装置 |
CN106326088A (zh) * | 2015-06-16 | 2017-01-11 | 中兴通讯股份有限公司 | 实现构建测试对象的方法、装置及业务配置测试的装置 |
CN107301039A (zh) * | 2016-04-15 | 2017-10-27 | 习得智交互软件开发公司 | 原型制作方法及其装置 |
US11010283B2 (en) | 2016-11-08 | 2021-05-18 | Microsoft Technology Licensing, Llc | Mock-based unit test(s) for an end-to-end test of a code snippet |
CN107784047A (zh) * | 2016-11-14 | 2018-03-09 | 平安科技(深圳)有限公司 | 存储过程的实现方法及装置 |
CN107784047B (zh) * | 2016-11-14 | 2020-09-11 | 平安科技(深圳)有限公司 | 存储过程的实现方法及装置 |
CN108572911A (zh) * | 2017-03-14 | 2018-09-25 | 北京京东尚科信息技术有限公司 | 自动化安全测试方法、装置、电子设备和可读存储介质 |
CN107659455A (zh) * | 2017-10-16 | 2018-02-02 | 武汉斗鱼网络科技有限公司 | 一种iOS端Mock数据的方法、存储介质、设备及系统 |
CN109739526A (zh) * | 2017-10-30 | 2019-05-10 | 北京京东尚科信息技术有限公司 | 代码更新方法和装置 |
CN107992425B (zh) * | 2017-12-25 | 2020-09-22 | 携程旅游网络技术(上海)有限公司 | 单元测试Mock代码的自动生成方法及系统 |
CN107992425A (zh) * | 2017-12-25 | 2018-05-04 | 携程旅游网络技术(上海)有限公司 | 单元测试Mock代码的自动生成方法及系统 |
CN108694124A (zh) * | 2018-06-19 | 2018-10-23 | 链家网(北京)科技有限公司 | 一种基于Mock的房产交易系统测试数据构造方法及系统 |
CN110688295A (zh) * | 2018-07-06 | 2020-01-14 | 北京京东尚科信息技术有限公司 | 数据测试方法和装置 |
CN110737576A (zh) * | 2018-07-20 | 2020-01-31 | 北京奇虎科技有限公司 | 对应用进行鲁棒性测试的方法和装置 |
CN110737576B (zh) * | 2018-07-20 | 2023-02-17 | 北京奇虎科技有限公司 | 对应用进行鲁棒性测试的方法和装置 |
CN110874322A (zh) * | 2018-09-04 | 2020-03-10 | 阿里巴巴集团控股有限公司 | 一种用于应用程序的测试方法及测试服务器 |
CN110874322B (zh) * | 2018-09-04 | 2023-05-26 | 阿里巴巴集团控股有限公司 | 一种用于应用程序的测试方法及测试服务器 |
CN111625442A (zh) * | 2019-02-28 | 2020-09-04 | 顺丰科技有限公司 | 一种mock测试的方法和装置 |
CN111625442B (zh) * | 2019-02-28 | 2024-03-26 | 顺丰科技有限公司 | 一种mock测试的方法和装置 |
CN112783759A (zh) * | 2019-11-11 | 2021-05-11 | 腾讯科技(深圳)有限公司 | 白盒测试任务执行方法、装置、存储介质和计算机设备 |
CN112783759B (zh) * | 2019-11-11 | 2023-10-03 | 腾讯科技(深圳)有限公司 | 白盒测试任务执行方法、装置、存储介质和计算机设备 |
CN114265776A (zh) * | 2021-12-22 | 2022-04-01 | 浙江时空道宇科技有限公司 | 单元测试代码生成方法、装置、设备、介质及程序产品 |
CN114265776B (zh) * | 2021-12-22 | 2023-03-14 | 浙江时空道宇科技有限公司 | 单元测试代码生成方法、装置、设备、介质 |
Also Published As
Publication number | Publication date |
---|---|
CN102855177B (zh) | 2015-08-26 |
HK1175554A1 (zh) | 2013-07-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102855177B (zh) | 一种单元测试的方法和装置 | |
Greff et al. | The Sacred Infrastructure for Computational Research. | |
AU2016216684B2 (en) | Flow analysis instrumentation | |
Balci | Requirements for model development environments | |
Le Traon et al. | Efficient object-oriented integration and regression testing | |
CN102855178B (zh) | 一种单元测试中生成Mock库的方法和装置 | |
WO2018217745A1 (en) | Automated dependency analyzer for heterogeneously programmed data processing system | |
CN110287097A (zh) | 批量测试方法、装置及计算机可读存储介质 | |
Benhamou et al. | Trends in constraint programming | |
CN107644286A (zh) | 工作流处理方法及装置 | |
CN105808428A (zh) | 一种对分布式文件系统进行统一性能测试的方法 | |
Li et al. | Dynamic symbolic database application testing. | |
CN101609473A (zh) | 一种重构报表查询的结构化查询语言的方法及装置 | |
Gurevich | Abstract state machines: An overview of the project | |
CN107220171A (zh) | 一种虚拟机的测试方法及装置 | |
CN108089982A (zh) | 测试方法、装置、电子设备及计算机可读存储介质 | |
Hesse et al. | Formal concept analysis used for software analysis and modelling | |
Guo et al. | Pergo: an ontology towards model driven pervasive game development | |
Brahimi et al. | More transparency in testing results: Towards an open collective knowledge base | |
Baloukas et al. | Optimization methodology of dynamic data structures based on genetic algorithms for multimedia embedded systems | |
US11740875B2 (en) | Type inference in dynamic languages | |
CN115248780A (zh) | 接口测试用例的生成方法以及装置 | |
CN104850494B (zh) | 一种用于存储系统测试的方法与设备 | |
CN113900956A (zh) | 测试用例的生成方法、装置、计算机设备及存储介质 | |
Burgueño et al. | LinTraP: Primitive Operators for the Execution of Model Transformations with LinTra. |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
REG | Reference to a national code |
Ref country code: HK Ref legal event code: DE Ref document number: 1175554 Country of ref document: HK |
|
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
REG | Reference to a national code |
Ref country code: HK Ref legal event code: GR Ref document number: 1175554 Country of ref document: HK |
|
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20191216 Address after: P.O. Box 31119, grand exhibition hall, hibiscus street, 802 West Bay Road, Grand Cayman, British Cayman Islands Patentee after: Innovative advanced technology Co.,Ltd. Address before: Cayman Islands Grand Cayman capital building, a four storey No. 847 mailbox Patentee before: ALIBABA GROUP HOLDING Ltd. |
|
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20150826 |