Test generator for database management systems
Abstract
A test generator produces a set of database query-language statements comprised of randomly chosen elements for testing one or more database management systems on arbitrary databases. The statements are syntactically correct according to the query language, and are semantically correct according to the query language and according to the schema of the target database. A configuration file further specifies parameters of the test statements, in terms of maximum elements, weights of different elements, etc. The generator carries choices for previous nodes along as it constructs further nodes in the parse tree of each statement. When an error occurs during the execution of a statement on the DBMS, the statement is simplified to produce a shorter statement that still produces the same error, as a debugging aid.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 9 · Forward citations: 233.
Claims (2 — 2 Independent, 0 Dependent)
- Claim 1Independent Claim
A method implemented on a programmable data processor for testing database management systems (DBMS) that have a query language defined by a predetermined syntax specification, the method comprising: reading a configuration file containing a set of test parameters; connecting to an arbitrary target database specified by the configuration file; determining the schema of the arbitrary database; constructing a test statement including random elements of the query language of the DBMS in response to the syntax specification for producing correct syntax, in response to the database schema for
- Claim 2Independent Claim
A method according to clai
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