A Trend Analysis of Test Smells in Python Test Code Over Commit History

Software testing is an essential activity for developing and maintaining high-quality software. Unit testing with test code (test cases) is a fundamental testing activity, and developers can test their production code whenever they create or modify the code. However, such quality assurance relies on...

Celý popis

Uloženo v:
Podrobná bibliografie
Vydáno v:Proceedings (EUROMICRO Conference on Software Engineering and Advanced Applications. Online) s. 310 - 314
Hlavní autoři: Fushihara, Yuki, Aman, Hirohisa, Amasaki, Sousuke, Yokogawa, Tomoyuki, Kawahara, Minoru
Médium: Konferenční příspěvek
Jazyk:angličtina
Vydáno: IEEE 06.09.2023
Témata:
ISSN:2376-9521
On-line přístup:Získat plný text
Tagy: Přidat tag
Žádné tagy, Buďte první, kdo vytvoří štítek k tomuto záznamu!
Abstract Software testing is an essential activity for developing and maintaining high-quality software. Unit testing with test code (test cases) is a fundamental testing activity, and developers can test their production code whenever they create or modify the code. However, such quality assurance relies on the correctness of the test code. If a test code had a flaw, it would mislead the developers about the hidden faults and prevent early detection of the faults. This paper focuses on "test smells," which may cause test code flaws in Python programs, and analyzes their changing trends over commit history (code changes) toward better Python test code management. Through an empirical data analysis of 100 open-source projects, the paper reports the following findings: (1) a few kinds of test smells constitute the majority of smells detected in the studied projects, and (2) most kinds of smells tend to increase over commits, i.e., many test smells are likely to have remained in test code as technical debt.
AbstractList Software testing is an essential activity for developing and maintaining high-quality software. Unit testing with test code (test cases) is a fundamental testing activity, and developers can test their production code whenever they create or modify the code. However, such quality assurance relies on the correctness of the test code. If a test code had a flaw, it would mislead the developers about the hidden faults and prevent early detection of the faults. This paper focuses on "test smells," which may cause test code flaws in Python programs, and analyzes their changing trends over commit history (code changes) toward better Python test code management. Through an empirical data analysis of 100 open-source projects, the paper reports the following findings: (1) a few kinds of test smells constitute the majority of smells detected in the studied projects, and (2) most kinds of smells tend to increase over commits, i.e., many test smells are likely to have remained in test code as technical debt.
Author Fushihara, Yuki
Kawahara, Minoru
Yokogawa, Tomoyuki
Aman, Hirohisa
Amasaki, Sousuke
Author_xml – sequence: 1
  givenname: Yuki
  surname: Fushihara
  fullname: Fushihara, Yuki
  organization: Ehime University,Faculty of Engineering,Department of Computer Science,Ehime,Japan,790-8577
– sequence: 2
  givenname: Hirohisa
  surname: Aman
  fullname: Aman, Hirohisa
  organization: Ehime University,Center for Information Technology,Ehime,Japan,790-8577
– sequence: 3
  givenname: Sousuke
  surname: Amasaki
  fullname: Amasaki, Sousuke
  organization: Okayama Prefectural University,Faculty of Computer Science and Systems Engineering,Okayama,Japan,719-1197
– sequence: 4
  givenname: Tomoyuki
  surname: Yokogawa
  fullname: Yokogawa, Tomoyuki
  organization: Okayama Prefectural University,Faculty of Computer Science and Systems Engineering,Okayama,Japan,719-1197
– sequence: 5
  givenname: Minoru
  surname: Kawahara
  fullname: Kawahara, Minoru
  organization: Ehime University,Center for Information Technology,Ehime,Japan,790-8577
BookMark eNotjFFLwzAUhaMoOOf-wR7yBzpvctOkeSxjbsJgwurzSJtbjLSpNEXov3cwn87hOx_nmT3EIRJjawEbIcC-nndlqUEZu5EgcQMAubpjK2tsgTmgkpjLe7aQaHRmcyme2Cql76uGKMFgsWD7klcjRc_L6Lo5hcSHlleUJn7uqesSD5F_zNPXEG90O3jip18ar63vw8QPIU3DOL-wx9Z1iVb_uWSfb7tqe8iOp_37tjxmQQg7ZQZB1cY78lrVDYkGLHmXN1BbbEyBpKFW1jdOyVoYr1HLQlw30VpwlDtcsvXtNxDR5WcMvRvniwA0QkOBfwHrTlQ
CODEN IEEPAD
ContentType Conference Proceeding
DBID 6IE
6IL
CBEJK
RIE
RIL
DOI 10.1109/SEAA60479.2023.00054
DatabaseName IEEE Electronic Library (IEL) Conference Proceedings
IEEE Xplore POP ALL
IEEE Xplore All Conference Proceedings
IEEE/IET Electronic Library
IEEE Proceedings Order Plans (POP All) 1998-Present
DatabaseTitleList
Database_xml – sequence: 1
  dbid: RIE
  name: IEEE/IET Electronic Library
  url: https://ieeexplore.ieee.org/
  sourceTypes: Publisher
