Metadata-based test data generation
First Claim
Patent Images
1. A method comprising:
- extracting column metadata from a relational database, the column metadata describing a plurality of columns of a data table included in the relational database, the data table comprising a plurality of data records, wherein the column metadata comprises at least one of field data types, mandatory fields, or relationships to other columns;
generating a graphical mapping interface comprising an interface form and the plurality of columns of the data table, the interface form comprising a plurality of input controls;
receiving, in the graphical mapping interface, user inputs defining a plurality of control-column mappings between the plurality of input controls of the interface form and the plurality of columns of the data table;
in response to a receipt of the user inputs defining the plurality of control-column mappings;
automatically generating, using the plurality of control-column mappings, a plurality of control-metadata mappings between the plurality of input controls to the column metadata; and
using the plurality of control-metadata mappings, automatically generating, by a processor, new test data values for testing the plurality of input controls, the new test data values comprising data values that are illegal according to the column metadata.
8 Assignments
0 Petitions
Accused Products
Abstract
Example embodiments disclosed herein relate to a method for generating test data for form validation, where the method includes maintaining metadata for a database, mapping a control field of the form to a column of the database, and generating test data based on the mapping and the metadata.
28 Citations
20 Claims
-
1. A method comprising:
-
extracting column metadata from a relational database, the column metadata describing a plurality of columns of a data table included in the relational database, the data table comprising a plurality of data records, wherein the column metadata comprises at least one of field data types, mandatory fields, or relationships to other columns; generating a graphical mapping interface comprising an interface form and the plurality of columns of the data table, the interface form comprising a plurality of input controls; receiving, in the graphical mapping interface, user inputs defining a plurality of control-column mappings between the plurality of input controls of the interface form and the plurality of columns of the data table; in response to a receipt of the user inputs defining the plurality of control-column mappings; automatically generating, using the plurality of control-column mappings, a plurality of control-metadata mappings between the plurality of input controls to the column metadata; and using the plurality of control-metadata mappings, automatically generating, by a processor, new test data values for testing the plurality of input controls, the new test data values comprising data values that are illegal according to the column metadata. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A system comprising:
-
a hardware processor; a machine-readable storage medium storing instructions executed by the hardware processor to; extract column metadata from a relational database, the column metadata describing a plurality of columns of a data table included in the relational database, the data table comprising a plurality of data records, wherein the column metadata comprises at least one of field data types, mandatory fields, or relationships to other columns; generate a graphical mapping interface comprising an interface form and the plurality of columns of the data table, the interface form comprising a plurality of input controls; receive, from the graphical mapping interface, user inputs defining a plurality of control-column mappings between the plurality of input controls of the interface form and the plurality of columns of the data table; in response to a receipt of the user inputs defining the plurality of control-column mappings; automatically generate, using the plurality of control-column mappings, a plurality of control-metadata mappings between the plurality of input controls to the column metadata; and automatically generate, using the plurality of control-metadata mappings, new test data values for testing the plurality of input controls, the new test data values including data values that are illegal according to the column metadata. - View Dependent Claims (9, 10, 11, 12)
-
-
13. A non-transitory computer readable medium comprising instructions that when executed implement a method, the method comprising:
-
extracting column metadata from a relational database, the column metadata describing a plurality of columns of a data table included in the relational database, the data table comprising a plurality of data records, wherein the column metadata comprises at least one of field data types, mandatory fields, or relationships to other columns; generating a graphical mapping interface comprising an interface form and the plurality of columns of the data table, the interface form comprising a plurality of input controls; receiving, in the graphical mapping interface, user inputs defining a plurality of control-column mappings between the plurality of input controls of the interface form and the plurality of columns of the data table; in response to a receipt of the user inputs defining the plurality of control-column mappings; automatically generating, using the plurality of control-column mappings, a plurality of control-metadata mappings between the plurality of input controls to the column metadata; and automatically generating, using the plurality of control-metadata mappings, new test data values for testing the plurality of input controls, the new test data values comprising data values that are illegal according to the column metadata. - View Dependent Claims (14, 15, 16, 17, 18, 19, 20)
-
Specification