Claims
- 1. A method for creating complex objects for exercising an application under test, comprising:
generating a test driver to exercise methods associated with a component of the application under test; providing a user with a plurality of options for selecting how objects for the test driver are created and initialized with test data; automatically generating test code corresponding to the user's instructions; and running the test driver.
- 2. The method according to claim 1, further including using reflection to determine methods associated with the component.
- 3. The method according to claim 1, further including providing a web page to the user for displaying object creation options.
- 4. The method according to claim 1, further including creating a data table from which object test data is retrieved.
- 5. The method according to claim 1, further including enabling a user to select a rule for generating test data.
- 6. The method according to claim 5, wherein the rule includes generating random data.
- 7. The method according to claim 1, further including generating test objects without passing parameters.
- 8. A method for synthesizing complex objects, comprising:
examining application code to identify portions in which a predetermined object and associated sub-objects are created; and generating a plurality of threads each of which attempts to determine how the application code creates the object.
- 9. The method according to claim 8, further including determining how the application code creates the object by identifying the application code creating the sub-objects with primitive data types.
- 10. The method according to claim 8, further including creating a data table from which object test data is retrieved.
- 11. The method according to claim 8, further including enabling a user to select a rule for generating object test data.
- 12. The method according to claim 8, further including terminating respective ones of the plurality of threads that are unsuccessful for greater than a predetermined amount of time.
- 13. A method for synthesizing complex objects, comprising:
reflecting a complex object to determine fields associated with the complex object; using Java serialization to serialize the complex object to allocate memory space for the complex object; creating a plurality of instances of the complex object; initializing the plurality of complex objects with test data; and load testing the complex object.
- 14. The method according to claim 13, further including displaying a plurality of options to a user for selecting the test data.
- 15. The method according to claim 13, further including creating a data table from which object test data is retrieved.
- 16. The method according to claim 13, further including enabling a user to select a rule for generating test data.
CROSS REFERENCE TO RELATED APPLICATIONS
[0001] The present application is a continuation-in-part of U.S. application Ser. No. 09/873,605, filed on Jun. 4, 2001, and claims the benefit of U.S. Provisional Patent Application No. 60/243,944, filed on Oct. 27, 2000, which are incorporated herein by reference.
Provisional Applications (1)
|
Number |
Date |
Country |
|
60243944 |
Oct 2000 |
US |
Continuation in Parts (1)
|
Number |
Date |
Country |
Parent |
09873605 |
Jun 2001 |
US |
Child |
09947932 |
Sep 2001 |
US |