DeliveryMethod fulltext_linktorsrc
Discipline Computer Science
EISBN 9798350342352
EISSN 2376-9521
EndPage 314
ExternalDocumentID 10371608
Genre orig-research
GroupedDBID 6IE
6IL
6IN
ABLEC
ADZIZ
ALMA_UNASSIGNED_HOLDINGS
BEFXN
BFFAM
BGNUA
BKEBE
BPEOZ
CBEJK
CHZPO
IEGSK
OCL
RIE
RIL
ID FETCH-LOGICAL-i119t-7304b7daed64bce1c09eda5c0b93c783e60b49dca42b17d636281b931f90ae5a3
IEDL.DBID RIE
IngestDate Wed Aug 27 02:29:54 EDT 2025
IsPeerReviewed false
IsScholarly false
Language English
LinkModel DirectLink
MergedId FETCHMERGED-LOGICAL-i119t-7304b7daed64bce1c09eda5c0b93c783e60b49dca42b17d636281b931f90ae5a3
PageCount 5
ParticipantIDs ieee_primary_10371608
PublicationCentury 2000
PublicationDate 2023-Sept.-6
PublicationDateYYYYMMDD 2023-09-06
PublicationDate_xml – month: 09
  year: 2023
  text: 2023-Sept.-6
  day: 06
PublicationDecade 2020
PublicationTitle Proceedings (EUROMICRO Conference on Software Engineering and Advanced Applications. Online)
PublicationTitleAbbrev SEAA
PublicationYear 2023
Publisher IEEE
Publisher_xml – name: IEEE
SSID ssj0003320738
Score 1.8435093
Snippet Software testing is an essential activity for developing and maintaining high-quality software. Unit testing with test code (test cases) is a fundamental...
SourceID ieee
SourceType Publisher
StartPage 310
SubjectTerms Codes
commit history
Data analysis
Production
Quality assurance
Software
Software testing
technical debt
test smell
trend analysis
unit testing
Title A Trend Analysis of Test Smells in Python Test Code Over Commit History
URI https://ieeexplore.ieee.org/document/10371608
hasFullText 1
inHoldings 1
isFullTextHit
isPrint
link http://cvtisr.summon.serialssolutions.com/2.0.0/link/0/eLvHCXMwlV1LawIxEA6t9NCTfVj6JodeVzebmE2OItqerKAFb5LHLCzY3aKr4L9vkl0tPfTQSwjJITCZZIZkvu9D6IX2s9gmGY3AeU_EjCaRYpa5hhCZuZzZzQWxiXQyEYuFnDZg9YCFAYBQfAZd3w1_-bY0W_9U1vOYNsI9tPc0TXkN1jo-qFCaOHcVDTyOxLI3Gw0G3FOod71GeDekJ79EVEIMGbf_ufoF6vyg8fD0GGcu0QkUV6h9kGPAzem8Rq8DHCpc8YFoBJcZnrtbH88-YbXa4LzA073nCqhHh6UF_O5cGXuUSF7hmjJk30Ef49F8-BY1OglR7gxaRe6QMp1aBZYzbYCYWIJVfRNrSU0qKPBYM2mNYokmqeUuZrlkVVKSyVhBX9Eb1CrKAm4RVjx1144nmVfGg1y1sNIILZhINAMu71DHG2b5VVNhLA82uf9j_AGde9uHoiz-iFrVegtP6Mzsqnyzfg4b-A1ZT5qb
linkProvider IEEE
linkToHtml http://cvtisr.summon.serialssolutions.com/2.0.0/link/0/eLvHCXMwlV3NS8MwFA-igp7mx8Rvc_DarW3StDmOsTlxzsEm7Dby8QqF2crWCfvvTdJu4sGDlxCSQ-DlJe-RvN_vh9AjiVJfhynxwHiPR5UMPEE1NU0Q8NTkzGbOiU3Eo1Eym_FxDVZ3WBgAcMVn0LJd95evC7W2T2Vti2kLmIX2HkSUhn4F19o9qRASGodNaoBc4PP2pNfpMEui3rIq4S2XoPySUXFRpN_45_onqPmDx8PjXaQ5RXuQn6HGVpAB1-fzHD11sKtxxVuqEVykeGrufTz5gMVihbMcjzeWLaAa7RYa8JtxZmxxIlmJK9KQTRO993vT7sCrlRK8zJi09MwxpTLWAjSjUkGgfA5aRMqXnKg4IcB8SblWgoYyiDUzUcukq5wEKfcFRIJcoP28yOESYcFic_FYmnmhLMxVJpqrRCY0CSUFxq9Q0xpm_lmRYcy3Nrn-Y_wBHQ2mr8P58Hn0coOO7T64Ei12i_bL5Rru0KH6KrPV8t5t5jeVyp3i
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=Proceedings+%28EUROMICRO+Conference+on+Software+Engineering+and+Advanced+Applications.+Online%29&rft.atitle=A+Trend+Analysis+of+Test+Smells+in+Python+Test+Code+Over+Commit+History&rft.au=Fushihara%2C+Yuki&rft.au=Aman%2C+Hirohisa&rft.au=Amasaki%2C+Sousuke&rft.au=Yokogawa%2C+Tomoyuki&rft.date=2023-09-06&rft.pub=IEEE&rft.eissn=2376-9521&rft.spage=310&rft.epage=314&rft_id=info:doi/10.1109%2FSEAA60479.2023.00054&rft.externalDocID=10371608