Problem Statement:
Entity Builders are used extensively in writing local unit tests, the process to create the builders alone is a large task and often a duplicated effort, in addition creating the builder instances with the correct input for a test can be time consuming
Solution and Business Value:
Auto generate the builders based on a selection of entities, this permits the builders to be nested to take care of arrays. To generate the test data a UI based off the builders and the nested builders, this would store the information as JSON, and permit tests to be easily created by identifying the JSON to use, that will contain the builders to consume the JSON.
Making use of the entity extraction and processing as used in the APD PCF Rebuild will provide the initial set of information for the builders, use of templates as used for Admin data management will easily allow for the generation of the builders and sample tests. There will need to be some generic screen capable of entry of the test data, this is the only new part that would have to be created.
Assigned to | Chris Moore |
Product value score | 24 |