2008 · 77 citations · 16 references
ComputingComputer ScienceData ManagementDatabasesTest ConstructionDatabase DesignDatabase ManagementQuery ProcessingRelational Data ModelRelational DatabasesSoftware TestingAutomated Test GenerationBlack-box TestingDatabase Management SystemsInput Data AnalysisResult VerificationTest Data GenerationTest GenerationTest Suite Generation
We present a novel approach for black-box testing of database management systems (DBMS) using the Alloy tool-set. Given a database schema and an SQL query as inputs, our approach first formulates Alloy models for both inputs, and then using the Alloy Analyzer, it generates (1) input data to populate test databases, and (2) the expected result of executing the given query on the generated data. The Alloy Analyzer results form a complete test suite (input/oracle) for verifying the execution result of a DBMS query processor. By incorporating both the schema and the query during the analysis, our approach performs query-aware data generation where executing the query on the generated data produces meaningful non-empty results. We developed a prototype tool, ADUSA, and used it to evaluate our approach. Experimental results show the ability of our approach to detect bugs in both open-source as well as commercial database management systems.
16
Software abstractions: logic, language and analysis
Choice Reviews Online · 2007 · 1.5K citations
Daniel Jackson · ACM Transactions on Software Engineering and Methodology · 2002 · 1.2K citations
Finding bugs with a constraint solver
Daniel Jackson, Mandana Vaziri · 2000 · 211 citations · Full text
Dynamic test input generation for database applications
Michael Emmi, Rupak Majumdar, Koushik Sen · 2007 · 199 citations
Automating first-order relational logic
Daniel Jackson · 2000 · 195 citations