JS-TOD: Detecting order-dependent flaky tests in Jest

dc.citation.volume252
dc.contributor.authorHashemi N
dc.contributor.authorTahir A
dc.contributor.authorRasheed S
dc.contributor.authorShi A
dc.contributor.authorBlagojevic R
dc.date.accessioned2026-03-10T21:12:02Z
dc.date.issued2026-07-01
dc.description.abstractWe present JS-TOD (J ava S cript T est O rder-dependency D etector), a tool that can extract, reorder, and rerun Jest tests to reveal possible order-dependent test flakiness. Test order dependency is one of the leading causes of test flakiness. Ideally, each test should operate in isolation and yield consistent results no matter the sequence in which tests are run. However, in practice, test outcomes can vary depending on their execution order. JS-TOD employed a systematic approach to randomising tests, test suites, and describe blocks. The tool is highly customisable, as one can set the number of orders and reruns required (the default setting is 10 reorder and 10 reruns).
dc.description.confidentialfalse
dc.edition.editionJuly 2026
dc.identifier.citationHashemi N, Tahir A, Rasheed S, Shi A, Blagojevic R. (2026). JS-TOD: Detecting order-dependent flaky tests in Jest. Science of Computer Programming. 252.
dc.identifier.doi10.1016/j.scico.2026.103462
dc.identifier.eissn1872-7964
dc.identifier.elements-typejournal-article
dc.identifier.issn0167-6423
dc.identifier.number103462
dc.identifier.piiS0167642326000286
dc.identifier.urihttps://mro.massey.ac.nz/handle/10179/74269
dc.languageEnglish
dc.publisherElsevier B V
dc.publisher.urihttps://www.sciencedirect.com/science/article/pii/S0167642326000286
dc.relation.isPartOfScience of Computer Programming
dc.rights(c) The author/sen
dc.rights.licenseCC BY 4.0en
dc.rights.urihttps://creativecommons.org/licenses/by/4.0/en
dc.subjectFlaky tests
dc.subjectTest order dependency
dc.subjectJavaScript
dc.subjectJest
dc.titleJS-TOD: Detecting order-dependent flaky tests in Jest
dc.typeJournal article
pubs.elements-id610053
pubs.organisational-groupOther

Files

Original bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
610053 PDF.pdf
Size:
1.37 MB
Format:
Adobe Portable Document Format
Description:
Published version.pdf

License bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
license.txt
Size:
9.22 KB
Format:
Plain Text
Description:

Collections