Publication | Closed Access
Automated module testing in Prolog
59
Citations
17
References
1991
Year
EngineeringOutput OracleVerificationTest Data GenerationRandom TestingSoftware AnalysisFormal VerificationModel-based TestingTest OracleTest AutomationCompilersProgramming LanguagesComputer EngineeringComputer ScienceAutomated ReasoningProgram AnalysisSoftware TestingFormal MethodsProgram SynthesisSymbolic ExecutionTrace Invariants
Tools and techniques for writing scripts in Prolog that automatically test modules implemented in C are presented. Both the input generation and the test oracle problems are addressed, focusing on a balance between the adequacy of the test inputs and the cost of developing the output oracle. The authors investigate automated input generation according to functional testing, random testing, and a novel approach based on trace invariants. For each input generation scheme, a mechanism for generating the expected outputs has been developed. The methods are described and illustrated in detail. Script development and maintenance costs appear to be reasonable, and run-time performance appears to be acceptable.< <ETX xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">></ETX>
| Year | Citations | |
|---|---|---|
Page 1
Page 1