Confirmation bias and time pressure: A family of experiments in software testing

Iflaah Salman, Burak Turhan, Robert Ramac, Vladimir Mandic

Research output: Contribution to journalArticleResearchpeer-review

Abstract

Background : Software testers manifest confirmation bias (the cognitive tendency) when they design relatively more specification consistent test cases than specification inconsistent test cases. Time pressure may influence confirmation bias of testers per the research in the psychology discipline. Objective: We examine the manifestation of confirmation bias of software testers while designing functional test cases, and the effect of time pressure on confirmation bias in the same context. Method: We executed one internal and two external experimental replications concerning the original experimentation in Oulu. We analyse individual replications and meta-analyse our family of experiments (the original and replications) for joint results on the phenomena. Results: Our findings indicate a significant manifestation of confirmation bias by software testers during the designing of functional test cases. Time pressure significantly promoted confirmation bias among testers per the joint results of the family. The different experimental sites affected the results; however, we did not detect any effects of site-specific variables. Conclusion: Software testers should develop an outside-of-the-box thinking attitude to counter the manifestation of confirmation bias. Time pressure can be manoeuvred by centring manual suites on the designing and consequently the execution of inconsistent test cases, while automated testing focuses on consistent ones.

Original languageEnglish
Pages (from-to)5203-5222
Number of pages20
JournalIEEE Transactions on Software Engineering
Volume49
Issue number12
DOIs
Publication statusPublished - Dec 2023

Keywords

  • Aggregation
  • Cognitive Bias
  • Companies
  • Confirmation Bias
  • Experiment
  • Protocols
  • Replication
  • Sociology
  • Software
  • Software engineering
  • Software Testing
  • Software testing
  • Statistics
  • Time Pressure

Cite this