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 601–700 of 1,001
Liu, C., Lei, Y., Xie, H., Wang, J., Yu, Y., & Lo, D. (2026) · ACM Computing Surveys · doi:10.1145/3787202 · Cited by 8
“On the other hand, DL methods take this a step further by utilizing neural network structures to learn more intricate data features and patterns.”
Measuring Validity in LLM-based Resume Screening
Castleman, J., Shen, Z., Metevier, B., Springer, M., & Korolova, A. (2026) · Proceedings of IASEAI Conference · doi:10.1609/iaseai.v2i1.43017 · Cited by 8
A Dynamic Test Oracle for Quantum Programs With Separable Output States
Li, Y., Cai, K.-Y., & Yin, B. (2026) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2026.3670211 · Cited by 7
“Theoretically, test oracles are hardly both sound and complete, where a test oracle is sound (a.k.a., no false negatives) iff ∀ t ∈ T : D ( t ) ⇒ G ( t ) while it is complete (a.k.a., no false positives) iff ∀ t ∈ T : G ( t ) ⇒ D ( t ) [9], [34], [55] 4 .”
Enhancing REST API fuzzing with access policy violation checks and injection attacks
Şahin, Ö., Zhang, M., & Arcuri, A. (2026) · Journal of Systems and Software · doi:10.1016/j.jss.2026.113060 · Cited by 7
“The ‘‘oracle problem’’ is indeed one of the major challenges in software testing research [16].”
Verifying Embedded Graphics Libraries leveraging Virtual Prototypes and Metamorphic Testing
Hazott, C., Stögmüller, F., & Grosse, D. J. (2024) · Asia and South Pacific Design Automation Conference (ASP-DAC) · doi:10.1109/asp-dac58780.2024.10473799 · Cited by 7
“This challenge is well-known as test oracle problem [5] and in case of embedded graphics libraries it is even worse, as it typically means visual inspection of the results when executed on the HW. Altogether, this makes automating the verification very complicated.”
Metamorphic Relation Patterns for Metamorphic Testing, Exploration and Robustness
Ying, Z., Towey, D., Bellotti, A. G., Chua, C., & Zhou, Z. Q. (2025) · Software Testing Verification and Reliability · doi:10.1002/stvr.70003 · Cited by 7
Towards Fuzzing Zero-Knowledge Proof Circuits (Short Paper)
Chaliasos, S., Al-Fath, I., & Donaldson, A. F. (2025) · ACM SIGSOFT International Symposium on Software Testing and Analysis (ISSTA) · doi:10.1145/3713081.3731718 · Cited by 7
“Applying fuzzing techniques to ZKP circuits presents unique challenges arising from their specialized nature, including uncommon bug manifestations and the separation between constraints and computation.”
Leveraging Propagated Infection to Crossfire Mutants
Du, H., Palepu, V. K., & Jones, J. A. (2025) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1109/icse55347.2025.00150 · Cited by 7
Search+LLM-Based Testing for ARM Simulators
Even-Mendoza, K., Menéndez, H. D., Langdon, W. B., Dakhama, A., Petke, J., & Bruce, B. R. (2025) · IEEE/ACM International Conference on Software Engineering: Software Engineering in Practice (ICSE-SEIP) · doi:10.1109/icse-seip66354.2025.00047 · Cited by 7
“This challenge is commonly known as the oracle problem [40].”
Metamorphic Testing and exploration for Machine Learning credit score models
Ying, Z., Bellotti, A. G., Breeden, J. L., & Towey, D. (2025) · Information and Software Technology · doi:10.1016/j.infsof.2025.107903 · Cited by 7
DiffuTester: Accelerating Unit Test Generation for Diffusion LLMs via Mining Structural Pattern
Yang, L., Liu, Y., Zhang, Y., & Li, J. (2026) · Conference on Empirical Methods in Natural Language Processing (EMNLP) · doi:10.18653/2026.emnlp-main.1046 · Cited by 7
Automatically Assessing and Extending Code Coverage for NPM Packages
Sun, H., Rosà, A., Bonetta, D., & Binder, W. (2021) · doi:10.1109/ast52587.2021.00013 · Cited by 7
An annotation-based approach for finding bugs in neural network programs
Rezaalipour, M., & Furia, C. A. (2023) · Journal of Systems and Software · doi:10.1016/j.jss.2023.111669 · Cited by 7
IEMT: Inequality-Based Metamorphic Testing for Autonomous Driving Models
Xiong, C., Zhang, Z., Zhou, Y., Liu, C., & Huang, Z. (2022) · IEEE International Conference on Software Quality, Reliability and Security Companion (QRS-C) · doi:10.1109/qrs-c57518.2022.00049 · Cited by 7
“This kind of problem is called the test oracle problem [1].”
BackgroundToward Cost-Effective Adaptive Random Testing: An Approximate Nearest Neighbor Approach
Huang, R., Cui, C., Lian, J., Towey, D., Sun, W., & Chen, H. (2024) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2024.3379592 · Cited by 7
“Given a faulty software-system under test (SUT), a test case t is called a failure-causing input if the output or behavior of the SUT, when executed with t , is not as expected, as determined by the test oracle [34], [35], [36].”
MethodEvolutionary Testing for Program Repair
Ruan, H., Nguyen, H. L., Shariffdeen, R., Noller, Y., & Roychoudhury, A. (2024) · IEEE International Conference on Software Testing, Verification and Validation (ICST) · doi:10.1109/icst60714.2024.00058 · Cited by 7
“One of the fundamental challenges in software testing is the test oracle problem [15], [16], [17].”
BackgroundSMT2Test: From SMT Formulas to Effective Test Cases
Zhang, C., & Su, Z. (2024) · Proceedings of the ACM on Programming Languages · doi:10.1145/3689719 · Cited by 7
Towards Automating Integration Testing of .NET Applications Using Roslyn
Saadatmand, M. (2017) · IEEE International Conference on Software Quality, Reliability and Security Companion (QRS-C) · doi:10.1109/qrs-c.2017.99 · Cited by 7
“Automatic evaluation of test verdicts and result of each executed test case will, on the other hand, be another research challenge in itself as it requires dealing with the problem of automating the test oracle [7].”
BackgroundSupporting interactive system testing with interaction sequences
Turner, J., Bowen, J., & Reeves, S. (2017) · ACM SIGCHI Symposium on Engineering Interactive Computing Systems (EICS) · doi:10.1145/3102113.3102149 · Cited by 7
“Test oracles allow us to distinguish correct behaviour from potentially incorrect behaviour [1].”
BackgroundMetamorphic testing for adobe analytics data collection javascript library
Wang, Z., Towey, D., Zhou, Z. Q., & Chen, T. Y. (2018) · IEEE/ACM International Workshop on Metamorphic Testing (MET) · doi:10.1145/3193977.3193979 · Cited by 7
“To improve the cost effectiveness of testing, we decided to apply metamorphic testing (MT) [2, 4], a testing paradigm that addresses the oracle and test automation problems [1, 3, 7].”
MethodInferring visual contracts from Java programs
Alshanqiti, A. M., Heckel, R., & Kehrer, T. (2018) · Automated Software Engineering · doi:10.1007/s10515-018-0242-9 · Cited by 7
Developing a Language Learning Application OER
Towey, D., Millan, A., Cheng, W., Yang, S., Yu, S., Zhao, Z., & Zhu, T. (2018) · IEEE International Conference on Teaching, Assessment, and Learning for Engineering · doi:10.1109/tale.2018.8615424 · Cited by 7
Staegemann, D. G., Hintsch, J., & Turowski, K. (2019) · WIRTSCHAFTSINFORMATIK · Cited by 7
Proficiency Testing for Software Analysis and Cybersecurity Laboratories
Machado, R. C. S., Melo, W. S., Bento, L. M. S., Camara, S., da Hora, V., Barras, T., & Chapetta, W. A. (2020) · IEEE International Workshop on Metrology for Industry 4.0 & IoT (MetroInd4.0&IoT) · doi:10.1109/metroind4.0iot48571.2020.9138225 · Cited by 7
“…in different scopes of compliance assessment [2], [5], [6], the software evaluation introduces a series of new challenges arising from subjectivity associated with interpreting the requirements of a software product, and on the different understandings regarding how software can be tested [7], [8].”
BackgroundSMRL: a metamorphic security testing tool for web systems
Mai, P. X., Göknil, A., Pastore, F., & Briand, L. (2020) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1145/3377812.3382152 · Cited by 7
“Therefore, security testing suffers from the oracle problem [4], which refers to situations where it is extremely difficult to determine the correct output for a given test”
BackgroundTowards effective metamorphic testing by algorithm stability for linear classification programs
Yang, Y., Li, Z., Wang, H., Xu, C., & Ma, X. (2021) · Journal of Systems and Software · doi:10.1016/j.jss.2021.111012 · Cited by 7
“Oneof the key obstacles to testing machine learning programs is the oracle problem [2].”
BackgroundDeep State Inference: Toward Behavioral Model Inference of Black-Box Software Systems
Ataiefard, F., Mashhadi, M. J., Hemmati, H., & Walkinshaw, N. (2021) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2021.3128820 · Cited by 7
“These alternative versions can be used for example in testing (for regression testing, or to address the test-oracle problem [36]).”
Application of Artificial Intelligence in Software Testing
Singhal, P., Kundu, S., Gupta, H., & Jain, H. (2021) · International Conference on System Modeling & Advancement in Research Trends (SMART) · doi:10.1109/smart52563.2021.9676244 · Cited by 7
Harnessing Multiple Source Test Cases in Metamorphic Testing: A Case Study in Bioinformatics
Tang, J. Y. S., Yang, A., Chen, T. Y., & Ho, J. W. K. (2017) · IEEE/ACM International Workshop on Metamorphic Testing (MET) · doi:10.1109/met.2017.4 · Cited by 7
“, due to the oracle problem [3]), the outputs from multiple executions of the same PUT with related inputs can be compared to check if some expected relationships hold.”
BackgroundAyerdi, J., Arrieta, A., Pobee, E. B., & Arratibel, M. (2022) · Proceedings/Proceedings - International Symposium on Software Reliability Engineering · doi:10.1109/issre55969.2022.00058 · Cited by 7
“This is one of the fundamental problems in software testing, known as the oracle problem [5].”
MethodLaaber, C., Yue, T., Ali, S., Schwitalla, T., & Nygård, J. F. (2023) · ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering (ESEC/FSE) · doi:10.1145/3611643.3613882 · Cited by 7
“Current research does not offer a solution; there simply is no implicit oracle [10] for rule executions.”
BackgroundLLMs in the Heart of Differential Testing: A Case Study on a Medical Rule Engine
Isaku, E., Laaber, C., Sartaj, H., Ali, S., Schwitalla, T., & Nygård, J. F. (2025) · IEEE International Conference on Software Testing, Verification and Validation (ICST) · doi:10.1109/icst62969.2025.10989025 · Cited by 7
“Differential testing solves the oracle problem [4] by sending the same input to two (or more) SUTs that should have the same outputs and comparing whether the actual outputs are identical [32].”
Empirical Assessment of Multimorphic Testing
Temple, P., Acher, M., & Jezéquél, J. (2019) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2019.2926971 · Cited by 7
“It can be used to compare different programs for the same input and determine whether some relations are kept from one execution to another [35].”
Evolving sqrt into 1/ x via software data maintenance
Langdon, W. B., & Krauss, O. (2020) · Genetic and Evolutionary Computation Conference Companion (GECCO Companion) · doi:10.1145/3377929.3398110 · Cited by 7
“Although AI has made considerable progress in generating test cases to exercise code [4, 19] usually this relies on implicit oracles [8, 26, 34, 56, 63] (such as: does the test cause the code to crash with a null pointer exception?)”
BackgroundZhang, Y., Pike, M., Towey, D., Han, J. C., & Zhou, Z. Q. (2022) · IEEE Global Engineering Education Conference (EDUCON) · doi:10.1109/educon52537.2022.9766791 · Cited by 7
Automatic Test Case Generation for Serverless Applications
Winzinger, S., & Wirtz, G. (2022) · IEEE International Symposium on Service-Oriented System Engineering (SOSE) · doi:10.1109/sose55356.2022.00015 · Cited by 7
“But even implicit errors may be seen as acceptable [18], e.”
BackgroundAn incremental method for extracting tests from object-oriented specification
Ghoreshi, M., & Haghighi, H. (2016) · Information and Software Technology · doi:10.1016/j.infsof.2016.05.005 · Cited by 7
Visual contract extractor: a tool for reverse engineering visual contracts using dynamic analysis
Alshanqiti, A. M., Heckel, R., & Kehrer, T. (2016) · IEEE/ACM International Conference on Automated Software Engineering (ASE) · doi:10.1145/2970276.2970287 · Cited by 7
“Approaches for inferring invariants have been considered in component-based verification [25] and software testing, e.g. to address the test oracle problem [7] or to generate logical test inputs [6].”
MethodDo, Q. H., Bubel, R., & Hähnle, R. (2016) · Computers & Security · doi:10.1016/j.cose.2016.12.002 · Cited by 7
“A huge problem in software testing is the creation of oracles (Barr et al., 2015) that tell whether a test succeeded.”
BackgroundA platform for diversity-driven test amplification
Kessel, M., & Atkinson, C. (2019) · International Workshop on Automating Test Case Design, Selection and Evaluation (A-TEST) · doi:10.1145/3340433.3342825 · Cited by 7
“generating test outputs) – the so called “oracle problem” [4].”
BackgroundInfluentialAn Empirical Analysis of Blind Tests
Baral, K., & Offutt, J. (2020) · IEEE International Conference on Software Testing, Verification and Validation (ICST) · doi:10.1109/icst46399.2020.00034 · Cited by 7
“Consider sorting a simple numeric array, for example “sort([5,3,4]).”
BackgroundMethodEffective methods to tackle the equivalent mutant problem when testing software with mutation
Kintis, M. (2016) · doi:10.12681/eadd/38297 · Cited by 7
“It should be mentioned that this problem is not unique to mutation testing, on the contrary, it pertains to almost every testing scenario [101].”
BackgroundMetamorphic Testing for Smart Contract Vulnerabilities DetectionPreprint
Li, J. (2023) · arXiv (Cornell University) · doi:10.48550/arxiv.2303.03179 · Cited by 7
“MT is a property-based testing technique [18], which is used for alleviating the oracle problem [19] of software testing.”
A Systematic Survey on Debugging Techniques for Machine Learning SystemsPreprint
Nguyen, T.-D., Tian, H., Le, B., Thongtanunam, P., & McIntosh, S. (2025) · arXiv (Cornell University) · doi:10.48550/arxiv.2503.03158 · Cited by 7
“This involves testing the model’s accuracy, precision, recall, and other relevant metrics on various datasets, including corner cases and edge cases [16], [17].”
AI for Software Quality Assurance Blue Sky Ideas Talk
Kalech, M., & Stern, R. (2020) · Proceedings of the AAAI Conference on Artificial Intelligence · doi:10.1609/aaai.v34i09.7076 · Cited by 6
“The Oracle problem has received less attention than the reliable test set problem, but nonethe-less there are several approaches for addressing it (Barr et al. 2014).”
BackgroundDetecting Inconsistent Thrown Exceptions
Xu, L., & Zhong, H. (2021) · IEEE International Conference on Program Comprehension (ICPC) · doi:10.1109/icpc52881.2021.00045 · Cited by 6
“The oracle problem is well-known in software testing [12].”
MethodUsing Diversities to Model the Reliability of Two-Version Machine Learning Systems
Machida, F. (2023) · IEEE Transactions on Emerging Topics in Computing · doi:10.1109/tetc.2023.3322563 · Cited by 6
“Compared to traditional software testing, MLS testing needs to deal with an oracle problem [19].”
MethodSalako, K., & Zhao, X. (2023) · Quality and Reliability Engineering International · doi:10.1002/qre.3460 · Cited by 6
“Such possibilities are consistent with previous works that show how “favourable” operational evidence can undermine confidence during assessments; for example, Littlewood and Wright, 55 Salako and Zhao.”
BackgroundInfluentialMutation-Based Integration Testing of Knowledge Graph Applications
John, T., Johnsen, E. B., & Kamburjan, E. (2024) · Proceedings/Proceedings - International Symposium on Software Reliability Engineering · doi:10.1109/issre62328.2024.00052 · Cited by 6
“Designing oracles is a challenging task [4], and if generating the expected output is not possible, one can use indirect techniques, such as metamorphic testing [7], which relates the outputs of different runs to each other, for example the output of an original test case to a generated one.”
BackgroundTesting convolutional neural network based deep learning systems: a statistical metamorphic approach
Rehman, F. U., & Izurieta, C. I. (2025) · PeerJ Computer Science · doi:10.7717/peerj-cs.2658 · Cited by 7
“The Oracle problem arises when either the oracle is not available or is available but infeasible to apply within a limited set of constraints ( Barr et al., 2014 ).”
Dynamic information utilization for securing Ethereum smart contracts: A literature review
Hu, T., & Li, B. (2025) · Information and Software Technology · doi:10.1016/j.infsof.2025.107719 · Cited by 6
Interventional Root Cause Analysis of Failures in Multi-Sensor Fusion Perception Systems
Wang, S., Zhou, Q., Wu, K., Deng, J., Wu, D., Lee, W.-B., & Wang, J. (2025) · Network and Distributed System Security Symposium · doi:10.14722/ndss.2025.240036 · Cited by 6
““Oracle” comes from the software engineering term “test oracle”, used to check the correctness of the program’s outputs for test cases [20].”
Spectre : Automated Aliasing Specification Generation for Library APIs with Fuzzing
Kan, S., Li, Y., He, W., Xing, Z., Zhu, L., & Sui, Y. (2025) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3725811 · Cited by 6
“Similar to the use of oracles in software testing and traditional grey-box fuzzing to distinguish between desired, correct behavior and potentially incorrect behavior [6], we employ alias-check runtime observers to detect aliasing relationships that emerge during the execution of library APIs.”
LLM-assisted Metamorphic Testing of Embedded Graphics Libraries
Hazott, C., & Grosse, D. J. (2025) · Forum on specification and Design Languages · doi:10.1109/fdl68117.2025.11165405 · Cited by 6
“This is well known as oracle problem [9].”
CoQuIR: A Comprehensive Benchmark for Code Quality-Aware Information Retrieval
Geng, J., Cai, F., Cui, S., Li, Q., Chen, L., Lyu, C., Li, H., Zhu, D., Pretschner, A., Koeppl, H., et al. (2026) · Proceedings of the conference - Association for Computational Linguistics. Meeting · doi:10.18653/v1/2026.acl-long.512 · Cited by 6
Augmenting software quality assurance with AI and automation using PyTest-BDD
Zhao, X., Wang, H., Ding, J., Hu, Z., Tian, Q., & Wang, Y. (2025) · Automated Software Engineering · doi:10.1007/s10515-025-00566-w · Cited by 7
“Specifically, A r : F → { 0 , 1 , where A r ( f ) = 1 indicates functionality f remains operational after changes, and A r ( f ) = 0 indicates a regression (Barr et al. 2015; Bertolino 2007 ; Wang et al. 2024 ).”
State Field Coverage: A Metric for Oracle Quality
Molina, F., Aguirre, N., & Gorla, A. (2025) · IEEE/ACM International Conference on Automated Software Engineering (ASE) · doi:10.1109/ase63991.2025.00222 · Cited by 6
“The problem of producing accurate test oracles, known as the oracle problem [9], has proved to be both difficult and time-consuming.”
Automated Test Validators for Flaky Cyber-Physical System Simulators: Approach and Evaluation
Jodat, B. A., Gaaloul, K., Sabetzadeh, M., & Nejati, S. (2026) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2026.3685556 · Cited by 6
Combining bug detection and test case generation
Kellogg, M. (2016) · ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering (ESEC/FSE) · doi:10.1145/2950290.2983970 · Cited by 6
“and these cases require significant human effort to diagnose and fix [7].”
BackgroundEquivalent Mutants Detection Based on Weighted Software Behavior Graph
Gong, D., Wang, T., Su, X., & Zhang, Y. (2022) · International Journal of Software Engineering and Knowledge Engineering · doi:10.1142/s0218194022500322 · Cited by 6
Evaluation of Metamorphic Testing for Edge Detection in MRI Brain Diagnostics
Jafari, F., Nadeem, A., & Zaman, Q. (2022) · Applied Sciences · doi:10.3390/app12178684 · Cited by 6
Ying, Z., Bellotti, A. G., Towey, D., Chen, T. Y., & Zhou, Z. Q. (2022) · IEEE Annual International Computer Software and Applications Conference (COMPSAC) · doi:10.1109/compsac54236.2022.00274 · Cited by 6
A Selection Method of Effective Metamorphic Relations
Zhang, J., Hong, J., Huang, D., Li, M., Yan, S., & Gong, H. (2022) · International Conference on Reliability, Maintainability and Safety · doi:10.1109/icrms55680.2022.9944550 · Cited by 6
Borg, M., Bengtsson, J., Österling, H., Hagelborn, A., Gagner, I., & Tomaszewski, P. (2022) · IEEE/ACM International Conference on AI Engineering – Software Engineering for AI (CAIN) · doi:10.1145/3522664.3528592 · Cited by 7
“We acknowledge that QA of GDMs forces us to see the oracle problem [5] in a new light.”
BackgroundAPI-Knowledge Aware Search-Based Software Testing: Where, What, and How
Ren, X., Ye, X., Lin, Y., Xing, Z., Li, S., & Lyu, M. R.-T. (2023) · ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering (ESEC/FSE) · doi:10.1145/3611643.3616269 · Cited by 6
Ensuring Critical Properties of Test Oracles for Effective Bug Detection
Hossain, S. B. (2024) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1145/3639478.3639791 · Cited by 6
On-Device Neural Network for Object Train and Recognition using Mobile
Uddin, M. S., Slany, W., & Hasan, K. J. (2024) · International Journal of Interactive Mobile Technologies (iJIM) · doi:10.3991/ijim.v18i12.47895 · Cited by 6
MRGS‐ART: Metamorphic Relation and Group Selection Based on Adaptive Random Testing
Ying, Z., Towey, D., Bellotti, A. G., & Zhou, Z. Q. (2024) · Software Testing Verification and Reliability · doi:10.1002/stvr.1908 · Cited by 6
MetaMFL: Metamorphic Multiple Fault Localization Without Test Oracles
Fu, L., Wu, Z., Lei, Y., & Yan, M. L. (2024) · IEEE Transactions on Reliability · doi:10.1109/tr.2024.3504400 · Cited by 6
“In practice, however, the oracle problem is a common case, where test oracles are not available, either simply impossible to obtain or impractically costly to construct [18].”
Service functional testing automation with intelligent scheduling and planning
Hillah, L. M., Maesano, A.-P., Maesano, L., Rosa, F. D., Kordon, F., & Wuillemin, P.-H. (2016) · ACM Symposium on Applied Computing · doi:10.1145/2851613.2851807 · Cited by 6
“In particular, tasks such as: (i) automated optimized generation of test inputs [5], (ii) automated generation of test oracles [4], and (iii) optimized management of test suites for different test purposes - such as first testing, re-testing, regression testing [19], has not yet found automation solutions that can be…”
MethodRobustness Testing of Intermediate Verifiers
Chen, Y., & Furia, C. A. (2018) · Lecture notes in computer science · doi:10.1007/978-3-030-01090-4_6 · Cited by 6
ADVISOR: An Adjustable Framework for Test Oracle Automation of Visual Output Systems
Genc, A. E., Sözer, H., Kıraç, F., & Aktemur, B. (2019) · IEEE Transactions on Reliability · doi:10.1109/tr.2019.2957507 · Cited by 6
“There exist a recent survey [5] conducted for analyzing and categorizing test oracles proposed so far.”
BackgroundQuality assessment in competition-based software crowdsourcing
Hu, Z., Wu, W., Luo, J., Wang, X., & Li, B. (2020) · Frontiers of Computer Science · doi:10.1007/s11704-019-8418-4 · Cited by 6
Fuzzing of Mobile Application in the Banking Domain: a Case Study
Schneider, M., Wendland, M.-F., Akin, A., & Şentürk, Ş. (2020) · IEEE International Conference on Software Quality, Reliability and Security Companion (QRS-C) · doi:10.1109/qrs-c51114.2020.00087 · Cited by 6
“Correctness means that a behavior classified as an error is actually an error and thus the false positive rate [25] is minimized.”
BackgroundHigh‐coverage metamorphic testing of concurrency support in C compilers
Windsor, M., Donaldson, A. F., & Wickerson, J. (2022) · Software Testing Verification and Reliability · doi:10.1002/stvr.1812 · Cited by 6
“Workflows involving metamorphic testing have been used to test compilers in the past [21,24,56], to avoid difficulties relating to the oracle problem [43].”
BackgroundMethodAutomatically finding Metamorphic Relations in Computational Material Science Parsers
Müller, S., Gogoll, V., Vu, A. D., Kehrer, T., & Grunske, L. (2022) · IEEE International Conference on eScience · doi:10.1109/escience55777.2022.00092 · Cited by 6
“Thus, similarly to the earlier mentioned problems in predicting the outcome of DFT codes, we encounter the Oracle Problem again.”
BackgroundInfluentialGrau‐Luque, E., Becerril‐Romero, I., Atlan, F., Huber, D., Harnisch, M., Zimmermann, A., Pérez-Rodríguez, A., Guc, M., & Izquierdo‐Roca, V. (2024) · Small Methods · doi:10.1002/smtd.202301573 · Cited by 6
Combining Metamorphic Testing and Machine Learning to Enhance OpenStreetMap
Méndez, M., Becerra-Terón, A., Almendros-Jiménez, J. M., Merayo, M. G., & Nunez, M. A. (2024) · IEEE Transactions on Reliability · doi:10.1109/tr.2024.3379366 · Cited by 6
A Reference Process for Assessing the Reliability of Predictive Analytics Results
Staudinger, S., Schuetz, C. G., & Schrefl, M. (2024) · SN Computer Science · doi:10.1007/s42979-024-02892-4 · Cited by 6
“Metamorphic software testing can be used to deal with the oracle problem , which occurs when the the correct behavior of the software cannot be distinguished from an incorrect behavior due to missing formal specifications or assertions.”
BackgroundMethodPfitzinger, B., Baumann, T., & Jestädt, T. (2017) · Annals of Computer Science and Information Systems · doi:10.15439/2017f133 · Cited by 6
“A test oracle is a predicate that determines whether a given test activity sequence is an acceptable behavior of the system under test [32].”
BackgroundA cloud-based dynamic random software testing strategy
Pei, H., Yin, B., Xie, M., & Cai, K. (2017) · IEEE International Conference on Industrial Engineering and Engineering Management (IEEM) · doi:10.1109/ieem.2017.8289943 · Cited by 6
“The value range of APFD is [0, 1].”
BackgroundInfluentialAutomated generation of oracled test cases with regular expressions and combinatorial techniques
Polo, M., Pedreira, Ó., Places, Á. S., & de Guzmán, I. G. (2020) · Journal of Software Evolution and Process · doi:10.1002/smr.2273 · Cited by 6
Selecting test inputs for DNNs using differential testing with subspecialized model instances
Ma, Y., Yoo, S., & Kim, T. (2021) · ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering (ESEC/FSE) · doi:10.1145/3468264.3473131 · Cited by 6
“3473131 machine learning systems [11] reports that one of the major technical challenges is the test oracle problem [1].”
BackgroundSelf-citationBuilding Test Oracles by Clustering Failures
Almaghairbe, R., & Roper, M. (2015) · doi:10.1109/ast.2015.8 · Cited by 6
“[3] who classified the existing literature on test oracles into three broad categories: (1) specified oracles; (2) implicit oracles; and (3) derived oracles.”
BackgroundMetamorphic Testing of Mapping Software
Brown, J., Zhou, Z. Q., & Chow, Y.-W. (2019) · Lecture notes in business information processing · doi:10.1007/978-3-030-28430-5_1 · Cited by 6
Ant Colony Optimization for Object-Oriented Unit Test Generation
Bruce, D., Menéndez, H. D., Barr, E. T., & Clark, D. (2020) · Lecture notes in computer science · doi:10.1007/978-3-030-60376-2_3 · Cited by 6
Self-citationBruce, B. R. (2018) · UCL Discovery (University College London) · Cited by 6
Test Metrics for Recurrent Neural Networks.Preprint
Huang, W., Sun, Y., Sharp, J. J., & Huang, X. (2019) · arXiv (Cornell University) · Cited by 6
Learning to Encode and Classify Test ExecutionsPreprint
Tsimpourlas, F., Rajan, A., & Allamanis, M. (2020) · arXiv (Cornell University) · doi:10.48550/arxiv.2001.02444 · Cited by 6
“Literature refers to the challenge of automatically determining the correctness of test executions as the test oracle problem and acknowledges it as one of the key remaining issues for automated testing [13].”
BackgroundInfluentialAutomated Testing of Robotic and Cyberphysical Systems
Afzal, A. (2021) · Figshare · doi:10.1184/r1/16645639 · Cited by 6
The Specification as Quality Gate: Three Hypotheses on AI-Assisted Code ReviewPreprint
Zietsman, C. (2026) · arXiv (Cornell University) · doi:10.48550/arxiv.2603.25773 · Cited by 6
“Barr et al. (2015), in the canonical survey of the oracle problem, established that complete oracles are theoretically impossible for most real-world software.”
Bidirectional Empowerment of Metamorphic Testing and Large Language Models: A Systematic SurveyPreprint
Zheng, Z., Zhou, Z., Xu, Y., Ren, D., & Chen, T. Y. (2026) · arXiv (Cornell University) · doi:10.48550/arxiv.2605.13898 · Cited by 5
“This challenge is widely referred to as the oracle problem [6].”
Building to the Test: Coding Agents Deliver What You Check, Not What You RequestedPreprint
Ma, Y., Kereopa-Yorke, B., & Schultz, B. (2026) · arXiv (Cornell University) · doi:10.48550/arxiv.2606.28430 · Cited by 7
MorphQ++: A Reproducibility Study of Metamorphic Testing on Quantum Compilers
Kitt, L., & Cohen, M. B. (2024) · doi:10.1145/3695750.3695823 · Cited by 5
Unlocking the Power of CI/CD for Data Pipelines in Distributed Data Warehouses
Yang, H., Xu, Z., Yudin, S., & Davidson, A. (2025) · Proceedings of the VLDB Endowment · doi:10.14778/3750601.3750613 · Cited by 5
TAIDL: Tensor Accelerator ISA Definition Language with Auto-generation of Scalable Test Oracles
Jain, D., Frigo, M., Arora, J., Pardeshi, A., Wang, Z., Patel, K., & Mendis, C. (2025) · IEEE/ACM International Symposium on Microarchitecture (MICRO) · doi:10.1145/3725843.3756075 · Cited by 5
“The term “test oracle”, used in Sail [52] and software testing literature [6, 13], also appears as “functional simulator” in some prior works.”
Generating Failure-Based Oracles to Support Testing of Reported Bugs in Android Apps
Johnson, J., Mahmud, J., Chaparro, O., Moran, K., & Fazzini, M. (2025) · IEEE/ACM International Conference on Automated Software Engineering (ASE) · doi:10.1109/ase63991.2025.00182 · Cited by 5
“The lack of automated oracle generation for reported bugs is a key gap in the current literature, as it plays a important role in automated generation of GUI-level regression tests [26], and automated program repair techniques that often rely on regression tests as a feedback signal [27].”
Coverage-Based Harmfulness Testing for LLM Code Transformation
Tan, H., Wang, H., Pressato, D., Xu, Y., & Tan, S. H. (2025) · IEEE/ACM International Conference on Automated Software Engineering (ASE) · doi:10.1109/ase63991.2025.00086 · Cited by 5
“…and automatically inject the harmful content into the prompt templates, (4) output damage measurement , a form of heuristic test oracle [19], [20], where we measure the degree of damage that can be incurred by the Code LLM by automatically analyzing auto-generated code o 1 and explanation o…”
Key Considerations for Domain Expert Involvement in LLM Design and Evaluation: An Ethnographic Study
Szymanski, A., Anuyah, O., Li, T. J.-J., & Metoyer, R. (2026) · ACM International Conference on Intelligent User Interfaces (IUI) · doi:10.1145/3742413.3789105 · Cited by 5
“Unlike traditional software, LLM-based systems are non-deterministic and require human judgment and iterative refinement [7, 11, 71].”
No safe AI standardization in sight at present: an investigation into ISO/IEC TR 5469
Locherer, M., Kordovan, M., Buxbaum, B., & Kever, T. (2025) · International Conference on System Reliability and Safety (ICSRS) · doi:10.1109/icsrs68021.2025.11422167 · Cited by 5
“Many problems have to be faced, in the case of V & V for AI, as outlined in current literature, including the oracle problem [19], [30], [31], the black swan problem [32] and its associated approval trap [32]– [35], the incompatibility of the standard V-model process [32], data as the new but…”
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.