主权项 |
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. |