Dissertation/ Thesis

Tool support for testing Java generics

Λεπτομέρειες βιβλιογραφικής εγγραφής
Τίτλος: Tool support for testing Java generics
Συγγραφείς: Momotaz, Selina
Συνεισφορές: Pyeatt, Larry D., Namin, Akbar S.
Έτος έκδοσης: 2010
Συλλογή: Texas Tech University: TTU DSpace Repository
Θεματικοί όροι: Test case generation, Java generics
Περιγραφή: Test case generation is an important, yet expensive activity in testing software applications. It is neither feasible nor cost effective to manually generate test cases with all possible inputs combinations. To cut down the cost of testing and to increase the reliability of it, researchers and practitioners have been working for a long time to automate test case generation. Random testing can generate lots of test cases using well established algorithms and hence reduce the cost of software testing. To practice defensive programming, Java generics has been introduced. The main feature of Java generics is that it transfers runtime errors to compile time errors. Though, use of Java generics is becoming more popular, there is no tool support available to facilitate random test case generation for applications that use Java generics. In this thesis, we introduce RanGer, a tool that generates random test cases automatically for Java generics. RanGer allows users to specify the number of method calls in each Junit test cases, as well as the desired number of test cases to generate. RanGer is developed based on Java reflection and formal specification to acquire the structure of the class under test and to specify the expected outputs, respectively.
Τύπος εγγράφου: thesis
Περιγραφή αρχείου: application/pdf
Γλώσσα: English
Relation: http://hdl.handle.net/2346/ETD-TTU-2010-12-1082
Διαθεσιμότητα: http://hdl.handle.net/2346/ETD-TTU-2010-12-1082
Rights: Unrestricted.
Αριθμός Καταχώρησης: edsbas.B368D7CC
Βάση Δεδομένων: BASE