Patent ID: 9135150
Filing Date: 2015-09-15
Classification: G06F

Abstract:
1. A method for function testing within a unit testing framework, comprising: operating a remote testing automation framework on an originating system through a software testing automated framework client process running on the originating system, wherein the remote testing automation framework is configured for running one or more unit testing framework test cases, wherein the one or more unit testing framework test cases support method level testing on a target specified as a method, wherein the one or more unit testing framework tests encapsulate one or more functional test scripts specified for testing layers other than the method level on the target, wherein the remote testing automation framework alone does not support functional testing of the target through any of the one or more functional test scripts; operating the remote testing automation framework on a remote system through a second software testing automated framework client process running on the remote system; operating a functional testing framework configured to run the one or more functional tests scripts on the remote system, the target accessible on the remote system; responsive to starting a particular unit testing framework test case within a unit testing framework of the originating system, automatically issuing a call to the remote testing automation framework on the originating system by passing an execute command request to the software testing automated framework client to execute a particular functional test script specified in the particular unit testing framework test case of the one or more functional test scripts, the execute command specifying that if the target fails while running the particular functional test script to add an error to a functional test log, the particular functional test script for testing layers other than the method level on the target; passing, by the software testing automated framework client, the execute command request to the second software testing automated framework client, the second software testing automated framework calling the functional test framework to execute the command request by entering the playback command for the particular functional test script in a command line interface of the functional test framework, the functional testing framework controlling playback of the particular functional test script on the target, the functional testing framework capturing results of the playback of the particular functional test script on the target, the functional testing framework comparing the captured results with a baseline expected result for the particular functional test script, the functional testing framework, in response to the executing command specifying that if the target fails while running to the particular functional test script to add the error to the functional test log, recording a difference between the captured results and the baseline expected results as at least one particular error in the functional test log; automatically issuing, by the unit testing framework, at least one additional call to the remote testing automation framework to automatically copy the functional test log resulting from executing the particular functional test script from the remote system to the originating system; automatically evaluating, at the originating system, whether the functional test log comprises at least one error by examining text in the functional test log for the at least one particular error; and responsive to the functional test log comprising at least one particular error, automatically marking the unit testing framework test case as failed.