System, method, and computer program product for distributed testing of program code
View Patent ↗A system, method, and computer program product for distributed software code testing. When a data processing system is not being actively used, it will download and execute test code, and return the results to a server. This process increases the efficiency of code testing while exploiting otherwise-wasted processing power.
1. A method for testing code in a client data processing system, comprising:
receiving executable code front a server system in a client data processing system;
if the client data processing system is in an idle state when the executable code is received, then
sending a response to the server system,
testing at least a portion of the executable code, and
sending test results to the server system; wherein if the client data processing system is not in all idle state when the executable code is received, then no response is sent to the server and no testing is performed.
2. The method of claim 1 , wherein the testing is a coverage analysis test.
3. The method of claim 1 , wherein the client data processing system is in an idle state when no user is actively operating the client data processing system.
4. A data processing system comprising a processor and accessible memory, the data processing system configured to:
receive executable code from a server system in a client data processing system; and,
if the client data processing system is in an idle state when the executable code is received,
send a response to the server system,
test at least a portion of the executable code, and
send test results to the server system; wherein if the client data processing system is not in an idle state when the executable code is received, then no response is sent to the server and no testing is performed.
5. The data processing system of claim 4 , wherein the testing is a coverage analysis test.
6. The data processing system of claim 4 , wherein the client data processing system is in an idle state when no user is actively operating the client data processing system.
7. A computer program product tangibly embodied in a non-transitory machine-readable medium, comprising:
instructions for receiving executable code from a server system in a client data processing system;
instructions for, if the client data processing system is in an idle state when the executable code is received,
sending a response to the server system,
testing at least a portion of the executable code, and
sending test results to the server system; wherein if the client data processing system is not in an idle state when the executable code is received, then no response is sent to the server and no testing is performed.
8. The computer program product of claim 7 , wherein the testing is a coverage analysis test.
9. The computer program product of claim 7 , wherein the client data processing system is in an idle state when no user is actively operating the client data processing system.