Authors
Chandrasekhar Boyapati, Sarfraz Khurshid, Darko Marinov
Publication date
2002/7/1
Journal
ACM SIGSOFT Software Engineering Notes
Volume
27
Issue
4
Pages
123-133
Publisher
ACM
Description
This paper presents Korat, a novel framework for automated testing of Java programs. Given a formal specification for a method, Korat uses the method precondition to automatically generate all (nonisomorphic) test cases up to a given small size. Korat then executes the method on each test case, and uses the method postcondition as a test oracle to check the correctness of each output.To generate test cases for a method, Korat constructs a Java predicate (i.e., a method that returns a boolean) from the method's pre-condition. The heart of Korat is a technique for automatic test case generation: given a predicate and a bound on the size of its inputs, Korat generates all (nonisomorphic) inputs for which the predicate returns true. Korat exhaustively explores the bounded input space of the predicate but does so efficiently by monitoring the predicate's executions and pruning large portions of the search space.This …
Total citations
2001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320244428384849786957595057444269353431292422221512
Scholar articles
C Boyapati, S Khurshid, D Marinov - ACM SIGSOFT Software Engineering Notes, 2002