发明名称 Integrating software-tests with software development environments or tools that can assist software-testing
摘要 A dynamic-bridge connects a collection of tests (e.g., proprietary tests) to a testing-framework and effectively allows the collection of tests to interface with the testing-framework, thereby allowing the development environment and tools that support the testing-framework to also support the collection of tests. The dynamic-bridge provides a dynamic test wrapper which can be dynamically constructed for a test and present it as a test which conforms to or is compatible with the testing-framework and executed within the testing-framework. Test results are reported in a form that is expected or acceptable by the framework. In effect, the dynamic test wrapper simulates executing the test in the testing framework. As a result, tools which have been integrated with the testing-framework can be used to support tests which may originally not conform or be compatible with the testing-framework.
申请公布号 US9075920(B1) 申请公布日期 2015.07.07
申请号 US200511187685 申请日期 2005.07.22
申请人 Oracle America, Inc. 发明人 Kushnirskiy Igor D.
分类号 G06F9/44;G06F9/45;G06F11/36 主分类号 G06F9/44
代理机构 Polsinelli PC 代理人 Polsinelli PC
主权项 1. A method for allowing a plurality of computer-software-tests to be supported by one or more integrated development environments, said method comprising: collecting, utilizing at least one processor, a plurality of a computer-software-tests into a first collection of tests organized in a hierarchical representation, wherein each of said plurality of computer-software-tests can test computer program code, but at least one of said plurality of computer-software tests do not completely conform to a testing-framework and are not completely compatible with said testing-framework, said testing-framework defines at least one of a structure for test-cases that test computer program code and a structure for one or more tools that are operable to facilitate execution of said test-cases; receiving, utilizing said at least one processor, a selection that identifies one or more nonconforming and incompatible computer-software-tests in said first collection which are to be supported by said one or more integrated development environments which support said testing-framework and are operable to assist testing in said testing-framework; and generating, utilizing said at least one processor, a connection between said one or more selected nonconforming and incompatible computer-software-tests and said testing-framework, said connection comprising an application programming interface to access the one or more selected nonconforming and incompatible computer-software-tests according to the hierarchical representation and a dynamic test wrapper to automatically generate a test-wrapper for each of the one or more nonconforming and incompatible computer-software-tests without user-input, and wherein each test-wrapper transforms the one or more selected nonconforming and incompatible computer-software-test from an unacceptable form to an acceptable form defined by the testing-framework and effectively simulates execution of the one or more selected nonconforming and incompatible computer-software tests within said testing-framework, thereby allowing said one or more computer-software tests to be supported by said one or more integrated development environments that support said testing-framework; wherein said generating of said test-wrapper comprises: constructing, from said one or more computer-software-tests, a test suite which includes said one or more computer-software-tests;transforming said test suite to a conforming-test suite which conforms to or is compatible with said testing-framework;initiating an isolated-test-execution environment for execution of said conforming-test suite, wherein said isolated-testing environment can effectively isolate execution of a first test-case in said test suite from execution of a second test-case in said test suite;executing each computer-software test of said test suite in said isolated-test-execution environment;determining whether execution of each computer-software test of said test suite has resulted in failure; andreporting a failure to said testing-framework when said determining determines that execution of a test-case in said test suite has resulted in failure.
地址 Redwood City CA US