Tool support for testing Java generics

Gespeichert in:
Bibliographische Detailangaben
Titel: Tool support for testing Java generics
Autoren: Momotaz, Selina
Weitere Verfasser: Pyeatt, Larry D., Namin, Akbar S.
Publikationsjahr: 2010
Bestand: Texas Tech University: TTU DSpace Repository
Schlagwörter: Test case generation, Java generics
Beschreibung: 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.
Publikationsart: thesis
Dateibeschreibung: application/pdf
Sprache: English
Relation: http://hdl.handle.net/2346/ETD-TTU-2010-12-1082
Verfügbarkeit: http://hdl.handle.net/2346/ETD-TTU-2010-12-1082
Rights: Unrestricted.
Dokumentencode: edsbas.B368D7CC
Datenbank: BASE
FullText Text:
  Availability: 0
CustomLinks:
  – Url: http://hdl.handle.net/2346/ETD-TTU-2010-12-1082#
    Name: EDS - BASE (s4221598)
    Category: fullText
    Text: View record from BASE
  – Url: https://www.webofscience.com/api/gateway?GWVersion=2&SrcApp=EBSCO&SrcAuth=EBSCO&DestApp=WOS&ServiceName=TransferToWoS&DestLinkType=GeneralSearchSummary&Func=Links&author=Momotaz%20S
    Name: ISI
    Category: fullText
    Text: Nájsť tento článok vo Web of Science
    Icon: https://imagesrvr.epnet.com/ls/20docs.gif
    MouseOverText: Nájsť tento článok vo Web of Science
Header DbId: edsbas
DbLabel: BASE
An: edsbas.B368D7CC
RelevancyScore: 693
AccessLevel: 3
PubType: Dissertation/ Thesis
PubTypeId: dissertation
PreciseRelevancyScore: 693.324279785156
IllustrationInfo
Items – Name: Title
  Label: Title
  Group: Ti
  Data: Tool support for testing Java generics
– Name: Author
  Label: Authors
  Group: Au
  Data: <searchLink fieldCode="AR" term="%22Momotaz%2C+Selina%22">Momotaz, Selina</searchLink>
– Name: Author
  Label: Contributors
  Group: Au
  Data: Pyeatt, Larry D.<br />Namin, Akbar S.
– Name: DatePubCY
  Label: Publication Year
  Group: Date
  Data: 2010
– Name: Subset
  Label: Collection
  Group: HoldingsInfo
  Data: Texas Tech University: TTU DSpace Repository
– Name: Subject
  Label: Subject Terms
  Group: Su
  Data: <searchLink fieldCode="DE" term="%22Test+case+generation%22">Test case generation</searchLink><br /><searchLink fieldCode="DE" term="%22Java+generics%22">Java generics</searchLink>
– Name: Abstract
  Label: Description
  Group: Ab
  Data: 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.
– Name: TypeDocument
  Label: Document Type
  Group: TypDoc
  Data: thesis
– Name: Format
  Label: File Description
  Group: SrcInfo
  Data: application/pdf
– Name: Language
  Label: Language
  Group: Lang
  Data: English
– Name: NoteTitleSource
  Label: Relation
  Group: SrcInfo
  Data: http://hdl.handle.net/2346/ETD-TTU-2010-12-1082
– Name: URL
  Label: Availability
  Group: URL
  Data: http://hdl.handle.net/2346/ETD-TTU-2010-12-1082
– Name: Copyright
  Label: Rights
  Group: Cpyrght
  Data: Unrestricted.
– Name: AN
  Label: Accession Number
  Group: ID
  Data: edsbas.B368D7CC
PLink https://erproxy.cvtisr.sk/sfx/access?url=https://search.ebscohost.com/login.aspx?direct=true&site=eds-live&db=edsbas&AN=edsbas.B368D7CC
RecordInfo BibRecord:
  BibEntity:
    Languages:
      – Text: English
    Subjects:
      – SubjectFull: Test case generation
        Type: general
      – SubjectFull: Java generics
        Type: general
    Titles:
      – TitleFull: Tool support for testing Java generics
        Type: main
  BibRelationships:
    HasContributorRelationships:
      – PersonEntity:
          Name:
            NameFull: Momotaz, Selina
      – PersonEntity:
          Name:
            NameFull: Pyeatt, Larry D.
      – PersonEntity:
          Name:
            NameFull: Namin, Akbar S.
    IsPartOfRelationships:
      – BibEntity:
          Dates:
            – D: 01
              M: 01
              Type: published
              Y: 2010
          Identifiers:
            – Type: issn-locals
              Value: edsbas
ResultId 1