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 401–500 of 1,001
Kormiltsyn, A., Dwivedi, V. K., Udokwu, C. J., & Norta, A. (2023) · Blockchain in Healthcare Today · doi:10.30953/bhty.v6.276 · Cited by 14
“45 As asserted by Barr, 52 this conun-drum emerges when test oracles are unable to execute in a fully automated manner.”
BackgroundTesting Relative to Usage Scope: Revisiting Software Coverage Criteria
Miranda, B., & Bertolino, A. (2020) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3389126 · Cited by 14
“Such a mechanism is called a test oracle [3, 32].”
BackgroundDreaming up Metamorphic Relations: Experiences from Three Fuzzer Tools
Lascu, A., Windsor, M., Donaldson, A. F., Grosser, T., & Wickerson, J. (2021) · IEEE/ACM International Workshop on Metamorphic Testing (MET) · doi:10.1109/met52542.2021.00017 · Cited by 14
“Metamorphic testing has gained a lot of attention in recent years (see [2] for a recent survey) because it circumvents the oracle problem [3]: for a given test input x we can apply an MR to obtain a related test input x (cid:48) (such that ( x, x (cid:48) ∈ R ) ), and then check whether the results…”
MethodSmoke Testing of Cloud Systems
Cannavacciuolo, C., & Mariani, L. (2022) · IEEE International Conference on Software Testing, Verification and Validation (ICST) · doi:10.1109/icst53961.2022.00016 · Cited by 14
Manino, E., Rozanova, J., Carvalho, D. S., Freitas, A., & Cordeiro, L. C. (2022) · Findings of the Association for Computational Linguistics: ACL (Findings of ACL) · doi:10.18653/v1/2022.findings-acl.185 · Cited by 16
Metamorphic Testing and Debugging of Tax Preparation Software
Tizpaz-Niari, S., Monjezi, V., Wagner, M., Darian, S., Reed, K., & Trivedi, A. (2023) · IEEE/ACM International Conference on Software Engineering: Software Engineering in Society (ICSE-SEIS) · doi:10.1109/icse-seis58686.2023.00019 · Cited by 14
“Metamorphic testing [8] is primarily developed to counter the lack of oracle [7] (black box module”
BackgroundMetamorphic testing: A new student engagement approach for a new software testing paradigm
Towey, D., Chen, T. Y., Kuo, F., Liu, H., & Zhou, Z. Q. (2016) · IEEE International Conference on Teaching, Assessment, and Learning for Engineering · doi:10.1109/tale.2016.7851797 · Cited by 14
“Beyond smoke tests, though, the ability to categorically determine the correctness of software behavior, and especially output, is another significant challenge to software testers: If a mechanism exists to make the determination, then it is said that an oracle exists; if there is no such mechanism, or if it is not pr…”
BackgroundAdvances in Combinatorial Testing
Tzoref-Brill, R. (2018) · Advances in computers · doi:10.1016/bs.adcom.2017.12.002 · Cited by 14
A 2030 Roadmap for Software Engineering
Pezzè, M., Abrahão, S., Penzenstadler, B., Poshyvanyk, D., Roychoudhury, A., & Yue, T. (2025) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3731559 · Cited by 13
Toward granular search-based automatic unit test case generation
Pecorelli, F., Grano, G., Palomba, F., Gall, H. C., & Lucia, A. D. (2024) · Empirical Software Engineering · doi:10.1007/s10664-024-10451-x · Cited by 15
“In particular, once generated, test cases not only need to be manually validated by testers to verify assertions (Afshan et al. 2013; Barr et al. 2015), but also maintained to keep them updated as a consequence of the changes to the production code (Palomba et al. 2016).”
MacCarthy, B. L., Das, S., & Ahmed, W. A. H. (2024) · Sustainability · doi:10.3390/su16146217 · Cited by 13
Tratto: A Neuro-Symbolic Approach to Deriving Axiomatic Test Oracles
Molinelli, D., Martin-Lopez, A., Zackrone, E., Eken, B., Ernst, M. D., & Pezzè, M. (2025) · Proceedings of the ACM on software engineering. · doi:10.1145/3728960 · Cited by 13
“The oracle problem is still largely open and its automation is limited [4, 45].”
Ankam, J. (2022) · International Journal of Computational and Experimental Science and Engineering · doi:10.22399/ijcesen.5462 · Cited by 13
“The difficulty of deciding whether program output is correct is known as the oracle problem [13].”
Evaluating Natural Language Inference Models: A Metamorphic Testing Approach
Jiang, M., Bao, H., Tu, K., Zhang, X., & Ding, Z. (2021) · Proceedings/Proceedings - International Symposium on Software Reliability Engineering · doi:10.1109/issre52982.2021.00033 · Cited by 13
Using a ELECTRE MCDM method for Software Testing Techniques
(2019) · REST Journal on Emerging trends in Modelling and Manufacturing · doi:10.46632/jemm/5/4/6 · Cited by 13
Salako, K., & Zhao, X. (2023) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2022.3233802 · Cited by 13
“The tests could be unrepresentatively “easy” for the software to correctly respond to, or the test oracle is incorrect so failures go undetected [53], [54].”
BackgroundIndustrial Deployment of Compiler Fuzzing Techniques for Two GPU Shading Languages
Donaldson, A. F., Clayton, B., Harrison, R., Mohsin, H., Neto, D., Teliman, V., & Watson, H. (2023) · IEEE International Conference on Software Testing, Verification and Validation (ICST) · doi:10.1109/icst57152.2023.00042 · Cited by 13
“The oracle [3] used for detecting bugs during fuzzing is the crash oracle, where a bug is deemed to have been found if the SUT crashes.”
MethodMetamorphic testing of chess engines
Méndez, M., Benito-Parejo, M., Ibias, A., & Nunez, M. A. (2023) · Information and Software Technology · doi:10.1016/j.infsof.2023.107263 · Cited by 13
de Andrade, S. A., Nunes, F. L. S., & Delamaro, M. E. (2023) · Software Testing Verification and Reliability · doi:10.1002/stvr.1863 · Cited by 13
Mutation analysis for evaluating code translation
Guizzo, G., Zhang, J. M., Sarro, F., Treude, C., & Harman, M. (2023) · Empirical Software Engineering · doi:10.1007/s10664-023-10385-w · Cited by 13
“…which may overfit the training and test data, leading to biased evaluation results of code translators; second, the adopted test suite might be insufficient in exposing the difference between the input program and its translation, yet test suite enhancement remains no easy task (Barr et al. 2015).”
BackgroundSelf-citationWe Need a Testability Transformation Semantics
Harman, M. (2018) · Lecture notes in computer science · doi:10.1007/978-3-319-92970-5_1 · Cited by 13
“Metamorphic testing [15] is one approach to tackle the test oracle problem [6].”
MethodSelf-citationAn Approach for Testing the Extract-Transform-Load Process in Data Warehouse Systems
Homayouni, H., Ghosh, S., & Ray, I. (2018) · International Database Engineering and Applications Symposium (IDEAS) · doi:10.1145/3216122.3216149 · Cited by 13
“Test assertions compare the test outputs with the expected outputs to verify whether a test passed or failed [4].”
ResultDynamic Random Testing: Technique and Experimental Evaluation
Pei, H., Cai, K., Yin, B., Mathur, A. P., & Xie, M. (2019) · IEEE Transactions on Reliability · doi:10.1109/tr.2019.2911593 · Cited by 13
Leveraging metamorphic testing to automatically detect inconsistencies in code generator families
Boussaa, M., Barais, O., Sunyé, G., & Baudry, B. (2019) · Software Testing Verification and Reliability · doi:10.1002/stvr.1721 · Cited by 13
“However, test oracles are not always available and may be hard to define or too difficult to apply [18].”
Dynamic Random Testing of Web Services: A Methodology and Evaluation
Sun, C., Dai, H., Wang, G., Towey, D., Chen, T. Y., & Cai, K. (2019) · IEEE Transactions on Services Computing · doi:10.1109/tsc.2019.2960496 · Cited by 13
A Replication Study on Predicting Metamorphic Relations at Unit Testing Level
Duque‐Torres, A., Pfahl, D., Ramler, R., & Klammer, C. (2022) · IEEE International Conference on Software Analysis, Evolution and Reengineering (SANER) · doi:10.1109/saner53432.2022.00088 · Cited by 13
“The oracle problem arises when the SUT lacks an oracle or when developing one to verify computed outputs is practically impossible [3].”
Verdict machinery: on the need to automatically make sense of test results
Fagerström, M., Ismail, E. E., Liebel, G., Guliani, R., Larsson, F., Nordling, K., Knauss, E., & Pelliccione, P. (2016) · International Symposium on Software Testing and Analysis · doi:10.1145/2931037.2931064 · Cited by 13
A Proposal to Orchestrate Test Cases
García, B., Lonetti, F., Gallego, M., Miranda, B., Jimenez, E., Angelis, G. D., Santos, C., & Marchetti, E. (2018) · International Conference on the Quality of Information and Communications Technology (QUATIC) · doi:10.1109/quatic.2018.00016 · Cited by 13
“, the oracle problem [20]) applied to the output data in the data-driven orchestration approach.”
MethodAbstraction-Aware Inference of Metamorphic Relations
Nolasco, A., Molina, F., Degiovanni, R., Gorla, A., Garbervetsky, D., Papadakis, M., Uchitel, S., Aguirre, N., & Frias, M. F. (2024) · Proceedings of the ACM on software engineering. · doi:10.1145/3643747 · Cited by 13
“An important threat to validity is the applicability of MemoRIA to subjects beyond our dataset.”
Kathiresan, G. (2025) · doi:10.36227/techrxiv.174702077.78864934/v1 · Cited by 13
Expectations vs Reality -- A Secondary Study on AI Adoption in Software TestingPreprint
Karhu, K., Kasurinen, J., & Smolander, K. (2025) · arXiv (Cornell University) · doi:10.48550/arxiv.2504.04921 · Cited by 13
“Without a test oracle, a human has to determine whether observed behavior is correct or not [8].”
Evaluation of Chinese Natural Language Processing System Based on Metamorphic Testing
Jin, L., Ding, Z., & Zhou, H. (2022) · Mathematics · doi:10.3390/math10081276 · Cited by 12
Identifying Metamorphic Relations: A Data Mutation Directed Approach
Sun, C., Jin, H., Wu, S., Fu, A., Wang, Z., & Chan, W. K. (2022) · Software Practice and Experience · doi:10.1002/spe.3280 · Cited by 12
PAFOT: A Position-Based Approach for Finding Optimal Tests of Autonomous Vehicles
Crespo-Rodriguez, V., Neelofar, N., & Aleti, A. (2024) · doi:10.1145/3644032.3644457 · Cited by 12
“Autonomous Vehicles (AVs) must undergo rigorous testing before being deployed into the real world [6].”
BackgroundUPBEAT: Test Input Checks of Q# Quantum Libraries
Hu, T., Ye, G., Tang, Z., Tan, S. H., Wang, H., Li, M., & Wang, Z. (2024) · ACM SIGSOFT International Symposium on Software Testing and Analysis (ISSTA) · doi:10.1145/3650212.3652120 · Cited by 12
Can Large Language Models Discover Metamorphic Relations? A Large-Scale Empirical Study
Zhang, J., Sun, C., Liu, H., & Dong, S. (2025) · IEEE International Conference on Software Analysis, Evolution and Reengineering (SANER) · doi:10.1109/saner64311.2025.00011 · Cited by 12
“Therefore, it is challenging to determine the correctness of the execution result, which is called the oracle problem [2], [3].”
Improving Deep Learning Framework Testing with Model-Level Metamorphic Testing
Mu, Y., Zhai, J., Fang, C., Chen, X., Cao, Z., Yang, P., Zhao, K., Guo, A., & Chen, Z. (2025) · Proceedings of the ACM on software engineering. · doi:10.1145/3728972 · Cited by 12
“Chen et al. [16] propose metamorphic testing (MT) to address the challenge of the lack of test oracles [8], where constructing the expected output to verify the program’s execution is complex.”
Shaking Up Quantum Simulators with Fuzzing and Rigour
Klimis, V., Bensoussan, A., Chachkarova, E., Even-Mendoza, K., Fortz, S., & Lenihan, C. (2025) · Proceedings of the ACM on Programming Languages · doi:10.1145/3763100 · Cited by 12
An automated model-based test oracle for access control systems
Bertolino, A., Daoudagh, S., Lonetti, F., & Marchetti, E. (2018) · International Workshop on Automation of Software Test (AST) · doi:10.1145/3194733.3194743 · Cited by 12
“6 read-informationunit-policy 1 2 1 0 2 1 2 - 4 read-patient-policy 1 4 3 2 4 1 3 - 6 Xacml-Nottingham-Policy-1 1 3 0 24 3 3 2 - 18 activity in the evaluation of the testing results is still an issue [1]. The automated oracle derivation is a key aspect in the context of XACML systems and testers need usually to manual…”
BackgroundA Genetic Algorithm-Based Approach for Composite Metamorphic Relations Construction
Xiang, Z., Wu, H., & Yu, F. (2019) · Information · doi:10.3390/info10120392 · Cited by 12
“Software testing is typically accomplished by selecting some program inputs as test cases, executing the selected test cases, and verifying the test results [1].”
MethodHuang, R., Cui, C., Towey, D., Sun, W., & Lian, J. (2022) · IEEE Transactions on Reliability · doi:10.1109/tr.2022.3218602 · Cited by 12
“When the output or behavior of the SUT during execution of the test case does not meet expectation (as determined by the test oracle [3], [4], [5]), then the test is considered to fail , otherwise, it passes .”
BackgroundMethodTesting Software in Production Environments with Data from the Field
Gazzola, L., Mariani, L., Orrù, M., Pezzè, M., & Tappler, M. (2022) · IEEE International Conference on Software Testing, Verification and Validation (ICST) · doi:10.1109/icst53961.2022.00017 · Cited by 13
Metamorphic relation automation: Rationale, challenges, and solution directions
Altamimi, E., Elkawakjy, A., & Catal, C. (2022) · Journal of Software Evolution and Process · doi:10.1002/smr.2509 · Cited by 12
“Barr et al 16 conducted a survey on test oracles.”
BackgroundIntramorphic Testing: A New Approach to the Test Oracle Problem
Rigger, M., & Su, Z. (2022) · ACM SIGPLAN International Symposium on New Ideas, New Paradigms, and Reflections on Programming and Software (Onward!) · doi:10.1145/3563835.3567662 · Cited by 12
“However, partial test oracles are still useful, as they can validate the output for some inputs [1].”
BackgroundMethodInfluentialRoslan, M. F., Rojas, J. M., & McMinn, P. (2022) · Lecture notes in computer science · doi:10.1007/978-3-031-21251-2_2 · Cited by 12
Self-citationScriptless GUI Testing on Mobile Applications
Jansen, T., Ricós, F. P., Luo, Y., van der Vlist, K., van Dalen, R., Aho, P., & Vos, T. E. J. (2022) · IEEE International Conference on Software Quality, Reliability and Security (QRS) · doi:10.1109/qrs57517.2022.00113 · Cited by 12
“They can be applied to almost any AUT and require little maintenance if the AUT changes over time [5].”
BackgroundInfluentialFuzzGAN: A Generation-Based Fuzzing Framework for Testing Deep Neural Networks
Han, G., Li, Z., Tang, P., Hu, C., & Guo, S. (2022) · IEEE International Conference on High Performance Computing and Communications; IEEE International Conference on Smart City; IEEE International Conference on Data Science and Systems (HPCC/SmartCity/DSS) · doi:10.1109/hpcc-dss-smartcity-dependsys57074.2022.00244 · Cited by 12
“Fuzz testing usually requires three primary components [2]: the test coverage criterion as metric for measuring the adequacy of testing and guide the generation of test cases, the test oracle for determining whether the output of target program is correct, and the test case generation algorithm…”
BackgroundExploring Automatic Specification Repair in Dafny Programs
Abreu, A., Macedo, N., & Mendes, A. (2023) · IEEE/ACM International Conference on Automated Software Engineering Workshops (ASEW) · doi:10.1109/asew60602.2023.00019 · Cited by 12
“The accuracy of dynamic detection is dependent on the coverage and quality of the tests [21] and it can be a computationally expensive process.”
Yang, X., Wang, Y., Rafi, T., Liu, D., Wang, X., & Zhang, X. (2024) · ACM SIGSOFT International Symposium on Software Testing and Analysis (ISSTA) · doi:10.1145/3650212.3680315 · Cited by 12
Detecting Bias in LLMs' Natural Language Inference Using Metamorphic Testing
Li, Z., Chen, J., Chen, H., Xu, L., & Guo, W. (2024) · IEEE International Conference on Software Quality, Reliability and Security Companion (QRS-C) · doi:10.1109/qrs-c63300.2024.00015 · Cited by 12
“Moreover, the challenge of automatically verifying predictions due to the lack of test oracles is well-documented [9], often necessitating human intervention for validation [10].”
Automatic query reformulations for feature location in a model-based family of software products
Pérez, F., Font, J., Arcega, L., & Cetina, C. (2018) · Data & Knowledge Engineering · doi:10.1016/j.datak.2018.06.001 · Cited by 12
Support for Finding Presentation Failures by Using Computer Vision Techniques
Tanno, H., & Adachi, Y. (2018) · IEEE International Conference on Software Testing, Verification and Validation Workshops (ICSTW) · doi:10.1109/icstw.2018.00073 · Cited by 12
“Many methods of automating or supporting test result confirmation (also called test oracle) have been studied [3].”
MethodUnit Tests of Scientific Software: A Study on SWMM
Peng, Z., Lin, X.-Y., & Niu, N. (2020) · Lecture notes in computer science · doi:10.1007/978-3-030-50436-6_30 · Cited by 12
“An oracle in software testing refers to the mechanism for checking whether the program under test produces the expected output when executed using a set of test cases [2].”
BackgroundMethodInfluentialAutomating test oracles from restricted natural language agile requirements
Malik, M. I., Sindhu, M. A., Khattak, A. S., Abbasi, R. A., & Saleem, K. (2020) · Expert Systems · doi:10.1111/exsy.12608 · Cited by 12
“Barr et al. (2015) also provide different ways to provide the formal representation.”
BackgroundMethodInfluentialJordan, C. V., Hauer, F., Foth, P., & Pretschner, A. (2020) · IEEE International Symposium on Software Reliability Engineering Workshops (ISSREW) · doi:10.1109/issrew51248.2020.00039 · Cited by 12
“In other words, the goal is to decrease the so-called Human Oracle Cost as described in [5]: “Research that seeks to reduce the human oracle cost broadly focuses on finding a quantitative reduction in the amount of work the tester has to do for the same amount of test coverage or finding a…”
BackgroundEmbedding and classifying test execution traces using neural networks
Tsimpourlas, F., Rooijackers, G., Rajan, A., & Allamanis, M. (2021) · IET Software · doi:10.1049/sfw2.12038 · Cited by 12
Enhance Combinatorial Testing with Metamorphic Relations
Niu, X., Sun, Y., Wu, H., Li, G., Changhai, N., Lei, Y., & Wang, X. (2021) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2021.3131548 · Cited by 12
“…from the error-pone and labor-intensive manual-based oracle, other types of oracles [36], [37] were adopted in CT, including so-called implicit test oracles [12] which can be directly observed by the behaviors of the SUT, like crashes [2], exceptions [19], memory leaks [20], buffer over-flow [22].”
BackgroundMethodAutomated, Cost-effective, and Update-driven App Testing
Ngo, C. D., Pastore, F., & Briand, L. (2022) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3502297 · Cited by 12
“Like all the state-of-the-art approaches for App testing [41, 57], ATUA does not address the oracle problem [11].”
BackgroundTesting Deep Learning Models: A First Comparative Study of Multiple Testing Techniques
Ahuja, M. K., Gotlieb, A., & Spieker, H. (2022) · IEEE International Conference on Software Testing, Verification and Validation Workshops (ICSTW) · doi:10.1109/icstw55395.2022.00035 · Cited by 12
“Of further relevance is the oracle problem [9].”
BackgroundHeap Fuzzing: Automatic Garbage Collection Testing with Expert-Guided Random Events
Polito, G., Tesone, P., Palumbo, N., Ducasse, S., & Privat, J. (2023) · IEEE International Conference on Software Testing, Verification and Validation (ICST) · doi:10.1109/icst57152.2023.00019 · Cited by 12
“One of the biggest challenges in test generation is the generation of test oracles [3].”
BackgroundHand Jitter Reduction Algorithm Software Test Automation Using Robotic Arm
Banerjee, D., Yu, K., & Aggarwal, G. (2018) · IEEE Access · doi:10.1109/access.2018.2829466 · Cited by 12
“simple-but-effective, default test oracle [16] that regards any input that leads to a crash to be a fault-revealing test sequence.”
BackgroundA Brief Survey on Oracle-based Test Adequacy MetricsPreprint
Hossain, S. B., & Dwyer, M. B. (2022) · arXiv (Cornell University) · doi:10.48550/arxiv.2212.06118 · Cited by 12
“To detect faults, one of the fundamental components of a test suite is test oracle , a mechanism to check program output against expected output [2, 32].”
BackgroundEffective LLM Code Refinement via Property-Oriented and Structurally Minimal FeedbackPreprint
He, L., Chen, Z., Zhang, Z., Gao, X., & Sheng, L. (2025) · arXiv (Cornell University) · doi:10.48550/arxiv.2506.18315 · Cited by 12
“Furthermore, generating the correct output for a given test input ( a.k.a test oracle) can be as difficult for an LLM as solving the original problem itself (Barr et al., 2014; Jain et al., 2025).”
Skill Coverage: A Test Adequacy Metric for Agent SkillsPreprint
Tan, B.-Y., Huang, X.-W., & Sun, Y.-C. (2026) · arXiv.org · doi:10.48550/arxiv.2606.20659 · Cited by 10
Zhang, Y., Chen, T. Y., Pike, M., Towey, D., Ying, Z., & Zhou, Z. Q. (2025) · Information and Software Technology · doi:10.1016/j.infsof.2025.107828 · Cited by 11
Harden and Catch for Just-in-Time Assured LLM-Based Software Testing: Open Research Challenges
Harman, M., O’Hearn, P. W., & Sengupta, S. (2025) · ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering (ESEC/FSE) · doi:10.1145/3696630.3734199 · Cited by 11
Self-citationFuzzing for Detecting Access Policy Violations in REST APIs
Arcuri, A., Sahin, O., & Zhang, M. (2025) · Proceedings/Proceedings - International Symposium on Software Reliability Engineering · doi:10.1109/issre66568.2025.00025 · Cited by 11
“The “oracle problem” is indeed one of the major challenges in software testing research [34].”
Navigating the Labyrinth: Path-Sensitive Unit Test Generation with Large Language Models
Liao, D.-S., Yin, X., Pan, S.-D., Ni, C., Xing, Z.-C., & Sun, X.-Y. (2025) · International Conference on Automated Software Engineering · doi:10.1109/ase63991.2025.00063 · Cited by 5
“Automatic oracle generation remains an open challenge [45].”
Knowledge Matters: Injecting Project and Testing Knowledge into LLM-based Unit Test Generation
Li, A., Liu, M., Chen, Z., Pei, Z., Li, Z., Dai, D., Wang, Y., & Zheng, Z. (2026) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1145/3744916.3787769 · Cited by 11
“…( i.e., often called the focal method), a well-constructed unit test usually has two parts: the test prefix, which prepares the objects and environment needed to bring the system into a testable state, and the test oracle, which verifies that the actual output matches the expected behavior [16].”
Meta-Fair: AI-assisted fairness testing of large language models
Romero-Arjona, M., Parejo, J. A., Alonso, J. C. G., Sánchez, A. B., Arrieta, A., & Segura, S. (2026) · Information and Software Technology · doi:10.1016/j.infsof.2026.108075 · Cited by 11
Detecting Implementation Bugs in Graph Convolutional Network based Node Classifiers
Wang, Y., Wang, W., Cai, Y., Hooi, B., & Ooi, B. C. (2020) · Proceedings/Proceedings - International Symposium on Software Reliability Engineering · doi:10.1109/issre5003.2020.00037 · Cited by 11
“A survey discussing various methods for testing ‘non-testable programs’ can be found in [28].”
MethodFactorials Experiments, Covering Arrays, and Combinatorial Testing
Kacker, R. N., Kuhn, D. R., Lei, Y., & Simos, D. E. (2021) · Mathematics in Computer Science · doi:10.1007/s11786-021-00502-7 · Cited by 11
A Selenium-based Web Application Automation Test Framework
Chen, G., Chen, G., Wu, D., Liu, Q., Zhang, L., & Fan, X. (2021) · IEEE International Conference on Information Technology, Big Data and Artificial Intelligence (ICIBA) · doi:10.1109/iciba52610.2021.9688190 · Cited by 11
Automation of Cybersecurity Work
Varga, S., Sommestad, T., & Brynielsson, J. (2022) · Artificial Intelligence and Cybersecurity · doi:10.1007/978-3-031-15030-2_4 · Cited by 11
Enabling Efficient Assertion Inference
Garg, A., Degiovanni, R., Molina, F., Cordy, M., Aguirre, N., Papadakis, M., & Traon, Y. L. (2023) · Proceedings/Proceedings - International Symposium on Software Reliability Engineering · doi:10.1109/issre59848.2023.00039 · Cited by 11
“The provision of software specifications is strongly related to the oracle problem, i.e., the problem, in the context of software testing, of determining whether the results of program executions are coherent with the desired behavior of the program [7].”
BackgroundWord Closure-Based Metamorphic Testing for Machine Translation
Xie, X., Jin, S., Chen, S., & Cheung, S.-C. (2024) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3675396 · Cited by 11
Testing Gremlin-Based Graph Database Systems via Query Disassembling
Zheng, Y., Dou, W., Tang, L., Cui, Z., Gao, Y., Song, J., Xu, L., Zhu, J., Wang, W., Wei, J., et al. (2024) · ACM SIGSOFT International Symposium on Software Testing and Analysis (ISSTA) · doi:10.1145/3650212.3680392 · Cited by 11
Morescient GAI for Software Engineering
Kessel, M., & Atkinson, C. (2025) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3709354 · Cited by 11
Tracking the Moving Target: A Framework for Continuous Evaluation of LLM Test Generation in Industry
Azanza, M., Lamancha, B. P., & Pizarro, E. (2025) · International Conference on Evaluation and Assessment in Software Engineering (EASE) · doi:10.1145/3756681.3756946 · Cited by 11
“[1] • Coverage vs. effectiveness gap : Achieving high coverage does not necessarily guarantee meaningful tests [18].”
Towards Ex Vivo Testing of MapReduce Applications
Morán, J., Bertolino, A., de la Riva, C., & Tuya, J. (2017) · IEEE International Conference on Software Quality, Reliability and Security (QRS) · doi:10.1109/qrs.2017.17 · Cited by 11
“The oracle employed in MrExist is automatically derived from the program executions [71] using metamorphic testing [72]–[74], that is a field also employed to test machine learning programs [75] and in In Vivo frameworks [76].”
MethodCharacterization and Detection of Tail Energy Bugs in Smartphones
Abbasi, A. M., Al‐tekreeti, M., Naik, K., Nayak, A. R., Srivastava, P., & Zaman, M. (2018) · IEEE Access · doi:10.1109/access.2018.2877395 · Cited by 11
“Testing for ebugs is challenging due to the difficulty of verifying the output of test cases (test oracles [15]).”
BackgroundHomaei, H., & Shahriari, H. R. (2018) · Information and Software Technology · doi:10.1016/j.infsof.2018.11.004 · Cited by 11
On the Efficacy of Dynamic Behavior Comparison for Judging Functional Equivalence
Kessel, M., & Atkinson, C. (2019) · IEEE International Working Conference on Source Code Analysis and Manipulation (SCAM) · doi:10.1109/scam.2019.00030 · Cited by 11
“…preexisting software components from software libraries to reuse them in the creation of new applications (i.e. software reuse) [1], [2], but in recent years new ways of using the knowledge contained in repositories have been proposed, such as test oracle creation [3] and automatic bug fixing [4].”
MethodUsing Rule Mining for Automatic Test Oracle Generation.
Duque‐Torres, A., Pfahl, D., Shalygina, A., & Ramler, R. (2020) · Cited by 11
FDG: a precise measurement of fault diagnosability gain of test cases
An, G., & Yoo, S. (2022) · ACM SIGSOFT International Symposium on Software Testing and Analysis (ISSTA) · doi:10.1145/3533767.3534370 · Cited by 11
Self-citationAdvancing Energy Testing of Mobile Applications
Jabbarvand, R., & Malek, S. (2017) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1109/icse-c.2017.45 · Cited by 11
Effective online software anomaly detection
Chen, Y., Ying, M., Liu, D., Alim, A., Feng, C., & Chen, M.-H. (2017) · ACM SIGSOFT International Symposium on Software Testing and Analysis (ISSTA) · doi:10.1145/3092703.3092730 · Cited by 11
“Determination of online software anomaly requires a validation oracle, which is generally difficult to create [8].”
BackgroundImplementation of DevOps Architecture in the project development and deployment with help of tools
Mamatha, C., & Kiran, S. C. V. S. L. S. R. (2018) · International Journal of Scientific Research in Computer Sciences and Engineering · doi:10.26438/ijsrcse/v6i2.8795 · Cited by 11
“This kind of process not only makes testing process automate but also allows test cases to be carried out fast in production like system (deployment) [6].”
Region-based Detection of Essential Differences in Image-based Visual Regression Testing
Tanno, H., Adachi, Y., Yoshimura, Y., Natsukawa, K., & Iwasaki, H. (2020) · Journal of Information Processing · doi:10.2197/ipsjjip.28.268 · Cited by 11
“Many studies have been carried out on automating or supporting the judgment of test results [6].”
BackgroundA Machine Learning Approach for Developing Test Oracles for Testing Scientific Software
Ding, J., & Zhang, D. (2016) · Proceedings/Proceedings of the ... International Conference on Software Engineering and Knowledge Engineering · doi:10.18293/seke2016-137 · Cited by 11
Alamin, M. A. A., & Uddin, G. (2021) · arXiv (Cornell University) · doi:10.48550/arxiv.2105.01195 · Cited by 11
“An ML model’s performance is tested as a whole rather than for a specific input, making it challenging to design a test oracle [14].”
BackgroundMethodSniping at web applications to discover input-handling vulnerabilities
Brandi, C., Perrone, G., & Romano, S. P. (2024) · Journal of Computer Virology and Hacking Techniques · doi:10.1007/s11416-024-00518-0 · Cited by 10
“However, distinguishing a bug from a feature can be challenging, leading to what is known as the Oracle Test Problem [27].”
PROZE: Generating Parameterized Unit Tests Informed by Runtime Data
Tiwari, D., Gamage, Y., Monperrus, M., & Baudry, B. (2024) · IEEE International Working Conference on Source Code Analysis and Manipulation (SCAM) · doi:10.1109/scam63643.2024.00025 · Cited by 10
“As part of their testing effort, developers spend time deciding on concrete pairs of test input and oracle [3].”
Metamorphic Testing of Deep Code Models: A Systematic Literature Review
Asgari, A., de Koning, M., Derakhshanfar, P., & Panichella, A. (2026) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3766552 · Cited by 10
Evolutionary Generative Fuzzing for Differential Testing of the Kotlin Compiler
Calin, G., Olsthoorn, M., Derakhshanfar, P., Akhin, M., & Panichella, A. (2024) · ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering (ESEC/FSE) · doi:10.1145/3663529.3663864 · Cited by 10
“• The discovery and analysis of new differential bugs reported • An in-depth analysis of the relationship between the characteristics • A replication package with code [11] and data [10].”
BackgroundSrinivasan, M., & Kanewala, U. (2024) · Electronics · doi:10.3390/electronics13173380 · Cited by 10
N-Version Assessment and Enhancement of Generative AI: Differential GAI
Kessel, M., & Atkinson, C. (2024) · IEEE Software · doi:10.1109/ms.2024.3469388 · Cited by 8
“Software quality can be defined by various properties, but measuring some of the most critical quality attributes – specifically semantic (i.e., behavioral) properties – remains undecidable in most cases (cf. Rice’s theorem 1 ).”
Evaluating Terminology Translation in Machine Translation Systems via Metamorphic Testing
Xu, Y., Li, Y., Wang, J., & Zhang, X. (2024) · IEEE/ACM International Conference on Automated Software Engineering (ASE) · doi:10.1145/3691620.3695069 · Cited by 10
Hazott, C., Stögmüller, F., & Grosse, D. J. (2024) · Integration · doi:10.1016/j.vlsi.2024.102320 · Cited by 10
Exploring the integration of large language models in industrial test maintenance processes
Liu, J., Lemner, L., Wahlgren, L., Gay, G., Mohammadiha, N., & Wennerberg, J. (2026) · Journal of Systems and Software · doi:10.1016/j.jss.2026.113049 · Cited by 10
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.