Combining Multiple Coverage Criteria in Search-Based Unit Test Generation. Rojas, J. M., Campos, J., Vivanti, M., Fraser, G., & Arcuri, A. In Int. Symposium on Search Based Software Engineering (SSBSE), volume 9275, of LNCS, pages 93–108, 2015. Springer. \textbfBest Paper Award (Industry-relevant SBSE results)doi abstract bibtex Automated test generation techniques typically aim at maximising coverage of well-established structural criteria such as statement or branch coverage. In practice, generating tests only for one specific criterion may not be sufficient when testing object oriented classes, as standard structural coverage criteria do not fully capture the properties developers may desire of their unit test suites. For example, covering a large number of statements could be easily achieved by just calling the \tt main method of a class; yet, a good unit test suite would consist of smaller unit tests invoking individual methods, and checking return values and states with test assertions. There are several different properties that test suites should exhibit, and a search-based test generator could easily be extended with additional fitness functions to capture these properties. However, does search-based testing scale to combinations of multiple criteria, and what is the effect on the size and coverage of the resulting test suites? To answer these questions, we extended the EvoSuite unit test generation tool to support combinations of multiple test criteria, defined and implemented several different criteria, and applied combinations of criteria to a sample of 650 open source Java classes. Our experiments suggest that optimising for several criteria at the same time is feasible without increasing computational costs: When combining nine different criteria, we observed an average decrease of only 0.4% for the constituent coverage criteria, while the test suites may grow up to 70%.
@inproceedings{RojasCVFA15,
author = {Jos\'e Miguel Rojas and Jos{\'{e}} Campos and
Mattia Vivanti and Gordon Fraser and Andrea Arcuri},
title = {Combining Multiple Coverage Criteria in Search-Based
Unit Test Generation},
booktitle = SSBSE,
pages = {93--108},
doi = {10.1007/978-3-319-22183-0_7},
series = lncs,
volume = {9275},
publisher = {Springer},
year = {2015},
isbn = {978-3-319-22182-3},
labels = {conf},
note = "\textbf{Best Paper Award (Industry-relevant SBSE results)}",
abstract = {Automated test generation techniques typically aim at
maximising coverage of well-established structural criteria such as
statement or branch coverage. In practice, generating tests only for
one specific criterion may not be sufficient when testing object
oriented classes, as standard structural coverage criteria do not
fully capture the properties developers may desire of their unit test
suites. For example, covering a large number of statements could be
easily achieved by just calling the {\tt main} method of a class; yet,
a good unit test suite would consist of smaller unit tests invoking
individual methods, and checking return values and states with test
assertions. There are several different properties that test suites
should exhibit, and a search-based test generator could easily be
extended with additional fitness functions to capture these
properties. However, does search-based testing scale to combinations
of multiple criteria, and what is the effect on the size and coverage
of the resulting test suites? To answer these questions, we extended
the EvoSuite unit test generation tool to support combinations of
multiple test criteria, defined and implemented several different
criteria, and applied combinations of criteria to a sample of 650 open
source Java classes. Our experiments suggest that optimising for
several criteria at the same time is feasible without increasing
computational costs: When combining nine different criteria, we
observed an average decrease of only 0.4\% for the constituent
coverage criteria, while the test suites may grow up to 70\%.}
}
%% 2014
Downloads: 0
{"_id":"eyPKgnwECZmZefoju","bibbaseid":"rojas-campos-vivanti-fraser-arcuri-combiningmultiplecoveragecriteriainsearchbasedunittestgeneration-2015","author_short":["Rojas, J. M.","Campos, J.","Vivanti, M.","Fraser, G.","Arcuri, A."],"bibdata":{"bibtype":"inproceedings","type":"inproceedings","author":[{"firstnames":["José","Miguel"],"propositions":[],"lastnames":["Rojas"],"suffixes":[]},{"firstnames":["José"],"propositions":[],"lastnames":["Campos"],"suffixes":[]},{"firstnames":["Mattia"],"propositions":[],"lastnames":["Vivanti"],"suffixes":[]},{"firstnames":["Gordon"],"propositions":[],"lastnames":["Fraser"],"suffixes":[]},{"firstnames":["Andrea"],"propositions":[],"lastnames":["Arcuri"],"suffixes":[]}],"title":"Combining Multiple Coverage Criteria in Search-Based Unit Test Generation","booktitle":"Int. Symposium on Search Based Software Engineering (SSBSE)","pages":"93–108","doi":"10.1007/978-3-319-22183-0_7","series":"LNCS","volume":"9275","publisher":"Springer","year":"2015","isbn":"978-3-319-22182-3","labels":"conf","note":"\\textbfBest Paper Award (Industry-relevant SBSE results)","abstract":"Automated test generation techniques typically aim at maximising coverage of well-established structural criteria such as statement or branch coverage. In practice, generating tests only for one specific criterion may not be sufficient when testing object oriented classes, as standard structural coverage criteria do not fully capture the properties developers may desire of their unit test suites. For example, covering a large number of statements could be easily achieved by just calling the \\tt main method of a class; yet, a good unit test suite would consist of smaller unit tests invoking individual methods, and checking return values and states with test assertions. There are several different properties that test suites should exhibit, and a search-based test generator could easily be extended with additional fitness functions to capture these properties. However, does search-based testing scale to combinations of multiple criteria, and what is the effect on the size and coverage of the resulting test suites? To answer these questions, we extended the EvoSuite unit test generation tool to support combinations of multiple test criteria, defined and implemented several different criteria, and applied combinations of criteria to a sample of 650 open source Java classes. Our experiments suggest that optimising for several criteria at the same time is feasible without increasing computational costs: When combining nine different criteria, we observed an average decrease of only 0.4% for the constituent coverage criteria, while the test suites may grow up to 70%.","bibtex":"@inproceedings{RojasCVFA15,\n author = {Jos\\'e Miguel Rojas and Jos{\\'{e}} Campos and\n Mattia Vivanti and Gordon Fraser and Andrea Arcuri},\n title\t = {Combining Multiple Coverage Criteria in Search-Based\n Unit Test Generation},\n booktitle = SSBSE,\n pages\t = {93--108},\n doi\t = {10.1007/978-3-319-22183-0_7},\n series = lncs,\n volume = {9275},\n publisher = {Springer},\n year\t = {2015},\n isbn\t = {978-3-319-22182-3},\n labels = {conf},\n note = \"\\textbf{Best Paper Award (Industry-relevant SBSE results)}\",\n abstract = {Automated test generation techniques typically aim at\nmaximising coverage of well-established structural criteria such as\nstatement or branch coverage. In practice, generating tests only for\none specific criterion may not be sufficient when testing object\noriented classes, as standard structural coverage criteria do not\nfully capture the properties developers may desire of their unit test\nsuites. For example, covering a large number of statements could be\neasily achieved by just calling the {\\tt main} method of a class; yet,\na good unit test suite would consist of smaller unit tests invoking\nindividual methods, and checking return values and states with test\nassertions. There are several different properties that test suites\nshould exhibit, and a search-based test generator could easily be\nextended with additional fitness functions to capture these\nproperties. However, does search-based testing scale to combinations\nof multiple criteria, and what is the effect on the size and coverage\nof the resulting test suites? To answer these questions, we extended\nthe EvoSuite unit test generation tool to support combinations of\nmultiple test criteria, defined and implemented several different\ncriteria, and applied combinations of criteria to a sample of 650 open\nsource Java classes. Our experiments suggest that optimising for\nseveral criteria at the same time is feasible without increasing\ncomputational costs: When combining nine different criteria, we\nobserved an average decrease of only 0.4\\% for the constituent\ncoverage criteria, while the test suites may grow up to 70\\%.}\n}\n\n%% 2014\n\n","author_short":["Rojas, J. M.","Campos, J.","Vivanti, M.","Fraser, G.","Arcuri, A."],"key":"RojasCVFA15","id":"RojasCVFA15","bibbaseid":"rojas-campos-vivanti-fraser-arcuri-combiningmultiplecoveragecriteriainsearchbasedunittestgeneration-2015","role":"author","urls":{},"metadata":{"authorlinks":{}},"downloads":0,"html":""},"bibtype":"inproceedings","biburl":"https://jmrojas.github.io/cv/mybibtex.bib","dataSources":["HH2ZMm8PqShQeXCWM"],"keywords":[],"search_terms":["combining","multiple","coverage","criteria","search","based","unit","test","generation","rojas","campos","vivanti","fraser","arcuri"],"title":"Combining Multiple Coverage Criteria in Search-Based Unit Test Generation","year":2015}