Tool-assisted unit test selection based on operational violations
Unit testing, a common step in software development, presents a challenge. When produced manually, unit test suites are often insufficient to identify defects. The main alternative is to use one of a variety of automatic unit test generation tools: these are able to produce and execute a large numbe...
Saved in:
Published in | 18th IEEE International Conference on Automated Software Engineering, 2003. Proceedings pp. 40 - 48 |
---|---|
Main Authors | , |
Format | Conference Proceeding |
Language | English |
Published |
IEEE
2003
|
Subjects | |
Online Access | Get full text |
ISBN | 0769520359 9780769520353 |
ISSN | 1938-4300 |
DOI | 10.1109/ASE.2003.1240293 |
Cover
Loading…
Abstract | Unit testing, a common step in software development, presents a challenge. When produced manually, unit test suites are often insufficient to identify defects. The main alternative is to use one of a variety of automatic unit test generation tools: these are able to produce and execute a large number of test inputs that extensively exercise the unit under test. However, without a priori specifications, developers need to manually verify the outputs of these test executions, which is generally impractical. To reduce this cost, unit test selection techniques may be used to help select a subset of automatically generated test inputs. Then developers can verify their outputs, equip them with test oracles, and put them into the existing test suite. In this paper, we present the operational violation approach for unit test selection, a black-box approach without requiring a priori specifications. The approach dynamically generates operational abstractions from executions of the existing unit test suite. Any automatically generated tests violating the operational abstractions are identified as candidates for selection. In addition, these operational abstractions can guide test generation tools to produce better tests. To experiment dynamic approach, we integrated the use of Daikon (a dynamic invariant detection tool) and Jtest (a commercial Java unit testing tool). An experiment is conducted to assess this approach. |
---|---|
AbstractList | Unit testing, a common step in software development, presents a challenge. When produced manually, unit test suites are often insufficient to identify defects. The main alternative is to use one of a variety of automatic unit test generation tools: these are able to produce and execute a large number of test inputs that extensively exercise the unit under test. However, without a priori specifications, developers need to manually verify the outputs of these test executions, which is generally impractical. To reduce this cost, unit test selection techniques may be used to help select a subset of automatically generated test inputs. Then developers can verify their outputs, equip them with test oracles, and put them into the existing test suite. In this paper, we present the operational violation approach for unit test selection, a black-box approach without requiring a priori specifications. The approach dynamically generates operational abstractions from executions of the existing unit test suite. Any automatically generated tests violating the operational abstractions are identified as candidates for selection. In addition, these operational abstractions can guide test generation tools to produce better tests. To experiment dynamic approach, we integrated the use of Daikon (a dynamic invariant detection tool) and Jtest (a commercial Java unit testing tool). An experiment is conducted to assess this approach. |
Author | Notkin, D. Tao Xie |
Author_xml | – sequence: 1 surname: Tao Xie fullname: Tao Xie organization: Dept. of Comput. Sci. & Eng., Washington Univ., Seattle, WA, USA – sequence: 2 givenname: D. surname: Notkin fullname: Notkin, D. organization: Dept. of Comput. Sci. & Eng., Washington Univ., Seattle, WA, USA |
BookMark | eNotT01Lw0AQXbAFm9a74CV_IHF2J5tkjqFUKxQ8mHuZbDawErMluwr-e6P28j7hwUvEavKTFeJeQi4l0GPzdsgVAOZSFaAIb0QCVUlaAWpaiY0krLMCAW5FEsI7gJa6qjaiab0fMw7BhWj79HNyMY02xDTY0Zro_JR2HJZmEf5iZ_6NeEy_nB__dNiJ9cBjsHdX3or26dDuj9np9fll35wyRxCzASrUXW0Y2RDpWmpl-sXWJAtiWWFP2KnSDKQNLwCKO0l1z2UhVUclbsXD_6yz1p4vs_vg-ft8fYs_JyNK5g |
ContentType | Conference Proceeding |
DBID | 6IE 6IL CBEJK RIE RIL |
DOI | 10.1109/ASE.2003.1240293 |
DatabaseName | IEEE Electronic Library (IEL) Conference Proceedings IEEE Proceedings Order Plan All Online (POP All Online) 1998-present by volume IEEE Xplore All Conference Proceedings IEEE Electronic Library (IEL) IEEE Proceedings Order Plans (POP All) 1998-Present |
DatabaseTitleList | |
Database_xml | – sequence: 1 dbid: RIE name: IEEE Electronic Library (IEL) url: https://proxy.k.utb.cz/login?url=https://ieeexplore.ieee.org/ sourceTypes: Publisher |
DeliveryMethod | fulltext_linktorsrc |
Discipline | Computer Science |
EndPage | 48 |
ExternalDocumentID | 1240293 |
GroupedDBID | 29I 6IE 6IF 6IH 6IK 6IL 6IM 6IN 6J9 AAJGR AAWTH ABLEC ACREN ADYOE ADZIZ AFYQB ALMA_UNASSIGNED_HOLDINGS AMTXH APO BEFXN BFFAM BGNUA BKEBE BPEOZ CBEJK CHZPO IEGSK IPLJI M43 OCL RIE RIL |
ID | FETCH-LOGICAL-i90t-f0735b8ca3ac9958152cd8ca89149a173d93b26cf95caf9502ab198da6412b963 |
IEDL.DBID | RIE |
ISBN | 0769520359 9780769520353 |
ISSN | 1938-4300 |
IngestDate | Tue Aug 26 17:20:29 EDT 2025 |
IsPeerReviewed | false |
IsScholarly | true |
Language | English |
LinkModel | DirectLink |
MergedId | FETCHMERGED-LOGICAL-i90t-f0735b8ca3ac9958152cd8ca89149a173d93b26cf95caf9502ab198da6412b963 |
PageCount | 9 |
ParticipantIDs | ieee_primary_1240293 |
PublicationCentury | 2000 |
PublicationDate | 20030000 |
PublicationDateYYYYMMDD | 2003-01-01 |
PublicationDate_xml | – year: 2003 text: 20030000 |
PublicationDecade | 2000 |
PublicationTitle | 18th IEEE International Conference on Automated Software Engineering, 2003. Proceedings |
PublicationTitleAbbrev | ASE |
PublicationYear | 2003 |
Publisher | IEEE |
Publisher_xml | – name: IEEE |
SSID | ssj0051577 ssj0000455433 |
Score | 1.6906478 |
Snippet | Unit testing, a common step in software development, presents a challenge. When produced manually, unit test suites are often insufficient to identify defects.... |
SourceID | ieee |
SourceType | Publisher |
StartPage | 40 |
SubjectTerms | Automatic testing Computer science Costs Fault detection Formal specifications Java Programming Runtime Software testing |
Title | Tool-assisted unit test selection based on operational violations |
URI | https://ieeexplore.ieee.org/document/1240293 |
hasFullText | 1 |
inHoldings | 1 |
isFullTextHit | |
isPrint | |
link | http://utb.summon.serialssolutions.com/2.0.0/link/0/eLvHCXMwjV3NS8MwFA_bTp6mbuI3OXg0XdMkXXMc4hjCRHDCbiNfBVHWMduLf70v6YcoHryUtFDapO_19z7yfg-hG-6s0o5yIvNYE66oJVrZ3FeBcCGNTKnxjuLyMV288Ie1WPfQbVcL45wLm89c5Ichl28LU_lQ2YT6VIBkfdQHMatrtbp4CpgmgrPuLwwwHbougn2SEc7iuHbZpUg8Z13DvNOeszZ_GcvJ7Pk-sIRGzcN-dF0JoDMfomX7uvVek7eoKnVkPn8xOf53Podo_F3eh5864DpCPbc9RsO2vwNu1H2EZquieCdgXXtRsLgC7cdgmZb4IzTPgS-KPQhaDINi5_ZNXBH7ZH8dCByj1fx-dbcgTcsF8irjkuSg8EJnRjFlpBQZgLvnDlCZBEdK0SmzkukkNbkURsEhTpSmMrMq5TTRoMsnaLAttu4UYUtVTmPjrEgkl6nJACu5YjoGmZjCvWdo5Bdks6tJNTbNWpz_ffkCHYRddCH2cYkG5b5yV2ANlPo6iMEXkUGtjA |
linkProvider | IEEE |
linkToHtml | http://utb.summon.serialssolutions.com/2.0.0/link/0/eLvHCXMwjV3LS8MwGA9zHvQ0dRPf5uDRbk2bdM1xyMbUbQhW2G3kVRBlHbO9-Nf7JX2I4sFLSQulTZqvv-_5-xC6oUYLaQj1eOpLjwqiPSl0aqtAKOOKR0RZQ3G-iKYv9GHJli1029TCGGNc8pnp26GL5etMFdZVNiA2FMDDHbQLuE9ZWa3VeFRAOWE0bP7DANSu7yJoKLFHQ98vjXbOAstaV3Hv1OdhHcH0-WD0PHY8of3qcT_6rjjYmXTQvH7hMtvkrV_ksq8-f3E5_ndGB6j3XeCHnxroOkQtsz5CnbrDA64EvotGSZa9e6Bf282gcQHyj0E3zfGHa58D3xRbGNQYBtnGbCvPIrbh_tIV2EPJZJzcTb2q6YL3yv3cS0HkmYyVCIXinMUA75Y9QMQcTClBhqHmoQwilXKmBBz8QEjCYy0iSgIJ0nyM2utsbU4Q1kSkxFdGs4BTHqkY0JKKUPqwK4Zw7ynq2gVZbUpajVW1Fmd_X75Ge9NkPlvN7heP52jf5dQ5T8gFaufbwlyCbpDLK7clvgDf_LDZ |
openUrl | ctx_ver=Z39.88-2004&ctx_enc=info%3Aofi%2Fenc%3AUTF-8&rfr_id=info%3Asid%2Fsummon.serialssolutions.com&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.genre=proceeding&rft.title=18th+IEEE+International+Conference+on+Automated+Software+Engineering%2C+2003.+Proceedings&rft.atitle=Tool-assisted+unit+test+selection+based+on+operational+violations&rft.au=Tao+Xie&rft.au=Notkin%2C+D.&rft.date=2003-01-01&rft.pub=IEEE&rft.isbn=9780769520353&rft.issn=1938-4300&rft.spage=40&rft.epage=48&rft_id=info:doi/10.1109%2FASE.2003.1240293&rft.externalDocID=1240293 |
thumbnail_l | http://covers-cdn.summon.serialssolutions.com/index.aspx?isbn=/lc.gif&issn=1938-4300&client=summon |
thumbnail_m | http://covers-cdn.summon.serialssolutions.com/index.aspx?isbn=/mc.gif&issn=1938-4300&client=summon |
thumbnail_s | http://covers-cdn.summon.serialssolutions.com/index.aspx?isbn=/sc.gif&issn=1938-4300&client=summon |