Invention Grant
- Patent Title: Server side logic unit testing
- Patent Title (中): 服务器端逻辑单元测试
-
Application No.: US11843685Application Date: 2007-08-23
-
Publication No.: US07865779B2Publication Date: 2011-01-04
- Inventor: Kwong P. Tsang
- Applicant: Kwong P. Tsang
- Applicant Address: US NY Armonk
- Assignee: International Business Machines Corporation
- Current Assignee: International Business Machines Corporation
- Current Assignee Address: US NY Armonk
- Agency: Cantor Colburn LLP
- Agent John Flynn
- Main IPC: G06F11/00
- IPC: G06F11/00

Abstract:
A method for server side logic unit testing in an application server environment is provided. The method includes reading a plurality of input parameters from an XML input repository, where the input parameters define an initial state of a test environment, and configuring the test environment to the initial state using the input parameters. The method further includes executing a unit test case using a command test manager to interface between the unit test case and the test environment, where the command test manager translates a command from the unit test case into a test command. The method also includes passing the test command to controller command logic, and accessing test data stored in a database through an access bean using a bean simulator. The method additionally includes receiving test results, including catching an exception on an error condition, and outputting the test results to an XML output repository.
Public/Granted literature
- US20090055686A1 SERVER SIDE LOGIC UNIT TESTING Public/Granted day:2009-02-26
Information query