发明名称 |
Automated testing process |
摘要 |
A method, computer program product, and system for automating a test environment is provided. The method may include providing, at one or more computing devices, a superclass and a class-under-test, the superclass and the class-under-test having an inheritance chain therebetween. The method may further include inserting, via the computing device, an intermediate mock class between the superclass and the class-under-test. The method may also include automatically modifying, via the computing device, the class-under-test at runtime. |
申请公布号 |
US8806437(B2) |
申请公布日期 |
2014.08.12 |
申请号 |
US201113172566 |
申请日期 |
2011.06.29 |
申请人 |
International Business Machines Corporation |
发明人 |
Arcese Mauro;Imperia Marco;Mattia Marco;Nacchia Genoveffa;Rosati Leonardo;Sidoti Stefano |
分类号 |
G06F9/44 |
主分类号 |
G06F9/44 |
代理机构 |
Holland & Knight LLP |
代理人 |
Holland & Knight LLP ;Colandreo, Esq. Brian J.;Placker, Esq. Jeffrey T. |
主权项 |
1. A computer program product residing on a non-transitory computer readable storage medium having a plurality of instructions for automating a test environment stored thereon, which, when executed by a processor, cause the processor to perform operations comprising:
providing at one or more computing devices, a superclass and a class-under-test, the superclass and the class-under-test having an inheritance chain therebetween; inserting, via the computing device, an intermediate mock class between the superclass and the class-under-test, including intercepting calls to the class-under-test and redirecting them to the mock class; and automatically modifying, via the computing device, the class-under-test at runtime. |
地址 |
Armonk NY US |