Loading…
FAST: Formal specification driven test harness generation
Full coverage testing is commonly perceived as a mission impossible because software is more complex than ever and produces vast space to cover. This paper introduces a novel approach which uses ACSL formal specifications to define and reach test coverage, especially in the sense of data coverage. B...
Saved in:
Main Authors: | , , , , , |
---|---|
Format: | Conference Proceeding |
Language: | English |
Subjects: | |
Online Access: | Request full text |
Tags: |
Add Tag
No Tags, Be the first to tag this record!
|
cited_by | |
---|---|
cites | |
container_end_page | 42 |
container_issue | |
container_start_page | 33 |
container_title | |
container_volume | |
creator | Jiong Gong Yun Wang Haihao Shen Xu Deng Wei Wang Xiangning Ma |
description | Full coverage testing is commonly perceived as a mission impossible because software is more complex than ever and produces vast space to cover. This paper introduces a novel approach which uses ACSL formal specifications to define and reach test coverage, especially in the sense of data coverage. Based on this approach, we create a tool chain named FAST which can automatically generate test harness code and verify program's correctness, turning formal specification and static verification into coverage definition and dynamic testing. FAST ensures completeness of test coverage and result checking by leveraging the formal specifications. We have applied this methodology and tool chain to a real-world mission critical software project that requires high quality standard. Our practice shows using FAST detects extra code bugs that escape from other validation methods such as manually-written tests and random/fuzz tests. It also costs much less human efforts with higher bug detection rate and higher code and data coverage. |
doi_str_mv | 10.1109/MEMCOD.2012.6292298 |
format | conference_proceeding |
fullrecord | <record><control><sourceid>ieee_6IE</sourceid><recordid>TN_cdi_ieee_primary_6292298</recordid><sourceformat>XML</sourceformat><sourcesystem>PC</sourcesystem><ieee_id>6292298</ieee_id><sourcerecordid>6292298</sourcerecordid><originalsourceid>FETCH-LOGICAL-a170t-d65408dc8baf73cd52f39142e1d8e5ad91cfb543359ce302f7258f9e265cf9e53</originalsourceid><addsrcrecordid>eNo1T81KAzEYjEhBrfsEveQFds2Xn93EW1m7KrT0YHsuafJFI-22JIvg27tonTkMMwMDQ8gMWAXAzMNqsWrXTxVnwKuaG86NviJ3IOtGwEh2TQrT6H8v9Q0pcv5kI8YUFLslppu_bR5pd0pHe6D5jC6G6OwQTz31KX5hTwfMA_2wqcec6Tv2mH7rezIJ9pCxuOiUbLvFpn0pl-vn13a-LC00bCh9rSTT3um9DY1wXvEgDEiO4DUq6w24sFdSCGUcCsZDw5UOBnmt3ChKTMnsbzci4u6c4tGm793lrfgByAJIWA</addsrcrecordid><sourcetype>Publisher</sourcetype><iscdi>true</iscdi><recordtype>conference_proceeding</recordtype></control><display><type>conference_proceeding</type><title>FAST: Formal specification driven test harness generation</title><source>IEEE Electronic Library (IEL) Conference Proceedings</source><creator>Jiong Gong ; Yun Wang ; Haihao Shen ; Xu Deng ; Wei Wang ; Xiangning Ma</creator><creatorcontrib>Jiong Gong ; Yun Wang ; Haihao Shen ; Xu Deng ; Wei Wang ; Xiangning Ma</creatorcontrib><description>Full coverage testing is commonly perceived as a mission impossible because software is more complex than ever and produces vast space to cover. This paper introduces a novel approach which uses ACSL formal specifications to define and reach test coverage, especially in the sense of data coverage. Based on this approach, we create a tool chain named FAST which can automatically generate test harness code and verify program's correctness, turning formal specification and static verification into coverage definition and dynamic testing. FAST ensures completeness of test coverage and result checking by leveraging the formal specifications. We have applied this methodology and tool chain to a real-world mission critical software project that requires high quality standard. Our practice shows using FAST detects extra code bugs that escape from other validation methods such as manually-written tests and random/fuzz tests. It also costs much less human efforts with higher bug detection rate and higher code and data coverage.</description><identifier>ISBN: 9781467313148</identifier><identifier>ISBN: 1467313149</identifier><identifier>EISBN: 1467313130</identifier><identifier>EISBN: 9781467313131</identifier><identifier>DOI: 10.1109/MEMCOD.2012.6292298</identifier><language>eng</language><publisher>IEEE</publisher><subject>ACSL ; Data Coverage ; Formal Specification Language ; Formal specifications ; Generators ; Manuals ; Mission critical systems ; Resource management ; Software ; Test Generation ; Test Harness ; Testing</subject><ispartof>Tenth ACM/IEEE International Conference on Formal Methods and Models for Codesign (MEMCODE2012), 2012, p.33-42</ispartof><woscitedreferencessubscribed>false</woscitedreferencessubscribed></display><links><openurl>$$Topenurl_article</openurl><openurlfulltext>$$Topenurlfull_article</openurlfulltext><thumbnail>$$Tsyndetics_thumb_exl</thumbnail><linktohtml>$$Uhttps://ieeexplore.ieee.org/document/6292298$$EHTML$$P50$$Gieee$$H</linktohtml><link.rule.ids>309,310,776,780,785,786,2052,27902,54895</link.rule.ids><linktorsrc>$$Uhttps://ieeexplore.ieee.org/document/6292298$$EView_record_in_IEEE$$FView_record_in_$$GIEEE</linktorsrc></links><search><creatorcontrib>Jiong Gong</creatorcontrib><creatorcontrib>Yun Wang</creatorcontrib><creatorcontrib>Haihao Shen</creatorcontrib><creatorcontrib>Xu Deng</creatorcontrib><creatorcontrib>Wei Wang</creatorcontrib><creatorcontrib>Xiangning Ma</creatorcontrib><title>FAST: Formal specification driven test harness generation</title><title>Tenth ACM/IEEE International Conference on Formal Methods and Models for Codesign (MEMCODE2012)</title><addtitle>MEMCOD</addtitle><description>Full coverage testing is commonly perceived as a mission impossible because software is more complex than ever and produces vast space to cover. This paper introduces a novel approach which uses ACSL formal specifications to define and reach test coverage, especially in the sense of data coverage. Based on this approach, we create a tool chain named FAST which can automatically generate test harness code and verify program's correctness, turning formal specification and static verification into coverage definition and dynamic testing. FAST ensures completeness of test coverage and result checking by leveraging the formal specifications. We have applied this methodology and tool chain to a real-world mission critical software project that requires high quality standard. Our practice shows using FAST detects extra code bugs that escape from other validation methods such as manually-written tests and random/fuzz tests. It also costs much less human efforts with higher bug detection rate and higher code and data coverage.</description><subject>ACSL</subject><subject>Data Coverage</subject><subject>Formal Specification Language</subject><subject>Formal specifications</subject><subject>Generators</subject><subject>Manuals</subject><subject>Mission critical systems</subject><subject>Resource management</subject><subject>Software</subject><subject>Test Generation</subject><subject>Test Harness</subject><subject>Testing</subject><isbn>9781467313148</isbn><isbn>1467313149</isbn><isbn>1467313130</isbn><isbn>9781467313131</isbn><fulltext>true</fulltext><rsrctype>conference_proceeding</rsrctype><creationdate>2012</creationdate><recordtype>conference_proceeding</recordtype><sourceid>6IE</sourceid><recordid>eNo1T81KAzEYjEhBrfsEveQFds2Xn93EW1m7KrT0YHsuafJFI-22JIvg27tonTkMMwMDQ8gMWAXAzMNqsWrXTxVnwKuaG86NviJ3IOtGwEh2TQrT6H8v9Q0pcv5kI8YUFLslppu_bR5pd0pHe6D5jC6G6OwQTz31KX5hTwfMA_2wqcec6Tv2mH7rezIJ9pCxuOiUbLvFpn0pl-vn13a-LC00bCh9rSTT3um9DY1wXvEgDEiO4DUq6w24sFdSCGUcCsZDw5UOBnmt3ChKTMnsbzci4u6c4tGm793lrfgByAJIWA</recordid><startdate>201207</startdate><enddate>201207</enddate><creator>Jiong Gong</creator><creator>Yun Wang</creator><creator>Haihao Shen</creator><creator>Xu Deng</creator><creator>Wei Wang</creator><creator>Xiangning Ma</creator><general>IEEE</general><scope>6IE</scope><scope>6IL</scope><scope>CBEJK</scope><scope>RIE</scope><scope>RIL</scope></search><sort><creationdate>201207</creationdate><title>FAST: Formal specification driven test harness generation</title><author>Jiong Gong ; Yun Wang ; Haihao Shen ; Xu Deng ; Wei Wang ; Xiangning Ma</author></sort><facets><frbrtype>5</frbrtype><frbrgroupid>cdi_FETCH-LOGICAL-a170t-d65408dc8baf73cd52f39142e1d8e5ad91cfb543359ce302f7258f9e265cf9e53</frbrgroupid><rsrctype>conference_proceedings</rsrctype><prefilter>conference_proceedings</prefilter><language>eng</language><creationdate>2012</creationdate><topic>ACSL</topic><topic>Data Coverage</topic><topic>Formal Specification Language</topic><topic>Formal specifications</topic><topic>Generators</topic><topic>Manuals</topic><topic>Mission critical systems</topic><topic>Resource management</topic><topic>Software</topic><topic>Test Generation</topic><topic>Test Harness</topic><topic>Testing</topic><toplevel>online_resources</toplevel><creatorcontrib>Jiong Gong</creatorcontrib><creatorcontrib>Yun Wang</creatorcontrib><creatorcontrib>Haihao Shen</creatorcontrib><creatorcontrib>Xu Deng</creatorcontrib><creatorcontrib>Wei Wang</creatorcontrib><creatorcontrib>Xiangning Ma</creatorcontrib><collection>IEEE Electronic Library (IEL) Conference Proceedings</collection><collection>IEEE Proceedings Order Plan All Online (POP All Online) 1998-present by volume</collection><collection>IEEE Xplore All Conference Proceedings</collection><collection>IEEE Electronic Library (IEL)</collection><collection>IEEE Proceedings Order Plans (POP All) 1998-Present</collection></facets><delivery><delcategory>Remote Search Resource</delcategory><fulltext>fulltext_linktorsrc</fulltext></delivery><addata><au>Jiong Gong</au><au>Yun Wang</au><au>Haihao Shen</au><au>Xu Deng</au><au>Wei Wang</au><au>Xiangning Ma</au><format>book</format><genre>proceeding</genre><ristype>CONF</ristype><atitle>FAST: Formal specification driven test harness generation</atitle><btitle>Tenth ACM/IEEE International Conference on Formal Methods and Models for Codesign (MEMCODE2012)</btitle><stitle>MEMCOD</stitle><date>2012-07</date><risdate>2012</risdate><spage>33</spage><epage>42</epage><pages>33-42</pages><isbn>9781467313148</isbn><isbn>1467313149</isbn><eisbn>1467313130</eisbn><eisbn>9781467313131</eisbn><abstract>Full coverage testing is commonly perceived as a mission impossible because software is more complex than ever and produces vast space to cover. This paper introduces a novel approach which uses ACSL formal specifications to define and reach test coverage, especially in the sense of data coverage. Based on this approach, we create a tool chain named FAST which can automatically generate test harness code and verify program's correctness, turning formal specification and static verification into coverage definition and dynamic testing. FAST ensures completeness of test coverage and result checking by leveraging the formal specifications. We have applied this methodology and tool chain to a real-world mission critical software project that requires high quality standard. Our practice shows using FAST detects extra code bugs that escape from other validation methods such as manually-written tests and random/fuzz tests. It also costs much less human efforts with higher bug detection rate and higher code and data coverage.</abstract><pub>IEEE</pub><doi>10.1109/MEMCOD.2012.6292298</doi><tpages>10</tpages></addata></record> |
fulltext | fulltext_linktorsrc |
identifier | ISBN: 9781467313148 |
ispartof | Tenth ACM/IEEE International Conference on Formal Methods and Models for Codesign (MEMCODE2012), 2012, p.33-42 |
issn | |
language | eng |
recordid | cdi_ieee_primary_6292298 |
source | IEEE Electronic Library (IEL) Conference Proceedings |
subjects | ACSL Data Coverage Formal Specification Language Formal specifications Generators Manuals Mission critical systems Resource management Software Test Generation Test Harness Testing |
title | FAST: Formal specification driven test harness generation |
url | http://sfxeu10.hosted.exlibrisgroup.com/loughborough?ctx_ver=Z39.88-2004&ctx_enc=info:ofi/enc:UTF-8&ctx_tim=2025-02-07T12%3A39%3A44IST&url_ver=Z39.88-2004&url_ctx_fmt=infofi/fmt:kev:mtx:ctx&rfr_id=info:sid/primo.exlibrisgroup.com:primo3-Article-ieee_6IE&rft_val_fmt=info:ofi/fmt:kev:mtx:book&rft.genre=proceeding&rft.atitle=FAST:%20Formal%20specification%20driven%20test%20harness%20generation&rft.btitle=Tenth%20ACM/IEEE%20International%20Conference%20on%20Formal%20Methods%20and%20Models%20for%20Codesign%20(MEMCODE2012)&rft.au=Jiong%20Gong&rft.date=2012-07&rft.spage=33&rft.epage=42&rft.pages=33-42&rft.isbn=9781467313148&rft.isbn_list=1467313149&rft_id=info:doi/10.1109/MEMCOD.2012.6292298&rft.eisbn=1467313130&rft.eisbn_list=9781467313131&rft_dat=%3Cieee_6IE%3E6292298%3C/ieee_6IE%3E%3Cgrp_id%3Ecdi_FETCH-LOGICAL-a170t-d65408dc8baf73cd52f39142e1d8e5ad91cfb543359ce302f7258f9e265cf9e53%3C/grp_id%3E%3Coa%3E%3C/oa%3E%3Curl%3E%3C/url%3E&rft_id=info:oai/&rft_id=info:pmid/&rft_ieee_id=6292298&rfr_iscdi=true |