{"id":"https://openalex.org/W4407026518","doi":"https://doi.org/10.1109/tse.2025.3537337","title":"How Do Developers Structure Unit Test Cases? An Empirical Analysis of the AAA Pattern in Open Source Projects","display_name":"How Do Developers Structure Unit Test Cases? An Empirical Analysis of the AAA Pattern in Open Source Projects","publication_year":2025,"publication_date":"2025-01-31","ids":{"openalex":"https://openalex.org/W4407026518","doi":"https://doi.org/10.1109/tse.2025.3537337"},"language":"en","primary_location":{"id":"doi:10.1109/tse.2025.3537337","is_oa":false,"landing_page_url":"https://doi.org/10.1109/tse.2025.3537337","pdf_url":null,"source":{"id":"https://openalex.org/S8351582","display_name":"IEEE Transactions on Software Engineering","issn_l":"0098-5589","issn":["0098-5589","1939-3520","2326-3881"],"is_oa":false,"is_in_doaj":false,"is_core":true,"host_organization":"https://openalex.org/P4310320439","host_organization_name":"IEEE Computer Society","host_organization_lineage":["https://openalex.org/P4310320439","https://openalex.org/P4310319808"],"host_organization_lineage_names":["IEEE Computer Society","Institute of Electrical and Electronics Engineers"],"type":"journal"},"license":null,"license_id":null,"version":"publishedVersion","is_accepted":true,"is_published":true,"raw_source_name":"IEEE Transactions on Software Engineering","raw_type":"journal-article"},"type":"article","indexed_in":["crossref"],"open_access":{"is_oa":false,"oa_status":"closed","oa_url":null,"any_repository_has_fulltext":false},"authorships":[{"author_position":"first","author":{"id":"https://openalex.org/A5033109788","display_name":"Chenhao Wei","orcid":"https://orcid.org/0000-0002-2707-120X"},"institutions":[{"id":"https://openalex.org/I108468826","display_name":"Stevens Institute of Technology","ror":"https://ror.org/02z43xh36","country_code":"US","type":"education","lineage":["https://openalex.org/I108468826"]}],"countries":["US"],"is_corresponding":true,"raw_author_name":"Chenhao Wei","raw_affiliation_strings":["Department of Systems and Enterprises, Stevens Institute of Technology, Hoboken, NJ, USA","School of Systems and Enterprises, Stevens Institute of Technology, Hoboken, NJ, USA"],"raw_orcid":"https://orcid.org/0000-0002-2707-120X","affiliations":[{"raw_affiliation_string":"Department of Systems and Enterprises, Stevens Institute of Technology, Hoboken, NJ, USA","institution_ids":["https://openalex.org/I108468826"]},{"raw_affiliation_string":"School of Systems and Enterprises, Stevens Institute of Technology, Hoboken, NJ, USA","institution_ids":["https://openalex.org/I108468826"]}]},{"author_position":"middle","author":{"id":"https://openalex.org/A5000773809","display_name":"Lu Xiao","orcid":"https://orcid.org/0000-0002-3202-3077"},"institutions":[{"id":"https://openalex.org/I108468826","display_name":"Stevens Institute of Technology","ror":"https://ror.org/02z43xh36","country_code":"US","type":"education","lineage":["https://openalex.org/I108468826"]}],"countries":["US"],"is_corresponding":false,"raw_author_name":"Lu Xiao","raw_affiliation_strings":["Department of Systems and Enterprises, Stevens Institute of Technology, Hoboken, NJ, USA","School of Systems and Enterprises, Stevens Institute of Technology, Hoboken, NJ, USA"],"raw_orcid":"https://orcid.org/0000-0002-3202-3077","affiliations":[{"raw_affiliation_string":"Department of Systems and Enterprises, Stevens Institute of Technology, Hoboken, NJ, USA","institution_ids":["https://openalex.org/I108468826"]},{"raw_affiliation_string":"School of Systems and Enterprises, Stevens Institute of Technology, Hoboken, NJ, USA","institution_ids":["https://openalex.org/I108468826"]}]},{"author_position":"middle","author":{"id":"https://openalex.org/A5072070511","display_name":"Tingting Yu","orcid":"https://orcid.org/0000-0002-9461-4251"},"institutions":[{"id":"https://openalex.org/I63135867","display_name":"University of Cincinnati","ror":"https://ror.org/01e3m7079","country_code":"US","type":"education","lineage":["https://openalex.org/I63135867"]}],"countries":["US"],"is_corresponding":false,"raw_author_name":"Tingting Yu","raw_affiliation_strings":["Department of Computer Science and Engineering, University of Cincinnati, Cincinnati, OH, USA","Department of EECS, University of Cincinnati, Cincinnati, OH, USA"],"raw_orcid":"https://orcid.org/0000-0002-9461-4251","affiliations":[{"raw_affiliation_string":"Department of Computer Science and Engineering, University of Cincinnati, Cincinnati, OH, USA","institution_ids":["https://openalex.org/I63135867"]},{"raw_affiliation_string":"Department of EECS, University of Cincinnati, Cincinnati, OH, USA","institution_ids":["https://openalex.org/I63135867"]}]},{"author_position":"middle","author":{"id":"https://openalex.org/A5101630133","display_name":"Sunny Wong","orcid":"https://orcid.org/0000-0002-1508-7095"},"institutions":[],"countries":[],"is_corresponding":false,"raw_author_name":"Sunny Wong","raw_affiliation_strings":["Envestnet, Inc., Berwyn, PA, USA"],"raw_orcid":"https://orcid.org/0000-0002-1508-7095","affiliations":[{"raw_affiliation_string":"Envestnet, Inc., Berwyn, PA, USA","institution_ids":[]}]},{"author_position":"last","author":{"id":"https://openalex.org/A5011120227","display_name":"Abigail Clune","orcid":null},"institutions":[{"id":"https://openalex.org/I21160419","display_name":"Ansys (United States)","ror":"https://ror.org/05cf5b117","country_code":"US","type":"company","lineage":["https://openalex.org/I21160419"]}],"countries":["US"],"is_corresponding":false,"raw_author_name":"Abigail Clune","raw_affiliation_strings":["AGI, Ansys Company, Exton, PA, USA","AGI, an Ansys Company, Exton, PA, USA"],"raw_orcid":"https://orcid.org/0009-0009-3255-3359","affiliations":[{"raw_affiliation_string":"AGI, Ansys Company, Exton, PA, USA","institution_ids":["https://openalex.org/I21160419"]},{"raw_affiliation_string":"AGI, an Ansys Company, Exton, PA, USA","institution_ids":["https://openalex.org/I21160419"]}]}],"institutions":[],"countries_distinct_count":1,"institutions_distinct_count":5,"corresponding_author_ids":["https://openalex.org/A5033109788"],"corresponding_institution_ids":["https://openalex.org/I108468826"],"apc_list":null,"apc_paid":null,"fwci":8.7153,"has_fulltext":false,"cited_by_count":3,"citation_normalized_percentile":{"value":0.96741963,"is_in_top_1_percent":false,"is_in_top_10_percent":true},"cited_by_percentile_year":{"min":95,"max":98},"biblio":{"volume":"51","issue":"4","first_page":"1007","last_page":"1038"},"is_retracted":false,"is_paratext":false,"is_xpac":false,"primary_topic":{"id":"https://openalex.org/T10430","display_name":"Software Engineering Techniques and Practices","score":0.9549000263214111,"subfield":{"id":"https://openalex.org/subfields/1710","display_name":"Information Systems"},"field":{"id":"https://openalex.org/fields/17","display_name":"Computer Science"},"domain":{"id":"https://openalex.org/domains/3","display_name":"Physical Sciences"}},"topics":[{"id":"https://openalex.org/T10430","display_name":"Software Engineering Techniques and Practices","score":0.9549000263214111,"subfield":{"id":"https://openalex.org/subfields/1710","display_name":"Information Systems"},"field":{"id":"https://openalex.org/fields/17","display_name":"Computer Science"},"domain":{"id":"https://openalex.org/domains/3","display_name":"Physical Sciences"}}],"keywords":[{"id":"https://openalex.org/keywords/computer-science","display_name":"Computer science","score":0.8131116628646851},{"id":"https://openalex.org/keywords/unit-testing","display_name":"Unit testing","score":0.6173529028892517},{"id":"https://openalex.org/keywords/open-source","display_name":"Open source","score":0.6050347089767456},{"id":"https://openalex.org/keywords/test","display_name":"Test (biology)","score":0.45910385251045227},{"id":"https://openalex.org/keywords/software-engineering","display_name":"Software engineering","score":0.4220081567764282},{"id":"https://openalex.org/keywords/programming-language","display_name":"Programming language","score":0.2905283570289612},{"id":"https://openalex.org/keywords/software","display_name":"Software","score":0.22290462255477905}],"concepts":[{"id":"https://openalex.org/C41008148","wikidata":"https://www.wikidata.org/wiki/Q21198","display_name":"Computer science","level":0,"score":0.8131116628646851},{"id":"https://openalex.org/C148027188","wikidata":"https://www.wikidata.org/wiki/Q907375","display_name":"Unit testing","level":3,"score":0.6173529028892517},{"id":"https://openalex.org/C3018397939","wikidata":"https://www.wikidata.org/wiki/Q3644502","display_name":"Open source","level":3,"score":0.6050347089767456},{"id":"https://openalex.org/C2777267654","wikidata":"https://www.wikidata.org/wiki/Q3519023","display_name":"Test (biology)","level":2,"score":0.45910385251045227},{"id":"https://openalex.org/C115903868","wikidata":"https://www.wikidata.org/wiki/Q80993","display_name":"Software engineering","level":1,"score":0.4220081567764282},{"id":"https://openalex.org/C199360897","wikidata":"https://www.wikidata.org/wiki/Q9143","display_name":"Programming language","level":1,"score":0.2905283570289612},{"id":"https://openalex.org/C2777904410","wikidata":"https://www.wikidata.org/wiki/Q7397","display_name":"Software","level":2,"score":0.22290462255477905},{"id":"https://openalex.org/C86803240","wikidata":"https://www.wikidata.org/wiki/Q420","display_name":"Biology","level":0,"score":0.0},{"id":"https://openalex.org/C151730666","wikidata":"https://www.wikidata.org/wiki/Q7205","display_name":"Paleontology","level":1,"score":0.0}],"mesh":[],"locations_count":1,"locations":[{"id":"doi:10.1109/tse.2025.3537337","is_oa":false,"landing_page_url":"https://doi.org/10.1109/tse.2025.3537337","pdf_url":null,"source":{"id":"https://openalex.org/S8351582","display_name":"IEEE Transactions on Software Engineering","issn_l":"0098-5589","issn":["0098-5589","1939-3520","2326-3881"],"is_oa":false,"is_in_doaj":false,"is_core":true,"host_organization":"https://openalex.org/P4310320439","host_organization_name":"IEEE Computer Society","host_organization_lineage":["https://openalex.org/P4310320439","https://openalex.org/P4310319808"],"host_organization_lineage_names":["IEEE Computer Society","Institute of Electrical and Electronics Engineers"],"type":"journal"},"license":null,"license_id":null,"version":"publishedVersion","is_accepted":true,"is_published":true,"raw_source_name":"IEEE Transactions on Software Engineering","raw_type":"journal-article"}],"best_oa_location":null,"sustainable_development_goals":[],"awards":[{"id":"https://openalex.org/G5384148870","display_name":null,"funder_award_id":"CCF-1909763","funder_id":"https://openalex.org/F4320306076","funder_display_name":"National Science Foundation"},{"id":"https://openalex.org/G5853651532","display_name":null,"funder_award_id":"CCF-1909085","funder_id":"https://openalex.org/F4320306076","funder_display_name":"National Science Foundation"}],"funders":[{"id":"https://openalex.org/F4320306076","display_name":"National Science Foundation","ror":"https://ror.org/021nxhr62"}],"has_content":{"pdf":false,"grobid_xml":false},"content_urls":null,"referenced_works_count":36,"referenced_works":["https://openalex.org/W2003148182","https://openalex.org/W2004559557","https://openalex.org/W2028897749","https://openalex.org/W2035894543","https://openalex.org/W2056952837","https://openalex.org/W2137086189","https://openalex.org/W2154897437","https://openalex.org/W2167066978","https://openalex.org/W2324026571","https://openalex.org/W2353739181","https://openalex.org/W2547621596","https://openalex.org/W2764176914","https://openalex.org/W2767472738","https://openalex.org/W2767981550","https://openalex.org/W2772141859","https://openalex.org/W2883645405","https://openalex.org/W2897824921","https://openalex.org/W2900961173","https://openalex.org/W2949564314","https://openalex.org/W2954265135","https://openalex.org/W2974603634","https://openalex.org/W2976801044","https://openalex.org/W3006100760","https://openalex.org/W3011809133","https://openalex.org/W3106077701","https://openalex.org/W3116410853","https://openalex.org/W3176572490","https://openalex.org/W3201942531","https://openalex.org/W4285116426","https://openalex.org/W4323065189","https://openalex.org/W4391145786","https://openalex.org/W6631244237","https://openalex.org/W6677041524","https://openalex.org/W6681076054","https://openalex.org/W6725714994","https://openalex.org/W6772349474"],"related_works":["https://openalex.org/W4391375266","https://openalex.org/W2899084033","https://openalex.org/W2748952813","https://openalex.org/W2615173508","https://openalex.org/W2390279801","https://openalex.org/W4391913857","https://openalex.org/W2358668433","https://openalex.org/W1971817039","https://openalex.org/W4390788373","https://openalex.org/W2054637161"],"abstract_inverted_index":{"The":[0,173],"AAA":[1,35,45,95,104,122,140,154,197],"(Arrange,":[2],"Act,":[3],"Assert)":[4],"pattern":[5,36,141],"provides":[6,160],"a":[7,161],"unified":[8],"structure":[9],"for":[10,195],"unit":[11,62,200],"test":[12,63,75,91,115,165,170],"cases,":[13,76],"potentially":[14],"benefiting":[15],"comprehension":[16],"and":[17,22,41,47,80,105,150],"maintenance.":[18],"However,":[19],"its":[20],"adoption":[21],"implementation":[23],"in":[24,145,199],"practice":[25,198],"remain":[26],"insufficiently":[27],"understood.":[28],"This":[29],"study":[30,58],"investigates":[31],"the":[32,94,139,191],"prevalence":[33],"of":[34,90,177,193],"usage,":[37],"identifies":[38],"recurring":[39,100],"deviations":[40,148],"design":[42,107,151],"issues":[43,108,152],"within":[44,109,153],"structures,":[46],"assesses":[48],"developers\u2019":[49],"receptiveness":[50],"to":[51,83,129],"AAA-based":[52,185],"improvements.":[53],"We":[54,71,97],"conducted":[55],"an":[56],"empirical":[57],"on":[59,164],"735":[60],"real-life":[61],"cases":[64,92],"randomly":[65],"selected":[66],"from":[67,103,149],"seven":[68],"open-source":[69],"projects.":[70],"manually":[72],"analyzed":[73],"these":[74],"identified":[77,98],"AAA-related":[78],"issues,":[79],"proposed":[81],"fixes":[82],"developers.":[84],"Our":[85,158],"analysis":[86,159],"found":[87],"that":[88,138,182],"77%":[89],"follow":[93],"structure.":[96],"three":[99],"patterns":[101,155],"deviating":[102],"four":[106],"A":[110],"blocks.":[111],"Comparison":[112],"with":[113],"classic":[114],"smells":[116],"revealed":[117],"unique":[118],"insights":[119],"provided":[120],"by":[121],"analysis.":[123,172],"Of":[124],"27":[125],"improvement":[126,179],"proposals":[127,180],"sent":[128],"developers,":[130],"78%":[131],"received":[132],"positive":[133],"feedback.":[134],"These":[135,187],"findings":[136,188],"show":[137],"is":[142],"widely":[143],"adopted":[144],"practice,":[146],"but":[147],"are":[156],"common.":[157],"novel":[162],"perspective":[163],"case":[166],"quality,":[167],"complementing":[168],"traditional":[169],"smell":[171],"high":[174],"acceptance":[175],"rate":[176],"our":[178],"suggests":[181],"developers":[183],"value":[184],"enhancements.":[186],"can":[189],"guide":[190],"development":[192],"tools":[194],"improving":[196],"tests.":[201]},"counts_by_year":[{"year":2026,"cited_by_count":1},{"year":2025,"cited_by_count":2}],"updated_date":"2026-04-24T08:23:43.765630","created_date":"2025-02-01T00:00:00"}
