Implementing integrated documentation and application testing
AssigneeInternational Business Machines Corporation
InventorsAmber Rebecca Field King, John Peter Merges, III, Diane Elaine Olson, Alwood Patrick Williams, III
Life of this patent
Estimating the term…
Abstract
A method, apparatus, and computer program product to implement integrated documentation and functional application testing are provided. An integrated test engine drives both functional application testing and documentation testing for the application. The integrated test engine uses documentation instructions, which are embedded with metadata and represent how to automate each step in the documentation and the expected results, and runs a series of tests that ensure that the application works as expected and that the documentation accurately reflects how the application works.
Claims18
A computer-implemented method for implementing integrated documentation and functional application testing comprises:
- applying an integrated test engine to drive both functional application testing and documentation testing for an application;
- retrieving documentation instructions and documentation embedded metadata from documentation for the application;
- said documentation instructions and documentation embedded metadata representing how to automate each step in the documentation testing and expected results, mapping documentation embedded metadata to functional test engine metadata;
- using said documentation instructions to order functional test engine metadata;
- forming a list of automated test instructions based upon the functional test engine metadata and ordering the automated test instructions based upon documentation instruction order;
- wherein forming a list of automated test instructions based upon the functional test engine metadata includes translating the functional test engine metadata into a runable test instruction;
- and running a series of tests defined by the list of automated test instructions against the application to functionally test both the application and the documentation.
A computer program product embodied on a non-transitory computer readable storage medium for implementing integrated documentation and functional application testing, said non-transitory computer readable storage medium storing instructions, and said instructions when executed by the computer system cause the computer system to perform the steps comprising:
- providing an integrated test engine to drive both functional application testing and documentation testing for an application;
- retrieving documentation instructions and documentation embedded metadata from documentation for the application;
- said documentation instructions and documentation embedded metadata representing how to automate each step in the documentation testing and expected results, mapping documentation embedded metadata to functional test engine metadata;
- using said documentation instructions to order functional test engine metadata;
- forming a list of automated test instructions based upon the functional test engine metadata and ordering the automated test instructions based upon documentation instruction order;
- wherein forming a list of automated test instructions based upon the functional test engine metadata includes translating the functional test engine metadata into a runable test instruction;
- and running a series of tests defined by the list of automated test instructions against the application to functionally test both the application and the documentation.
An apparatus comprising a non-transitory computer readable storage medium embodying computer program code for implementing integrated documentation and functional application testing comprises:
- an integrated test engine embodied on a non-transitory computer readable storage medium for driving both functional application testing and documentation testing for an application;
- said integrated test engine retrieving documentation instructions and documentation embedded metadata from documentation for the application;
- said documentation instructions and documentation embedded metadata representing how to automate each step in the documentation testing and expected results, said integrated test engine mapping documentation embedded metadata to functional test engine metadata;
- said integrated test engine using said documentation instructions to order functional test engine metadata;
- said integrated test engine forming a list of automated test instructions based upon the functional test engine metadata and ordering the automated test instructions based upon documentation instruction order;
- wherein forming a list of automated test instructions based upon the functional test engine metadata includes translating the functional test engine metadata into a runable test instruction;
- and said integrated test engine running a series of tests defined by the list of automated test instructions against the application to functionally test both the application and the documentation.
Dependencies are inferred from the claim text.