Supercharge Your Innovation With Domain-Expert AI Agents!

Test method and non-transitory computer readable medium storing program

一种测试方法、计算机的技术,应用在计算、软件测试/调试、测量电等方向,能够解决测试用例不能转移等问题,达到减少执行的效果

Active Publication Date: 2018-11-23
TOYOTA JIDOSHA KK
View PDF13 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

That is, there is the problem that test cases used for unit testing cannot be transferred to integration testing

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Test method and non-transitory computer readable medium storing program
  • Test method and non-transitory computer readable medium storing program
  • Test method and non-transitory computer readable medium storing program

Examples

Experimental program
Comparison scheme
Effect test

test Embodiment CA1

[0135] First, the PC 10 can execute unit tests on first and second modules such as program A and program B using the unit test sections 10F 1 , 10F 2 . For each unit test, test modules such as mock objects MB, MX, MY are used. Using the test modules as described above, the PC 10 can execute the unit tests indicated by the test cases CA1 , CA2 by replacing, for example, modules that are under development and cannot be used for unit tests with the test modules.

[0136] For example, by figure 2 and 4 The configuration shown is used to implement unit tests. Also, for example, by Figure 10 The flow shown to achieve unit testing.

[0137] The PC 10 integrates the program A and the program B using the integration section 10F3, and executes an integration test. On the other hand, when the second module such as program B cannot be used for integration testing, the mock object MB is integrated into program A. As described above, the PC 10 integrates the program B or, for exampl...

Embodiment approach

[0150] The information processing device may be a plurality of devices. That is, the embodiments can be realized by, for example, an information processing system including one or more information processing devices.

[0151] In addition, the information processing apparatus can execute unit tests and integration tests for three or more modules. That is, an integration test can be a test in which three or more modules are integrated.

[0152] The test method is not limited to tests performed for debugging software such as programs. That is, a module as a test target is not limited to a file of source code described by a programming language such as C language. For example, a module may be a file of source code described in a hardware description language (HDL), such as Verilog. That is, in the case of HDL or the like, the test driver may be a test bench or the like, and so-called verification (assertion) may be included in the test.

[0153] Embodiments according to the pr...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a test method and a non-transitory computer readable medium storing a program. The test method for a first module that is performed by an information processing device includesintegrating a second module or a test module that performs the same response as the second module to the first module, performing an integration test on a module group including at least the first module, and outputting any one of a result of an integration test for the first module and the second module and a result of an integration test for the first module based on determination data indicating which one of the second module and the test module is integrated to the first module.

Description

technical field [0001] The present invention relates to a testing method and a non-transitory computer readable medium storing a program. Background technique [0002] In the related art, a unit test for testing a coded program in units of modules and an integration test for integrating and testing a plurality of modules are known in software development. [0003] In testing, it is known to use a technique of using a stub that acts as a module to be used for testing. Specifically, first, a test driver constitutes a test target module by integrating dependent modules into stubs. When a call to the dependent module from the test target module is detected, the module executing means determines whether to execute the dependent module or the stub based on a predetermined condition. A technique is known that can partially change or supplement the behavior of a module to be used for testing by using stubs as described above (for example, Japanese Unexamined Patent Application Pub...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/36G01R31/3183
CPCG01R31/3183G06F11/3676G06F11/3684G06F11/3688G06F11/3692G06F11/3672
Inventor 铃木真一矢岛英明
Owner TOYOTA JIDOSHA KK
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More