Sökning: WFRF:(Torkar Richard 1971) >
Search-based Softwa...
-
Mairhofer, Stefan
(författare)
Search-based Software Testing and Test Data Generation for a Dynamic Programming Language
- Artikel/kapitelEngelska2011
Förlag, utgivningsår, omfång ...
Nummerbeteckningar
-
LIBRIS-ID:oai:gup.ub.gu.se/154417
-
https://gup.ub.gu.se/publication/154417URI
-
https://research.chalmers.se/publication/154417URI
Kompletterande språkuppgifter
Ingår i deldatabas
Klassifikation
-
Ämneskategori:ref swepub-contenttype
-
Ämneskategori:kon swepub-publicationtype
Anmärkningar
-
Manually creating test cases is time consuming and error prone. Search-based software testing can help automate this process and thus reduce time and effort and increase quality by automatically generating relevant test cases. Previous research has mainly focused on static programming languages and simple test data inputs such as numbers. This is not practical for dynamic programming languages that are increasingly used by software developers. Here we present an approach for search-based software testing for dynamically typed programming languages that can generate test scenarios and both simple and more complex test data. The approach is implemented as a tool, RuTeG, in and for the dynamic programming language Ruby. It combines an evolutionary search for test cases that give structural code coverage with a learning component to restrict the space of possible types of inputs. The latter is called for in dynamic languages since we cannot always know statically which types of objects are valid inputs. Experiments on 14 cases taken from real-world Ruby projects show that RuTeG achieves full or higher statement coverage on more cases and does so faster than randomly generated test cases.
Ämnesord och genrebeteckningar
Biuppslag (personer, institutioner, konferenser, titlar ...)
-
Torkar, Richard,1971Gothenburg University,Göteborgs universitet,Institutionen för data- och informationsteknik (GU),Department of Computer Science and Engineering (GU),University of Gothenburg(Swepub:gu)xtorri
(författare)
-
Feldt, Robert,1972Chalmers tekniska högskola,Chalmers University of Technology(Swepub:cth)feldt
(författare)
-
Göteborgs universitetInstitutionen för data- och informationsteknik (GU)
(creator_code:org_t)
Sammanhörande titlar
-
Ingår i:Proceedings of the Genetic and Evolutionary Computation Conference (GECCO)
Internetlänk