The Oracle Problem in Software Testing: A Survey
Open accessThe DOI matches its Crossref record; 218 of the 236 references it cites were found in a registry or an index.
Abstract
Testing involves examining the behaviour of a system in order to discover potential faults. Given an input for a system, the challenge of distinguishing the corresponding desired, correct behaviour from potentially incorrect behavior is called the “test oracle problem”. Test oracle automation is important to remove a current bottleneck that inhibits greater overall test automation. Without test oracle automation, the human has to determine whether observed behaviour is correct. The literature on test oracles has introduced techniques for oracle automation, including modelling, specifications, contract-driven development and metamorphic testing. When none of these is completely adequate, the final source of test oracle information remains the human, who may be aware of informal specifications, expectations, norms and domain specific information that provide informal oracle guidance. All forms of test oracles, even the humble human, involve challenges of reducing cost and increasing benefit. This paper provides a comprehensive survey of current approaches to the test oracle problem and an analysis of trends in this important area of software testing research and practice.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Figures











Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Claims other papers make about this one
Each is checked against this paper’s own text: does it say what the citing paper says it does?
In the citing paper
“The metric depends on rigorous testing, which is currently limited by the lack of test oracles [11].”
From A 2030 Roadmap for Software Engineering (2025) · cites this paper as [11]
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Statecharts: a visual formalism for complex systems
Harel, D. (1987) · Science of Computer Programming · doi:10.1016/0167-6423(87)90035-9 · Cited by 6,751 · cited 2×
“A wide variety of state transition systems exist, including finite state machines [111], Mealy/Moore machines [111], I/O Automata [117], Labeled Transition Systems [180], SDL [54], Harel Statecharts [81], UML state machines [28], X-Machines [95], [96], Simulink/Stateflow [179] and PROMELA [97].”
BackgroundAn Axiomatic Basis for Computer Programming
Hoare, T. (1968) · Cited by 4,330
An axiomatic basis for computer programming
Hoare, C. A. R. (1969) · Communications of the ACM · doi:10.1145/363235.363259 · Cited by 4,002
Holzmann, G. J. (1997) · IEEE Transactions on Software Engineering · doi:10.1109/32.588521 · Cited by 3,803 · cited 2×
“[96], Simulink/Stateflow [179] and PROMELA [97].”
Metaheuristics in combinatorial optimization: Overview and conceptual comparison
Blum, C., & Roli, A. (2003) · ACM Computing Surveys · doi:10.1145/937503.937505 · Cited by 3,236 · cited 1×
“[1] combine a natural language model and metahueristics, strategies that guide a search process [25], to”
BackgroundSymbolic execution and program testing
King, J. C. (1976) · Communications of the ACM · doi:10.1145/360248.360252 · Cited by 3,031 · cited 1×
“For instance, the problem of automatically generating test inputs has been the subject of research interest for nearly four decades [46], [107].”
BackgroundBaader, F., & Nipkow, T. (1998) · Cambridge University Press eBooks · doi:10.1017/cbo9781139172752 · Cited by 2,466
Metaheuristics in Combinatorial Optimization
Gendreau, M., & Potvin, J.-Y. (2005) · Annals of Operations Research · doi:10.1007/s10479-005-3971-7 · Cited by 2,338
Learning regular sets from queries and counterexamples
Angluin, D. (1987) · Information and Computation · doi:10.1016/0890-5401(87)90052-6 · Cited by 2,114 · cited 1×
“Most work has applied L , a wellknown learning algorithm, to learn a black-box system B as a finite state machine with n states [7].”
MethodDART: directed automated random testing
Godefroid, P., Klarlund, N., & Sen, K. (2005) · ACM SIGPLAN Notices · doi:10.1145/1064978.1065036 · Cited by 2,067
Research works printed but not linked: 6
- A. Avizienis and L. Chen, "On the implementation of N-version programming for software fault-tolerance during execution," in Proc. 1st Int. Comput. Softw. Appl. Conf., 1977, pp. 149-155.
- P. McMinn, M. Stevenson, and M. Harman, "Reducing qualita- tive human oracle costs associated with automatically generated test data," in Proc. Int. Workshop Softw. Test Output Validation, Jul. 2010, pp. 1-4. · DOI
- A. J. Offutt, J. Pan, and J. M. Voas, "Procedures for reducing the size of coverage-based test sets," in Int. Conf. Testing Comput. Softw., 1995, pp. 111-123.
- M. Shahbaz, P. McMinn, and M. Stevenson, "Automatic genera- tion of valid and invalid test data for string validation routines," Sci. Comput. Programm., vol. 97, no. 4, pp. 405-425, 2015.
- J. M. Spivey, Z Notation-a Reference Manual, 2nd ed. Englewood Cliffs, NJ, USA: Prentice-Hall, 1992.
- G. V. Bochmann, C. He, and D. Ouimet, "Protocol testing using automatic trace analysis," in Proc. Can. Conf. Elect. Comput. Eng., 1989, pp. 814-820.
Cited by
Items 801–900 of 1,001
Model-Based Product-Line Regression Testing of Variants and Versions of Variants
Lity, S. (2020) · Digitale Bibliothek Braunschweig (Verbundzentrale Göttingen (VZG)) · doi:10.24355/dbbs.084-202001170858-0 · Cited by 4
Human-in-the-Loop Fault Localisation Using Efficient Test Prioritisation of Generated Tests.Preprint
An, G., & Yoo, S. (2021) · arXiv (Cornell University) · Cited by 4
Self-citationSmart Contract-based Dynamic Non-Fungible Tokens Generation SystemPreprint
Shah, K. A., Khokhariya, U., & Patel, S. (2023) · Research Square · doi:10.21203/rs.3.rs-2796956/v1 · Cited by 4
Search-based Testing of Simulink Models with Requirements TablesPreprint
Formica, F., George, C., Rahmatyan, S., Pantelic, V., Lawford, M. S., Gargantini, A., & Menghi, C. (2025) · arXiv (Cornell University) · doi:10.48550/arxiv.2501.05412 · Cited by 4
“Considering a recent survey on the topic [86], the Test Assessments can be classified as “Specificed Test Oracles” of type “State Transition Systems”, while the oracle produced by this work are from a completely different category: They can be classified as “Derived Test Oracles”, from “Textual…”
Liang, L., & Zheng, X. (2025) · arXiv (Cornell University) · doi:10.48550/arxiv.2501.14451 · Cited by 4
A change management approach to incorporating AI into software testing
Laine, A. (2024) · LUTPub (LUT University) · doi:10.13140/rg.2.2.20063.88487 · Cited by 4
Kogler, L., Hangler, S., Ehrhart, M., Dornauer, B., Wuersching, R., & Schrammel, P. (2026) · arXiv (Cornell University) · doi:10.48550/arxiv.2604.25862 · Cited by 4
“Apartfromthat,theshiftinusing LLMstogeneraterequirements-based tests brings renewed attention to a long-standing challenge in automated testing: the oracle problem [10].”
Li, T., Rathnasuriya, R., & Yang, W. (2026) · arXiv (Cornell University) · doi:10.48550/arxiv.2607.04454 · Cited by 4
“Classic performance-bug studies [34], [35] document defects that pass functional tests while degrading performance, and the test-oracle literature [36] frames our observation precisely: a correctness oracle alone is an inadequate oracle for replacement quality.”
Chen, J., Chen, S., Zhu, H., Cao, J., Shen, J., & Cheung, S.-C. (2026) · arXiv (Cornell University) · doi:10.48550/arxiv.2607.15684 · Cited by 4
“First, many symptoms lack a rigorous oracle [19], [20], especially silent errors, where a plausible but incorrect result is hard to tell from a correct one.”
Beer, R. D. (2026) · Zenodo (CERN European Organization for Nuclear Research) · doi:10.5281/zenodo.22020498 · Cited by 4
Auditing and Decomposing Feedback-Driven Evolution in LLM Test Generation under the Oracle ProblemPreprint
Liang, Y., Gan, C., Ying, R., Wei, H., Cui, Z., & Ni, S. (2026) · arXiv (Cornell University) · doi:10.48550/arxiv.2608.19626 · Cited by 4
CodeMidas: Scaling Agentic Coding RL Environments from Code ItselfPreprint
Ye, B., Li, L., Li, S., Yue, Z., Zhang, L., Lv, H., Liu, Y., Ma, W., Tian, H., Li, R., et al. (2026) · arXiv (Cornell University) · Cited by 4
An end-to-end approach for fixing concurrency bugs via SHB-based context extractor
Li, Z., Yi, Q., Xiao, K., Ji, Z., & Liang, H. (2026) · Journal of Systems and Software · doi:10.1016/j.jss.2026.112888 · Cited by 3
“However, it is limited to addressing only this category of issues and may fail to align with programmers’ intentions [7], [8].”
InfluentialZhao, Y., Li, M., Zhang, K., Yang, X., Liu, J., & Yan, S. (2025) · Annals of Nuclear Energy · doi:10.1016/j.anucene.2025.111846 · Cited by 3
TestLoop: A Process Model Describing Human-in-the-Loop Software Test Suite Generation
Davis, M. C., Choi, S., Wei, A., Estep, S., Myers, B. A., & Sunshine, J. S. (2026) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3765754 · Cited by 3
AI-Driven Fairness Testing of Large Language Models: A Preliminary Study
Romero-Arjona, M., Parejo, J. A., Alonso, J. C. G., Sánchez, A. B., Arrieta, A., & Segura, S. (2025) · IEEE International Conference on Software Analysis, Evolution and Reengineering - Companion (SANER-C) · doi:10.1109/saner-c66551.2025.00011 · Cited by 3
“Metamorphic testing is a widely used technique for addressing the oracle problem , which arises when it is challenging to determine whether the outputs of a system are correct [10].”
From Heuristics to Intelligence: Large Language Model-Driven Test Case Generation
Mastropaolo, A., Kuhn, D. R., & Voas, J. (2025) · Computer · doi:10.1109/mc.2025.3609478 · Cited by 3
“5 This tension divides practitioners: some avoid automated test generation alto-gether, 30 favoring formal verification and static analysis, 29,34 while others adopt such tools cautiously, stressing that benefits only arise when automation is carefully guided and reviewed.”
Ba, J., Jiang, Y., & Rigger, M. (2026) · Proceedings of the ACM on software engineering. · doi:10.1145/3832104 · Cited by 3
“To automate testing, multiple methods have been proposed that automatically generate or mutate inputs [21, 36], on which a so-called test oracle is applied to determine whether the program’s execution behavior is expected [6].”
Where Tests Fall Short: Empirically Analyzing Oracle Gaps in Covered Code
Maton, M., Kapfhammer, G. M., & McMinn, P. (2025) · Proceedings of the ... ACM-IEEE International Symposium on Empirical Software Engineering and Measurement/International Symposium on Empirical Software Engineering and Measurement · doi:10.1109/esem64174.2025.00063 · Cited by 3
“Test oracles (i.e., the JUnit assertion on Line 18 in Listing 1) determine whether a test case passes or fails and are vital in assessing expected program behavior [19], [20].”
Self-citationResource-Centric Goal Model Slicing for Detecting Feature Interactions
Peng, Z., Dahiya, M., Khalil, T., Niu, N., Bhowmik, T., & Yang, Y. (2023) · IEEE International Conference on Information Reuse and Integration (IRI) · doi:10.1109/iri58017.2023.00018 · Cited by 3
“goals is to explicitly define the oracles [12] for testing individual features; otherwise, no intentional observations would be made to check if the software’s actual output or behavior is correct or not.”
BackgroundExtraction and empirical evaluation of GUI-level invariants as GUI Oracles in mobile app testing
Yarifard, A. A., Araban, S., Paydar, S., Garousi, V., Morisio, M., & Coppola, R. (2024) · Information and Software Technology · doi:10.1016/j.infsof.2024.107531 · Cited by 3
SoK: Automated Software Testing for TLS Libraries
Swierzy, B., Boes, F., Pohl, T., Bungartz, C., & Meier, M. (2024) · International Conference on Availability, Reliability and Security (ARES) · doi:10.1145/3664476.3670871 · Cited by 3
“In contrast, Barr et al. [5] present a survey on the construction of test oracles.”
Xu, X., Cogo, F. R., & McIntosh, S. (2024) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2024.3435067 · Cited by 3
“Code coverage is mainly used to assess and enhance the quality of tests [51], such as unit tests and integration tests [3], [5], [24], [30], [34].”
MTSA: Multi-Granularity Metamorphic Testing for Sentiment Analysis Systems
Huang, H., Pan, Y., Luo, L., & Wang, Y. (2024) · IEEE Annual International Computer Software and Applications Conference (COMPSAC) · doi:10.1109/compsac61105.2024.00176 · Cited by 3
“All of these factors indicate that evaluating the SA system is susceptible to the oracle problem [11].”
BackgroundTerzoN: Human-in-the-Loop Software Testing with a Composite Oracle
Davis, M. C., Wei, A., Myers, B. A., & Sunshine, J. S. (2025) · Proceedings of the ACM on software engineering. · doi:10.1145/3729359 · Cited by 3
“But the oracle problem has no general solution [5]; thus, fuzzers cannot automatically evaluate correctness of the PUT.”
IDOL: Improved Different Optimization Levels Testing for Solidity Compilers
Li, L., Liang, Y., & Yu, Z. (2025) · IEEE International Conference on Software Quality, Reliability and Security Companion (QRS-C) · doi:10.1109/qrs-c65679.2025.00102 · Cited by 3
“That is, the “test oracle” issue is serious for compiler testing [2].”
Bias Testing and Mitigation in Black Box LLMs using Metamorphic Relations
Salimian, S., Uddin, G., Biswas, S., & Leung, H. (2026) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3841176 · Cited by 3
“To mitigate this, we created a balanced training set by pairing each biased question with unbiased examples from trusted QA datasets [5, 11, 12].”
An Approach for Iteratively Generating Adequate Tests in Metamorphic Testing: A Case Study
Ding, J., & Zhang, D. (2016) · IEEE Annual International Computer Software and Applications Conference (COMPSAC) · doi:10.1109/compsac.2016.48 · Cited by 3
“They can be classified as: relations between program’s inputs and corresponding outputs; embedded assertions; extrinsic interface contracts; pure program specifications; and trace checking and log file analysis [1].”
BackgroundA New Method for Software Test Data Generation Inspired by D-algorithm
Zhang, J., Gupta, S. K., & Halfond, W. G. J. (2019) · IEEE VLSI Test Symposium (VTS) · doi:10.1109/vts.2019.8758641 · Cited by 3
“This is very important given that a compact test data is crucial in SW testing, since testers need to manually check the expected outputs for each test (test oracle problem [21]).”
BackgroundDifferent approaches for testing body sensor network applications
da Silva, S. S., Caldas, R., Pelliccione, P., & Bertolino, A. (2025) · Journal of Systems and Software · doi:10.1016/j.jss.2025.112336 · Cited by 3
Software testing in a scientific research group
Patrick, M. T., Elderfield, J., Stutt, R. O. J. H., Rice, A. C., & Gilligan, C. A. (2016) · ACM Symposium on Applied Computing · doi:10.1145/2851613.2851783 · Cited by 3
“In software engineering this is known as the oracle problem [1].”
MethodRisk-Driven Model-Based Testing of Washing Machine Software: An Industrial Case Study
Kırkıcı, A., Gebizli, C. Ş., & Sözer, H. (2018) · IEEE International Conference on Software Testing, Verification and Validation Workshops (ICSTW) · doi:10.1109/icstw.2018.00080 · Cited by 3
“These activities can be related to test case generation, test execution or test oracle [3] implementation.”
BackgroundA Decentralized Solution for Combinatorial Testing of Access Control Engine
Daoudagh, S., Lonetti, F., & Marchetti, E. (2019) · International Conference on Information Systems Security and Privacy (ICISSP) · doi:10.5220/0007379401260135 · Cited by 3
“Testing of the PDP. Test oracle automation has been for long time investigated in literature and still remains a challenging problem (Barr et al., 2015).”
BackgroundMetamorphic Robustness Testing for Recommender Systems: A Case Study
Mao, C., Xiao-rong, Y., & Chen, T. Y. (2020) · International Conference on Dependable Systems and Their Applications (DSA) · doi:10.1109/dsa51864.2020.00060 · Cited by 3
“Because the mapping relationship between the input and output of such systems is often complicated [10], it is very difficult to validate the computed output (also known as the test oracle problem [11], [12]) when they are tested.”
BackgroundChallenges of Specification Mining-Based Test Oracle for Cyber-Physical Systems
Aliabadi, M. R., Haghighi, H., Asl, M. V., & Meibodi, R. G. (2020) · International Conference on Information and Knowledge Technology (IKT) · doi:10.1109/ikt51791.2020.9345615 · Cited by 3
“A test oracle is defined as a procedure that distinguishes between the proper and incorrect behavior of a program under test given a particular input [1].”
BackgroundA Lightweight Verification Method Based on Metamorphic Relation for Nuclear Power Software
Li, M., Yang, X., Yan, S., Liu, J., Liu, Y., & Sun, J. (2022) · Frontiers in Energy Research · doi:10.3389/fenrg.2022.788753 · Cited by 3
“It is challenging to construct when the expected result does not exist or the construction cost is exceptionally high; it is called an Oracle problem (Barr et al., 2015).”
BackgroundGeneration of Oracles using Natural Language Processing
Leong, I. T., & Barbosa, R. (2021) · doi:10.1109/apsecw53869.2021.00016 · Cited by 3
Combinational Metamorphic Testing for Deep Learning based Target Detection CPS Systems
Ma, S., Hu, C., Deng, F., Zhou, Y., Shang, X., Wu, L., Zou, W., Li, C., Yang, W., Zhang, H., et al. (2021) · IEEE International Conference on Software Quality, Reliability and Security Companion (QRS-C) · doi:10.1109/qrs-c55045.2021.00045 · Cited by 3
Detecting Compiler Bugs Via a Deep Learning-Based Framework
Tang, Y., Ren, Z., Jiang, H., Qiao, L., Liu, D., Zhou, Z., & Kong, W. (2022) · International Journal of Software Engineering and Knowledge Engineering · doi:10.1142/s0218194022500206 · Cited by 3
SR-MT: a metamorphic method to test the robustness of speech recognition software
Wang, F., Ben, K., & Zhang, X. (2022) · IEEE/ACM International Workshop on Metamorphic Testing (MET) · doi:10.1145/3524846.3527339 · Cited by 3
“Hence, the lack of a test oracle [2] is an important problem for SR software.”
BackgroundData Constraint Mining for Automatic Reconciliation Scripts Generation
Wang, T., Chen, Z., Zhou, X., Wu, J., Yin, J., & Deng, S. (2023) · ACM SIGSOFT International Symposium on Software Testing and Analysis (ISSTA) · doi:10.1145/3597926.3598122 · Cited by 3
“, testing [6] and static analysis [27]) can detect fund loss problems to a certain degree.”
BackgroundGuiding the retraining of convolutional neural networks against adversarial inputs
Durán, F., Martínez‐Fernández, S., Felderer, M., & Franch, X. (2023) · PeerJ Computer Science · doi:10.7717/peerj-cs.1454 · Cited by 3
“In contrast, testing DL systems is completely different, due to their non-deterministic nature: the “correct” answer or “expected” behaviour in response to a certain input is often unknown at the time of training the DL model [2, 4].”
Background“What You See Is What You Test”: Recommending Features from GUIs for Requirements-Based Testing
Peng, Z., Savolainen, J. E., Zhang, J., & Niu, N. (2023) · IEEE International Conference on Information Reuse and Integration (IRI) · doi:10.1109/iri58017.2023.00057 · Cited by 3
“In practice, however, requirements specifications rapidly fall out of date when they exist at all [4].”
BackgroundAn Experimental Study Evaluating Cost, Adequacy, and Effectiveness of Pynguin's Test Sets
Guerino, L. R., & Vincenzi, A. M. R. (2023) · Brazilian Symposium on Systematic and Automated Software Testing (SAST) · doi:10.1145/3624032.3624034 · Cited by 3
“Moreover, each test case that is executed successfully on such programs is assumed to be correct with respect to the program specification, avoiding the oracle problem [5].”
BackgroundWaveLSea: helping experts interactively explore pattern mining search spaces
Lehembre, E., Crémilleux, B., Zimmermann, A., Cuissart, B., & Ouali, A. (2024) · Data Mining and Knowledge Discovery · doi:10.1007/s10618-024-01037-8 · Cited by 3
Debugging Meets Testing in Erlang
Tamarit, S., Riesco, A., Martin-Martin, E., & Caballero, R. (2016) · Lecture notes in computer science · doi:10.1007/978-3-319-41135-4_10 · Cited by 3
“This is known as the oracle problem [2].”
BackgroundA revisit of the integration of metamorphic testing and test suite based automated program repair
Jiang, M., Chen, T. Y., Kuo, F., Ding, Z., Choi, E.-H., & Mizuno, O. (2017) · doi:10.5555/3103620.3103628 · Cited by 3
Temporal algebraic query of test sequences
Prasetya, I. S. W. B. (2017) · Journal of Systems and Software · doi:10.1016/j.jss.2017.07.014 · Cited by 3
Software Quality and Quality Management
Lysne, O. (2018) · Springer eBooks · doi:10.1007/978-3-319-74950-1_10 · Cited by 3
The Next Level of Test Automation: What About the Users?
Wiklund, K., & Wiklund, M. (2018) · IEEE International Conference on Software Testing, Verification and Validation Workshops (ICSTW) · doi:10.1109/icstw.2018.00045 · Cited by 4
“Finally, verdict generation, including automatic analysis of the quality of the testing [22], and oracle design [28] need to be automated to a higher extent than today, in particular to enable methods such as random testing/fuzzing [29] [30] and automatic user interface testing [11].”
MethodGenerating Tree Inputs for Testing using Evolutionary Computation Techniques
Griñán, D., & Ibias, A. (2020) · IEEE Congress on Evolutionary Computation (CEC) · doi:10.1109/cec48606.2020.9185561 · Cited by 3
“First, we usually do not have an automatic procedure to check that the produced values are as expected (this is the well-known oracle problem [3], [32]).”
Using a swarm to detect hard-to-kill mutants
Ibias, A., & Nunez, M. A. (2020) · Conference proceedings/Conference proceedings - IEEE International Conference on Systems, Man, and Cybernetics · doi:10.1109/smc42975.2020.9282883 · Cited by 3
“In some cases, there is no oracle available and the testers should resort to other kind of techniques to determine what constitutes a valid output [3].”
BackgroundMetamorphic Testing of Code Search Engines
Ding, Z., Zhang, Q., & Jiang, M. (2020) · International Symposium on Theoretical Aspects of Software Engineering (TASE) · doi:10.1109/tase49443.2020.00032 · Cited by 3
“Therefore, the testing of code search engines faces the oracle problem: it is difficult or even impossible *The corresponding author. to check the correctness of the search results [6].”
BackgroundGranular Modeling of User Experience in Load Testing with Automated UI Tests
Whiting, E. (2021) · International Conference on Data and Software Engineering · doi:10.1109/icodse53690.2021.9648440 · Cited by 3
Molina, F., d’Amorim, M., & Aguirre, N. (2022) · JAIIO, Jornadas Argentinas de Informática · doi:10.48550/arxiv.2201.10874 · Cited by 3
“Specification inference is closely related to the oracle problem [8], which is the problem of deciding whether or not a program execution is consistent with the desired behavior of the program.”
BackgroundA method and experiment to evaluate deep neural networks as test oracles for scientific software
Júnior, V. A. D. S. (2022) · doi:10.1145/3524481.3527232 · Cited by 3
“Hence, one may naturally think that CNNs can play the role of test oracles [7], specifically the oracle procedure, for testing scientific software.”
Test Case Recommendations with Distributed Representation of Code Syntactic Features
Rezaei, M., Alhoori, H., & Rahimi, M. (2023) · IEEE/ACM International Conference on Automated Software Engineering Workshops (ASEW) · doi:10.1109/asew60602.2023.00026 · Cited by 3
“Despite significant contributions from both academia and industrial environments on various aspects of software, testing [14], yet several concerns exist which require to be addressed [15].”
BackgroundCorrectness attraction: a study of stability of software behavior under runtime perturbation
Danglot, B., Preux, P., Baudry, B., & Monperrus, M. (2018) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1145/3180155.3182548 · Cited by 3
Machine Learning and Evolutionary Computing for GUI-based Regression TestingPreprint
Kraus, D. (2018) · arXiv (Cornell University) · doi:10.48550/arxiv.1802.03768 · Cited by 3
Empirical Study of Phased Model of Software ChangePreprint
Wilson, L. A., Senin, Y., Wang, Y., & Rajlich, V. (2019) · arXiv (Cornell University) · doi:10.48550/arxiv.1904.05842 · Cited by 3
“During all phases where code modifications occur, software verification certifies the quality and correctness of the code [23, 24].”
BackgroundOracle assessment, improvement and placement
Jahangirova, G. (2019) · UCL Discovery (University College London) · Cited by 3
Mutation Testing Framework for Machine LearningPreprint
Singh, R. (2021) · Preprints.org · doi:10.20944/preprints202102.0503.v1 · Cited by 3
Improving the Logging Practices in DevOps
Chen, B. (2020) · YorkSpace (York University) · Cited by 3
Prioritization of Metamorphic Relations to reduce the cost of testingPreprint
Srinivasan, M., & Kanewala, U. (2022) · arXiv (Cornell University) · doi:10.48550/arxiv.2209.00162 · Cited by 3
“The mechanism to determine the correctness of test case output is known as test oracle [6].”
BackgroundAssertion Inferring MutantsPreprint
Garg, A., Degiovanni, R., Molina, F., Papadakis, M., Aguirre, N., Cordy, M., & Traon, Y. L. (2023) · arXiv (Cornell University) · doi:10.48550/arxiv.2301.12284 · Cited by 3
“It is closely related to the oracle problem [7], i.”
BackgroundChecklist to Define the Identification of TP, FP, and FN Object Detections in Automated DrivingPreprint
Hoss, M. (2023) · arXiv (Cornell University) · doi:10.48550/arxiv.2308.07106 · Cited by 3
“Further literature on test or-acles is targeted towards the driving quality of ADS [31] or software in general [32].”
BackgroundBayesFLo: Bayesian fault localization of complex software systemsPreprint
Ji, Y., Mak, S., Lekivetz, R., & Morgan, J. (2024) · arXiv (Cornell University) · doi:10.48550/arxiv.2403.08079 · Cited by 3
“The latter, known as the “oracle problem” (Barr et al., 2014), typically requires an independent assessment of numerical accuracy of software outputs (Lekivetz and Morgan, 2021), which can be very costly.”
Fuzzy Logic Guided Reward Function Variation: An Oracle for Testing Reinforcement Learning ProgramsPreprint
Zhang, S., Song, H., Wang, Q., & Pei, Y. (2024) · arXiv (Cornell University) · doi:10.48550/arxiv.2406.19812 · Cited by 3
“This is the so-called oracle problem [3].”
BackgroundPrompting for Performance: Exploring LLMs for Configuring SoftwarePreprint
Spieker, H., Matricon, T., Belmecheri, N., Betten, J. E., Lyan, G. L. B., Borges, H., Mazouni, Q., Gross, D., Gotlieb, A., & Acher, M. (2025) · arXiv (Cornell University) · doi:10.48550/arxiv.2507.09790 · Cited by 3
“We have made the decision not to choose any particular prompt optimization strategy, e.g., DSPy [39], involvement of external sources, like, for example, retrieval-augmented generation (RAG) [40], or particular prompting strategies like Chain-of-Thought [41], which is already implicitly done in…”
Harden and Catch for Just-in-Time Assured LLM-Based Software Testing: Open Research ChallengesPreprint
Harman, M., O’Hearn, P. W., & Sengupta, S. (2025) · arXiv (Cornell University) · doi:10.48550/arxiv.2504.16472 · Cited by 3
Self-citationBewertung von Fahrerassistenzsystemen im Umfeld des szenariobasierten Testens
King, C. (2023) · Repository KITopen (Karlsruhe Institute of Technology) · doi:10.5445/ir/1000157665 · Cited by 3
Validation and Verification of Safety-Critical Systems in Avionics
Elqortobi, M. (2023) · Spectrum Research Repository (Concordia University) · Cited by 3
Data Management in Certified Avionics Systems
Wölfl, A., & Kosch, H. (2018) · OPUS (University of Passau) · Cited by 3
Clark, A. G. (2023) · White Rose eTheses Online (University of Leeds, The University of Sheffield, University of York) · Cited by 3
LASSO – an observatorium for the dynamic selection, analysis and comparison of software
Kessel, M. (2023) · MADOC (University of Mannheim) · Cited by 3
Retromorphic Testing with Hierarchical Verification for Hallucination Detection in RAGPreprint
Yu, B., Zhang, Y., Lin, L., Briand, L., & Muñoz, E. (2026) · arXiv (Cornell University) · doi:10.48550/arxiv.2603.27752 · Cited by 3
“RT4CHART addresses the test oracle problem [2]: determining correctness when no direct gold output is available.”
Domain-Validity-Gated Metamorphic Testing of Scientific ML SurrogatesPreprint
Li, M., Yang, X., Liu, J., & Yan, S. (2026) · arXiv (Cornell University) · doi:10.48550/arxiv.2606.17529 · Cited by 3
“These models approximate high-cost solvers but introduce a familiar software testing problem: for many candidate inputs there is no cheap exact expected output against which the program can be checked—the test oracle problem (Barr et al., 2015).”
Nasir, F., Shah, A., & Alam, I. (2026) · arXiv (Cornell University) · doi:10.48550/arxiv.2609.13839 · Cited by 3
“Deciding whether such a rewrite is correct is an instance of the test-oracle problem [1]: given an input and an output, by what criterion do we judge the output right?”
GameASG-Bench: Benchmarking Autonomous Software Generation for Game DevelopmentPreprint
Zhang, X., Chen, Y., Xu, S., Li, F., Wang, H., Yang, T., & Yuan, B. (2026) · arXiv (Cornell University) · doi:10.48550/arxiv.2609.21293 · Cited by 3
“The distinguishing design choice is how responsibilities are divided among the human developer, coding agent, and evaluator, building on established ideas of behavioral interface specifications, controllability, and behavioral assertions [14–17].”
Summary of: Adaptive Metamorphic Testing with Contextual Bandits
Spieker, H., & Arnaud Gotlieb, B. (2021) · IEEE International Conference on Software Testing, Verification and Validation (ICST) · doi:10.1109/icst49551.2021.00037 · Cited by 2
“For instance, in supervised machine learning, we train models for classification problems, but testing these models is hard as only stochastic behaviors of these models can be specified [3].”
Using Category Partition to Detect Metamorphic Relations
Pedram, S., & Labiche, Y. (2024) · doi:10.1145/3679006.3685068 · Cited by 2
“In their literature review, Barr and colleagues [4] identified four categories of techniques to automate the construction of an oracle: "specified oracle," "derived oracle," "implicit," and "no automatable oracle.”
Automated Test Generation from Program Documentation Encoded in Code Comments
Denaro, G., & Gugliemo, L. (2025) · doi:10.1109/ast66626.2025.00012 · Cited by 2
“For instance, the test oracles could be provided in the form of assertion statements that check if the results at runtime are consistent with the expectations known for the program under test, and make the test cases produce test reports (i.e., pass or fail) accordingly.”
Multi-population GAN Training: Analyzing Co-Evolutionary Algorithms
Casas, W. P., & Toutouh, J. (2025) · Genetic and Evolutionary Computation Conference Companion (GECCO Companion) · doi:10.1145/3712255.3734362 · Cited by 2
“Its applications include board games [31], video game playing [26, 38], social science games [8], software engineering tasks as coevolving programs and unit tests [4, 5, 49] or differentiating correct from incorrect behavior [11], and various cybersecurity problems [25, 34, 36].”
ОГЛЯД ЗАСТОСУВАННЯ ШТУЧНОГО ІНТЕЛЕКТУ У ФУНКЦІОНАЛЬНОМУ ТЕСТУВАННІ ПРОГРАМНОГО ЗАБЕЗПЕЧЕННЯ
РЕЙДА, М. О., & Dobrovolskyi, H. (2025) · Вісник Херсонського національного технічного університету · doi:10.35546/kntu2078-4481.2025.2.2.37 · Cited by 2
The Challenges of Building Trust in Autonomous Navigation Systems: A Perspective on the Tester
Vasanthan, C., van de Merwe, K., Pedersen, T. A., & Glomsrud, J. A. (2025) · European Safety and Reliability Conference (ESREL) · doi:10.3850/978-981-94-3281-3_esrel-sra-e2025-p4298-cd · Cited by 2
Validation of Dynamic Simulation Models using Metamorphic Testing and Given-When-Then Patterns
Sudheerbabu, G., Truşcan, D., Manngård, M., & Klemets, K. (2025) · Linköping electronic conference proceedings · doi:10.3384/ecp218139 · Cited by 2
“This technique also effectively addresses one of the fundamental challenges in software testing, the test oracle problem (Barr et al. 2014).”
Liu, J., Ramentol, E., Landin, C., & Tahvili, S. (2025) · Journal of Intelligent Manufacturing · doi:10.1007/s10845-025-02745-8 · Cited by 2
“Among these, dynamic thresholding, adaptive limits that evolve based on statistical features of the data, has shown particular promise in manufacturing contexts (Barr et al., 2015; Deshpande et al., 2023; Orabi et al., 2024).”
Foster, M. S., Hierons, R. M., Shin, D., Walkinshaw, N., & Wild, C. (2025) · International Conference on Evaluation and Assessment in Software Engineering (EASE) · doi:10.1145/3756681.3756967 · Cited by 2
“𝐸 is the expected causal effect of 𝑋 on 𝑌 , serving as the test oracle [10].”
Tian, H., Zhou, Y., Guo, A., Wu, G., Cheng, M., Wang, W., Wei, J., Zhang, T., & Han, X. (2026) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3787978 · Cited by 2
“It is essential to perform thorough testing on the decision-making of the ADS before deploying it in the real world [21].”
Finding and Understanding Bugs in FPGA Place-and-Route Engines
Cosgrove, O., Donaldson, A. F., & Wickerson, J. (2026) · ACM/SIGDA International Symposium on Field-Programmable Gate Arrays (FPGA) · doi:10.1145/3748173.3779185 · Cited by 2
“Our testing approach must solve the oracle problem [8] – that is, how to know whether a given test-case has been optimised, placed, and routed correctly?”
PromptOps: Automated Tool for Testing Trustworthiness of LLMs
Sontesadisai, C., Sae-Ngow, C., Rudeerudchanawong, J., Dangsungnoen, L., Ragkhitwetsagul, C., Racharak, T., & Sunetnanta, T. T. (2025) · Asia-Pacific Software Engineering Conference (APSEC) · doi:10.1109/apsec66846.2025.00117 · Cited by 2
“Thus, it is hard or impossible to find the right output [9], [11].”
Huang, J., Li, M., Yang, X., Liu, J., & Yan, S. (2025) · Asia-Pacific Software Engineering Conference (APSEC) · doi:10.1109/apsec66846.2025.00055 · Cited by 2
“This complexity makes it difficult to obtain expected results, rendering traditional testing methods ineffective and leading to the well-known oracle problem in software testing [1] [2] [3].”
Extending Delta Debugging Minimization for Spectrum-Based Fault Localization
Kapugama, C. G. (2026) · IEEE Annual Computing and Communication Workshop and Conference (CCWC) · doi:10.1109/ccwc67433.2026.11393800 · Cited by 2
“Moreover, the test cases generated by DDMIN during the process of exploring a minimal failure inducing input should be labelled using a test oracle [22].”
Developing, testing, building and maintaining an Eclipse project based on EMF and Xtext
Bettini, L. (2026) · Automated Software Engineering · doi:10.1007/s10515-026-00613-0 · Cited by 2
TopoToolbox 3, a laboratory for quantitative geomorphology
Kearney, W. S., Arnau, G., Bringezu, T., Dietze, M. C., Gailleton, B., Lamprecht, A.-L., Lenz, K., Ott, R. F., Scherler, D., Steer, P., et al. (2026) · Earth Surface Dynamics · doi:10.5194/egusphere-2026-2478 · Cited by 2
Retrieval-Augmented Unit Test Suggestion Generation
Li, H., Sun, W., & Yan, M. L. (2026) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3821423 · Cited by 2
“Nevertheless, manually writing high-quality unit tests remains non-trivial and time-consuming [11, 15, 27, 29].”
TOGBench: A Developer-Written Multi-variant Dataset and Benchmark Suite for Test Oracle Generation
Tasnim, T., Dwyer, M. B., & Hossain, S. B. (2026) · ACM International Conference on AI-Powered Software (AIware) · doi:10.1145/3805760.3814927 · Cited by 2
“More generally, an oracle can be viewed as a possibly partial decision procedure that maps an exe-cution’s stimuli and observations to an accept/reject outcome [1].”
VISOR: A Vision-Language Model-Based Test Oracle for Testing Robots
Saurabh, P., Valle, P., Arrieta, A., Ali, S., & Arcaini, P. (2026) · ACM International Conference on AI-Powered Software (AIware) · doi:10.1145/3805760.3814910 · Cited by 3
“In software testing, this problem is referred to as the test oracle problem [6], which determines whether software meets its intended behavior.”
LogicHunter: Testing LLM Agent Frameworks with an Agentic Oracle
Long, M., Zhao, Y., & Wang, H. (2026) · Proceedings of the ACM on software engineering. · doi:10.1145/3832142 · Cited by 2
“While testing typically mocks these dependencies, the frameworks must handle diverse error modes from external systems (rate limits, timeout, malformed responses), expanding the space of valid but edge-case behaviors.”
BackendForge: Benchmarking Agentic End-to-End Code Generation with Backend Services
Guo, Y., Wu, M. S., Cao, Y., Wei, J., Ran, D., Yang, W., & Xie, T. (2026) · Findings of the Association for Computational Linguistics: EMNLP (Findings of EMNLP) · doi:10.18653/2026.findings-emnlp.2236 · Cited by 2
Metadata
- Authors
- Barr, E. T., Harman, M., McMinn, P., Shahbaz, M., & Yoo, S.
- Affiliations
- University College London (GB)
- University of Sheffield (GB)
- Venue
- IEEE Transactions on Software Engineering
- Published
- 2015-05-01
- Volume
- 41
- Issue
- 5
- Pages
- 507-525
- ISSN
- 0098-5589 (ISSN-L)
- 1939-3520
- OpenAlex
- W2041713059
- Cited by
- 1,104
- References
- 236
- Citations by year
- 2026: 123 · 2025: 132 · 2024: 116 · 2023: 96 · 2022: 104 · 2021: 114 · 2020: 102 · 2019: 89 · 2018: 98 · 2017: 56 · 2016: 58 · 2015: 16
- FWCI
- 151.12
- Type
- journal article
- Language
- en
- Open access
- hybrid
- doi.org
- Locations
- IEEE Transactions on Software Engineering (publishedVersion, cc-by)
- UCL Discovery (University College London) (submittedVersion)
- Funders
- Engineering and Physical Sciences Research Council (EP/I010165/1, EP/I010386/1)
- Topics
- Physical Sciences › Computer Science › Software › Software Testing and Debugging Techniques
- Physical Sciences › Computer Science › Information Systems › Software Engineering Techniques and Practices
- Physical Sciences › Computer Science › Software › Advanced Software Engineering Methodologies
- Keywords
- oracle problem, software testing, metamorphic testing, informal specification, test automation, fault detection
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.