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 301–400 of 1,001
Extracting Formal Specifications From Documents Using LLMS for Test Automation
Li, H., Dong, Z., Wang, S., Hui, Z., Shen, L., Peng, X., & She, D. (2025) · IEEE International Conference on Program Comprehension (ICPC) · doi:10.1109/icpc66645.2025.00039 · Cited by 21
“A critical component of automated test generation is the test oracle that can tell whether the output of a system under test is correct [3].”
Self-Adaptive Testing in the Field
da Silva, S. S., Pelliccione, P., & Bertolino, A. (2023) · ACM Transactions on Autonomous and Adaptive Systems · doi:10.1145/3627163 · Cited by 21
B4: Towards Optimal Assessment of Plausible Code Solutions with Plausible Tests
Chen, M., Liu, Z., Tao, H., Hong, Y., Lo, D., Xia, X., & Sun, J. (2024) · IEEE/ACM International Conference on Automated Software Engineering (ASE) · doi:10.1145/3691620.3695536 · Cited by 23
Requirements-Driven Automated Software Testing: A Systematic Review
Wang, F., Arora, C., Tantithamthavorn, C. K., Huang, K., & Aleti, A. (2026) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3767739 · Cited by 21
Automatic Testing of Design Faults in MapReduce Applications
Morán, J., Bertolino, A., de la Riva, C., & Tuya, J. (2018) · IEEE Transactions on Reliability · doi:10.1109/tr.2018.2802047 · Cited by 21
“It employs an automatic partial oracle [69] that is derived from the program executions [72] using metamorphic testing [27].”
MethodInput Test Suites for Program Repair: A Novel Construction Method Based on Metamorphic Relations
Jiang, M., Chen, T. Y., Zhou, Z. Q., & Ding, Z. (2020) · IEEE Transactions on Reliability · doi:10.1109/tr.2020.3003313 · Cited by 21
“See https://www.ieee.org/publications/rights/index.html for more information. advantage of metamorphic testing is its capability of alleviating the test oracle problem [30]–[33].”
BackgroundHillah, L. M., Maesano, A.-P., Rosa, F. D., Kordon, F., Wuillemin, P.-H., Fontanelli, R., Bona, S. D., Guerri, D., & Maesano, L. (2016) · International Journal on Software Tools for Technology Transfer · doi:10.1007/s10009-016-0440-3 · Cited by 21
A Framework for Automated Combinatorial Test Generation, Execution, and Fault Characterization
Bonn, J., Fögen, K., & Lichter, H. (2019) · IEEE International Conference on Software Testing, Verification and Validation Workshops (ICSTW) · doi:10.1109/icstw.2019.00057 · Cited by 21
“results to decide whether the behavior of the SUT conforms to the specified one for given test inputs [10].”
BackgroundKöroglu, Y., & Şen, A. (2019) · arXiv (Cornell University) · doi:10.48550/arxiv.1911.05403 · Cited by 21
“All the test oracles mentioned until now (fatal exceptions, accessibility issues, app-agnostic problems, and energy bugs) are implicit [7], meaning that they are implemented using some implied assumptions and conclusions.”
BackgroundIncoherence as Oracle-less Measure of Error in LLM-Based Code Generation
Valentin, T. J.-M., Madadi, A., Sapia, G., & Böhme, M. (2026) · Proceedings of the AAAI Conference on Artificial Intelligence · doi:10.1609/aaai.v40i39.40616 · Cited by 20
Human-in-the-Loop Automatic Program Repair
Kapugama, C. G., Böhme, M., & Pham, V.-T. (2023) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2023.3305052 · Cited by 21
“Several works have been proposed to reduce the effort of human oracles in qualitative and quantitative aspects [39].”
BackgroundMethodInfluentialLanguage-Based Software Testing
Steinhöfel, D., & Zeller, A. (2024) · Communications of the ACM · doi:10.1145/3631520 · Cited by 20
“2 The oracle problem not only affects the result of a computation.”
BackgroundMimicking Production Behavior With Generated Mocks
Tiwari, D., Monperrus, M., & Baudry, B. (2024) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2024.3458448 · Cited by 20
“They must also determine how these mocks behave when triggered with a certain input, i.e., how they are stubbed [4], [5].”
Yin, X., Ni, C., Li, X., Chen, L., Ma, G., & Yang, X. (2025) · IEEE/ACM International Conference on Automated Software Engineering (ASE) · doi:10.1109/ase63991.2025.00058 · Cited by 20
“This not only helps reduce overall product costs but also enhances developer productivity [1]–[3].”
Even-Mendoza, K., Cadar, C., & Donaldson, A. F. (2020) · IEEE/ACM International Conference on Automated Software Engineering (ASE) · doi:10.1145/3324884.3418933 · Cited by 20
“Cross-checking avoids the oracle problem [1]: the approach flags up differences in results that are expected to be the same, and does not require knowing which (if any) result is correct.”
BackgroundThe Unit Test Quality of Deep Learning Libraries: A Mutation Analysis
Jia, L., Zhong, H., & Huang, L. (2021) · IEEE International Conference on Software Maintenance (ICSM) · doi:10.1109/icsme52107.2021.00011 · Cited by 20
Gartziandia, A., Arrieta, A., Ayerdi, J., Illarramendi, M., Agirre, A., Sagardui, G., & Arratibel, M. (2022) · Journal of Software Evolution and Process · doi:10.1002/smr.2465 · Cited by 20
“13 We make a distinction between two types of system performance: non-functional performance and functional performance.”
BackgroundAutomatic Test Case Generation Using Many-Objective Search and Principal Component Analysis
Li, D., Wong, W. E., Pan, S., Koh, L.-S., Li, S., & Chau, M. (2022) · IEEE Access · doi:10.1109/access.2022.3198694 · Cited by 20
“This kind of software testing has a long cycle and incurs high costs, accounting for a large proportion of the investment in software research and development [3], [4].”
BackgroundAutomated generation of metamorphic relations for query-based systems
Segura, S., Alonso, J. C. G., Martin-Lopez, A., Durán, A., Troya, J., & Ruiz–Cortés, A. (2022) · IEEE/ACM International Workshop on Metamorphic Testing (MET) · doi:10.1145/3524846.3527338 · Cited by 20
“Testing QBS is extremely challenging as they suffer from the oracle problem: it is very difficult, often infeasible, to assess whether the output of a query is correct, either because the expected output is unknown or because it is hard to compare it to the observed output [7, 28].”
BackgroundMeasuring and Mitigating Gaps in Structural Testing
Hossain, S. B., Dwyer, M. B., Elbaum, S. G., & Nguyen‐Tuong, A. (2023) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1109/icse48619.2023.00147 · Cited by 20
“A test consists of the definition of a set of test inputs and a predicate, called the test oracle, which is true if the test is consistent with program requirements [4].”
BackgroundMethodEsparcia-Alcázar, A. I., Almenar, F., Vos, T. E. J., & Rueda, U. (2018) · Memetic Computing · doi:10.1007/s12293-018-0263-8 · Cited by 20
“1): (1) TESTAR can detect the violation of general-purpose sys-tem requirements through implicit oracles [4] like those stating that (1) the SUT should not crash, (2) the SUT should notfinditselfinanunresponsivestate(freeze)and(3)theGUI state should not contain any widget with suspicious words like…”
BackgroundAn Automated Functional Testing Framework for Context-Aware Applications
Mirza, A. M., & Khan, M. N. A. (2018) · IEEE Access · doi:10.1109/access.2018.2865213 · Cited by 20
“Testing the context-aware applications is a difficult task due to many challenges such as developing test adequacy and coverage criteria, context adaptation, context data generation [8], designing context-aware test cases, developing test oracle and devising new testing techniques to test contextaware applications [9]…”
BackgroundCorrectness attraction: a study of stability of software behavior under runtime perturbation
Danglot, B., Preux, P., Baudry, B., & Monperrus, M. (2017) · Empirical Software Engineering · doi:10.1007/s10664-017-9571-8 · Cited by 20
“As observed by Barr and colleagues (Barr et al. 2015), there exists a large variety of oracles.”
BackgroundMetamorphic Testing of an Artificially Intelligent Chess Game
Liaqat, A., Sindhu, M. A., & Siddiqui, G. F. (2020) · IEEE Access · doi:10.1109/access.2020.3024929 · Cited by 20
“A test oracle gives a pass or a fail verdict on test cases by comparing observed output to the expected output of a given requirement [7].”
BackgroundMT-ART: A Test Case Generation Method Based on Adaptive Random Testing and Metamorphic Relation
Hui, Z., Wang, X., Huang, S., & Yang, S. (2021) · IEEE Transactions on Reliability · doi:10.1109/tr.2021.3106389 · Cited by 19
Metamorphic Testing with Causal Graphs
Clark, A. G., Foster, M. S., Walkinshaw, N., & Hierons, R. M. (2023) · IEEE International Conference on Software Testing, Verification and Validation (ICST) · doi:10.1109/icst57152.2023.00023 · Cited by 19
“The resulting challenge of providing a reliable verdict on a test execution is known as the “oracle problem” [9].”
BackgroundLess Is More: On the Importance of Data Quality for Unit Test Generation
Zhang, J., Hu, X., Gao, S., Xia, X., Lo, D., & Li, S. (2025) · Proceedings of the ACM on software engineering. · doi:10.1145/3715778 · Cited by 19
“However, manually writing high-quality test code is time-consuming and labor-intensive [5, 28, 33].”
Automated construction of energy test oracles for Android
Jabbarvand, R., Mehralian, F., & Malek, S. (2020) · ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering (ESEC/FSE) · doi:10.1145/3368089.3409677 · Cited by 19
“Test oracle automation is one of the most challenging facets of test automation, and in fact, has received significantly less attention in the literature [11].”
BackgroundMethodPerera, A., Aleti, A., Turhan, B., & Böhme, M. (2022) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2022.3147008 · Cited by 19
A Hybridized Artificial Neural Network for Automated Software Test Oracle
Kamaraj, K., Lanitha, B., Sundaram, K., Prakash, P., & Mahaveerakannan, R. (2022) · Computer Systems Science and Engineering · doi:10.32604/csse.2023.029703 · Cited by 19
Taxonomy of Aging-related Bugs in Deep Learning Libraries
Liu, Z., Zheng, Y., Du, X., Zheng, H., Ding, W., Miao, Y., & Zheng, Z. (2022) · Proceedings/Proceedings - International Symposium on Software Reliability Engineering · doi:10.1109/issre55969.2022.00048 · Cited by 19
“Oracle means that we have some prior knowledge of the output given the input, and it has proven to be challenging to design appropriate oracles in many software [38]–[42].”
BackgroundCytestion: Automated GUI Testing for Web Applications
de Moura, T. S., Alves, E. L. G., de Figueirêdo, H. F., & Baptista, C. D. S. (2023) · Brazilian Symposium on Software Engineering · doi:10.1145/3613372.3613408 · Cited by 19
“The automation of GUI tests (generation and execution), also known as scriptless testing, is known to be a challenging process due to several reasons, such as the automatic identification of actionable elements, online oracle, and synchronization [8, 20, 32, 35, 36].”
MethodChallenges of Testing Machine Learning Applications
Huang, S. (2018) · International Journal of Performability Engineering · doi:10.23940/ijpe.18.06.p18.12751282 · Cited by 20
“made a survey on the oracle problems, and classified the test oracle into different kinds [9].”
BackgroundARTDL: Adaptive Random Testing for Deep Learning Systems
Yan, M., Wang, L., & Fei, A. (2019) · IEEE Access · doi:10.1109/access.2019.2962695 · Cited by 19
“Besides, there is an oracle problem [39] in testing DL systems, that is, how to automatically determine whether the software program performs as expected upon the given test inputs (Algorithm 1 line 8).”
BackgroundTrickyBugs: A Dataset of Corner-case Bugs in Plausible Programs
Liu, K., Han, Y., Liu, Y., Chen, Z., Zhang, J. M., Sarro, F., Huang, G., & Ma, Y. (2024) · International Conference on Mining Software Repositories (MSR) · doi:10.1145/3643991.3644870 · Cited by 18
“This is indeed a classic and challenging problem in the field of software testing [1].”
BackgroundThe Impact of a Dot: Case Studies of a Noise Metamorphic Relation Pattern
Wu, C., Sun, L., & Zhou, Z. Q. (2019) · IEEE/ACM International Workshop on Metamorphic Testing (MET) · doi:10.1109/met.2019.00011 · Cited by 18
“Sometimes, however, a test oracle is unavailable or is too expensive to be applied—a situation known as the oracle problem [1], [2].”
BackgroundSpecTest: Specification-Based Compiler Testing
Schumi, R., & Sun, J. (2021) · Lecture notes in computer science · doi:10.1007/978-3-030-71500-7_14 · Cited by 18
“, the test case generation [49,31,23] or the oracle problem [22].”
BackgroundRare event failure test case generation in Learning-Enabled-Controllers
Vardhan, H., & Sztipanovits, J. (2021) · International Conference on Machine Learning Technologies (ICMLT) · doi:10.1145/3468891.3468897 · Cited by 18
Contextual Understanding and Improvement of Metamorphic Testing in Scientific Software Development
Peng, Z., Kanewala, U., & Niu, N. (2021) · Proceedings of the ... ACM-IEEE International Symposium on Empirical Software Engineering and Measurement/International Symposium on Empirical Software Engineering and Measurement · doi:10.1145/3475716.3484188 · Cited by 18
“” Given an input, not knowing the expected output of the software under test is called the oracle problem [2].”
MethodUsing Source Code Metrics for Predicting Metamorphic Relations at Method Level
Duque‐Torres, A., Pfahl, D., Klammer, C., & Fischer, S. (2022) · IEEE International Conference on Software Analysis, Evolution and Reengineering (SANER) · doi:10.1109/saner53432.2022.00132 · Cited by 18
Grammar Based Directed Testing of Machine Learning Systems
Udeshi, S., & Chattopadhyay, S. (2019) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2019.2953066 · Cited by 18
Metamorphic Relations for Data Validation: A Case Study of Translated Text Messages
Yan, B., Yecies, B., & Zhou, Z. Q. (2019) · IEEE/ACM International Workshop on Metamorphic Testing (MET) · doi:10.1109/met.2019.00018 · Cited by 18
“However, language expertise alone also involves human emotional judgments, thereby making objective assessment of human language somewhat difficult, not to mention automated assessment without a test oracle [1].”
BackgroundMethodMohd-Shafie, M. L., Kadir, W. M. N. W., Khatibsyarbini, M., & Isa, M. A. (2020) · PLoS ONE · doi:10.1371/journal.pone.0229312 · Cited by 18
“In other words, the test oracle problem is addressed in MBT by constructing the test oracle using the behaviour models [15].”
MethodDesign choices made by LLM-based test generators prevent them from finding bugsPreprint
Mathews, N. S., & Nagappan, M. (2024) · arXiv (Cornell University) · doi:10.48550/arxiv.2412.14137 · Cited by 18
“This challenge aligns with the broader “test oracle problem”, where distinguishing correct from faulty behaviour requires reliable oracles [6].”
Testora: Using Natural Language Intent to Detect Behavioral Regressions
Pradel, M. (2026) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1145/3744916.3764527 · Cited by 17
“Effective testing requires not only suitable test inputs, but also a way to identify unexpected behavior, also known as the test oracle problem [7].”
Observation-Based Unit Test Generation at Meta
Alshahwan, N., Harman, M., Marginean, A., Tal, R., & Wang, E. (2024) · ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering (ESEC/FSE) · doi:10.1145/3663529.3663838 · Cited by 18
“(4) The equality assertion that implements the TestGen tests’ oracle [9] has to be aware of serialization/deserialization properties, and has to operate at the level of JSon representations of the objects’ actual and expected values.”
Self-citationMetamorphic Robustness Testing of Google Translate
Lee, D. T. S., Zhou, Z. Q., & Tse, T. H. (2020) · doi:10.1145/3387940.3391484 · Cited by 17
“We refer to such situations as the oracle problem [1].”
BackgroundGAssert: A Fully Automated Tool to Improve Assertion Oracles
Terragni, V., Jahangirova, G., Tonella, P., & Pezzè, M. (2021) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1109/icse-companion52605.2021.00042 · Cited by 17
“A perfect assertion oracle passes (returns true) for all correct executions and fails (returns false) for all incorrect executions [1].”
BackgroundMetamorphic testing of OpenStreetMap
Almendros-Jiménez, J. M., Becerra-Terón, A., Merayo, M. G., & Nunez, M. A. (2021) · Information and Software Technology · doi:10.1016/j.infsof.2021.106631 · Cited by 17
Bojarczuk, K., Gucevska, N., Lucas, S. M., Dvortsova, I., Harman, M., Meijer, E., Sapora, S., George, J., Lomelí, M., & Rojas, R. (2021) · Proceedings of the ... ACM-IEEE International Symposium on Empirical Software Engineering and Measurement/International Symposium on Empirical Software Engineering and Measurement · doi:10.1145/3475716.3484196 · Cited by 17
“However, this is a very rudimentary success criterion; equivalent to the default (aka implicit [13]) oracle.”
BackgroundSelf-citationAutomated generation of (F)LTL oracles for testing and debugging
Pill, I., & Wotawa, F. (2018) · Journal of Systems and Software · doi:10.1016/j.jss.2018.02.002 · Cited by 17
Challenges for Verifying and Validating Scientific Software in Computational Materials Science
Vogel, T., Druskat, S., Scheidgen, M., Draxl, C., & Grunske, L. (2019) · IEEE/ACM International Workshop on Software Engineering for Science (SE4Science) · doi:10.1109/se4science.2019.00010 · Cited by 17
“of metamorphic testing [47] that is specifically designed to test software without an oracle [48], [49].”
BackgroundOn the Feasibility of Quantum Unit TestingPreprint
Miranskyy, A. V., Campos, J., Mjeda, A., Zhang, L., & Guzmán, I. G. R. D. (2025) · arXiv (Cornell University) · doi:10.13016/m22wgg-jfmm · Cited by 17
Understanding LLM-Driven Test Oracle Generation
Bodicoat, A., Jahangirova, G., & Terragni, V. (2025) · ACM International Conference on AI-Powered Software (AIware) · doi:10.1109/aiware69974.2025.00011 · Cited by 16
“This focus is well justified, as the oracle problem is one of the main bottlenecks in achieving full test automation [5].”
Do LLMs Generate Useful Test Oracles? An Empirical Study with an Unbiased Dataset
Molinelli, D., Grazia, L. D., Martin-Lopez, A., Ernst, M. D., & Pezzè, M. (2025) · IEEE/ACM International Conference on Automated Software Engineering (ASE) · doi:10.1109/ase63991.2025.00031 · Cited by 16
“Test oracles , or concrete oracles [21], [22], are assertions in the test case that are specific to that test input [23]–[25].”
Practitioners’ Expectations on Automated Test Generation
Yu, X., Liu, L., Hu, X., Keung, J., Xia, X., & Lo, D. (2024) · ACM SIGSOFT International Symposium on Software Testing and Analysis (ISSTA) · doi:10.1145/3650212.3680386 · Cited by 16
Assertions in software testing: survey, landscape, and trends
Taromirad, M., & Runeson, P. (2025) · International Journal on Software Tools for Technology Transfer · doi:10.1007/s10009-025-00794-1 · Cited by 16
“Among the 101 secondary studies, identified by Garousi and Mäntylä [37], only one is explicitly related to assertions, namely that by Barr et al. [9], which reports on the roots of assertions and on existing support in languages and tools to use them for testing purposes.”
InfluentialEnhancing search-based testing with LLMs for finding bugs in system simulators
Dakhama, A., Even-Mendoza, K., Langdon, W. B., Menéndez, H. D., & Petke, J. (2025) · Automated Software Engineering · doi:10.1007/s10515-025-00531-7 · Cited by 18
“Silent errors are challenging to detect because the correct result is commonly unknown, cf. the Oracle Problem (Barr et al. 2015).”
Test Case Generation with Regular Expressions and Combinatorial Techniques
Polo, M., Romero, F. R., Aranda, R. R.-B., & de Guzmán, I. G. (2017) · IEEE International Conference on Software Testing, Verification and Validation Workshops (ICSTW) · doi:10.1109/icstw.2017.38 · Cited by 16
“[12] reviews almost forty years of research about the oracle problem.”
BackgroundSupervised learning over test executions as a test oracle
Tsimpourlas, F., Rajan, A., & Allamanis, M. (2021) · ACM Symposium on Applied Computing · doi:10.1145/3412841.3442027 · Cited by 16
“Recent surveys on the test oracle problem [11, 31, 35] show that automated oracles based on formal specifications, metamorphic relations [34] and independent program versions are not widely applicable and difficult to use in practice.”
BackgroundMetamorphic Testing Harness for the Baidu Apollo Perception-Camera Module
Zhang, Y., Towey, D., Pike, M., Han, J. C., Zhou, G., Yin, C., Wang, Q., & Chen, X. (2023) · IEEE/ACM International Workshop on Metamorphic Testing (MET) · doi:10.1109/met59151.2023.00009 · Cited by 16
“It has been demonstrated that metamorphic testing (MT) [7], [8] can effectively alleviate the oracle problem [2].”
BackgroundMobile app and app store analysis, testing and optimisation
Harman, M., Al-Subaihin, A. A., Jia, Y., Martin, W., Sarro, F., & Zhang, Y. (2016) · IEEE/ACM International Conference on Mobile Software Engineering and Systems (MOBILESoft) · doi:10.1145/2897073.2897076 · Cited by 16
“The original program is used as test oracle [3], while automated test data generation is used to assess faithfulness.”
MethodSelf-citationAchievements, Failures, and the Future of Model-Based Software Engineering
Kautz, O., Roth, A., & Rumpe⋆, B. (2018) · Springer eBooks · doi:10.1007/978-3-319-73897-0_13 · Cited by 17
Enhancing supervised classifications with metamorphic relations
Xu, L., Towey, D., French, A. P., Benford, S., Zhou, Z. Q., & Chen, T. Y. (2018) · IEEE/ACM International Workshop on Metamorphic Testing (MET) · doi:10.1145/3193977.3193978 · Cited by 16
“These computer-readable visual codes are embedded into images, allowing a designer to create codes that are machine-readable and meaningful to humans.”
BackgroundDiversity driven adaptive test generation for concurrent data structures
Ma, L., Wu, P., & Chen, T. Y. (2018) · Information and Software Technology · doi:10.1016/j.infsof.2018.07.001 · Cited by 16
Ensuring the Observability of Structural Test Obligations
Meng, Y., Gay, G., & Whalen, M. W. (2018) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2018.2869146 · Cited by 16
“cate on a sequence of stimuli to and reactions from the SUT that judges the resulting behavior according to some specification of correctness [39].”
BackgroundMarcos, A. A., Agirre, J. A., & Sagardui, G. (2020) · IEEE International Conference on Software Testing, Verification and Validation Workshops (ICSTW) · doi:10.1109/icstw50294.2020.00018 · Cited by 16
“Besides test generation, to allow full-automation, test oracles are also necessary [4], [5].”
MethodOracle Issues in Machine Learning and Where to Find Them
Liem, C. C. S., & Panichella, A. (2020) · doi:10.1145/3387940.3391490 · Cited by 16
“in the software engineering community and has been widely discussed and investigated in the related literature [1].”
BackgroundIqbal, M. J., Han, J. C., Zhou, Z. Q., & Towey, D. (2021) · IEEE/ACM International Workshop on Metamorphic Testing (MET) · doi:10.1109/met52542.2021.00013 · Cited by 16
YATE: The Role of Test Repair in LLM-Based Unit Test GenerationPreprint
Konstantinou, M., Degiovanni, R., Zhang, J. M., Harman, M., & Papadakis, M. (2025) · arXiv (Cornell University) · doi:10.48550/arxiv.2507.18316 · Cited by 16
“…case of unit tests, there are two primary semantic aspects of concern: the paths traversed by the test cases execution, which achieves a certain degree of coverage; and the assertions included as part of the test oracle [6] to determine whether the observed software behavior is the expected or not.”
Self-citationLarge Language Models for Unit Test Generation: Achievements, Challenges, and OpportunitiesPreprint
Chu, B., Feng, Y., Liu, K., Guo, Z., Zhang, Y., Shi, H., Nan, Z., & Xu, B. (2025) · arXiv (Cornell University) · doi:10.48550/arxiv.2511.21382 · Cited by 17
“…(such as object instantiation and method calls) that places the code under test (CUT) in a specific initial state; and a test oracle , typically one or more assertions, that verifies the correctness of the program’s behavior or output after it receives a specific input in that state [14, 16, 100].”
A Methodological Analysis of Empirical Studies in Quantum Software Testing
Li, Y., Shao, M., Zhao, J., & Wang, Q. (2026) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3819590 · Cited by 16
WasmRef-Isabelle: A Verified Monadic Interpreter and Industrial Fuzzing Oracle for WebAssembly
Watt, C., Trela, M., Lammich, P., & Märkl, F. (2023) · Proceedings of the ACM on Programming Languages · doi:10.1145/3591224 · Cited by 17
“Barr et al. [2015] and Hierons et al. [2009] both survey a variety of approaches for specifying and obtaining oracles for software testing.”
RNNtcs: A test case selection method for Recurrent Neural Networks
Wu, X., Shen, J., Zheng, W., Lin, L., Sui, Y., & Semasaba, A. O. A. (2023) · Knowledge-Based Systems · doi:10.1016/j.knosys.2023.110955 · Cited by 15
A Literature Survey of Assertions in Software Testing
Taromirad, M., & Runeson, P. (2023) · Lecture notes in computer science · doi:10.1007/978-3-031-49252-5_8 · Cited by 15
“We follow similar research procedures as used in the literature surveys conducted by Harman et al. [4,6], namely a term–based search in Google Scholar, followed by a filtering process, and finally synthesized in a qualitative analysis.”
InfluentialMET-MAPF: A Metamorphic Testing Approach for Multi-Agent Path Finding Algorithms
Zhang, X., Liu, Y., Arcaini, P., Jiang, M., & Zheng, Z. (2024) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3669663 · Cited by 15
“MT [11, 52] is suitable to test systems affected by the oracle problem [6], i.e., when it is not always possible to assess whether a test case passes or fails.”
Automating GUI-based Test Oracles for Mobile Apps
Baral, K., Johnson, J., Mahmud, J., Salma, S., Fazzini, M., Rubin, J., Offutt, J., & Moran, K. (2024) · International Conference on Mining Software Repositories (MSR) · doi:10.1145/3643991.3644930 · Cited by 15
“Automatically checking whether a test passes is particularly challenging, largely because it requires understanding the nuances of the expected program behavior to determine when deviations occur [8].”
BackgroundSklavenitis, D., & Kalles, D. (2025) · Applied Sciences · doi:10.3390/app15137165 · Cited by 15
Efilter: An effective fault localization based on information entropy with unlabelled test cases
Xiaobo, Y., Liu, B., Wang, S., Dong, A., Feng, Z., & Yelin, Y. (2021) · Information and Software Technology · doi:10.1016/j.infsof.2021.106543 · Cited by 15
Kolb, N., Hauer, F., & Pretschner, A. (2021) · IEEE International Conference on Intelligent Transportation Systems (ITSC) · doi:10.1109/itsc48978.2021.9564591 · Cited by 15
Metamorphic testing of named entity recognition systems: A case study
Xu, Y., Zhou, Z. Q., Zhang, X., Wang, J., & Jiang, M. (2022) · IET Software · doi:10.1049/sfw2.12058 · Cited by 15
Flaky Test Sanitisation via On-the-Fly Assumption Inference for Tests with Network Dependencies
Dietrich, J. B., Rasheed, S., & Tahir, A. (2022) · IEEE International Working Conference on Source Code Analysis and Manipulation (SCAM) · doi:10.1109/scam55253.2022.00037 · Cited by 15
“The latter means that there is an implicit oracle [15] that the execution of the functionality tested should not result in an unhandled exception or error.”
BackgroundMoDALAS: addressing assurance for learning-enabled autonomous systems in the face of uncertainty
Langford, M. A., Chan, K. H., Fleck, J. E., McKinley, P. K., & Cheng, B. H. C. (2023) · Software & Systems Modeling · doi:10.1007/s10270-023-01090-9 · Cited by 17
“Analogous to a test oracle [24], a behavior oracle predicts how an LEC will behave in response to given inputs.”
BackgroundAn empirical study of vulnerabilities in edge frameworks to support security testing improvement
Malik, J., & Pastore, F. (2023) · Empirical Software Engineering · doi:10.1007/s10664-023-10330-x · Cited by 15
“A test oracle (or, simply, an oracle) is a procedure to determine if the software behaves according to its specifications Barr et al. (2015), otherwise a test failure should be reported. In the context of security testing, test oracles should report security failures. Test oracles may either be automated or manual; in…”
BackgroundMethodInfluentialExperiences of testing bioinformatics programs for detecting subtle faults
Lundgren, A., & Kanewala, U. (2016) · doi:10.1145/2897676.2897678 · Cited by 16
“A 2015 survey finds that most proposed oracle testing solutions cannot fully replace manual checking, but partial oracles may alleviate much of the work of designing test inputs and examining test outputs [2].”
BackgroundHomayouni, H., Ghosh, S., & Ray, I. (2018) · Advances in computers · doi:10.1016/bs.adcom.2017.12.005 · Cited by 15
Morgan, J. (2018) · Wiley eBooks · doi:10.1002/9781119357056.ch5 · Cited by 15
XACMET: XACML Testing & Modeling
Daoudagh, S., Lonetti, F., & Marchetti, E. (2020) · Software Quality Journal · doi:10.1007/s11219-019-09470-5 · Cited by 15
“About the automated oracle, notwithstanding the huge interest devoted to this topic, reducing the human activity in the evaluation of the testing results is still an issue (Barr et al. 2015).”
BackgroundUsing metamorphic relations to verify and enhance Artcode classification
Xu, L., Towey, D., French, A. P., Benford, S., Zhou, Z. Q., & Chen, T. Y. (2021) · Journal of Systems and Software · doi:10.1016/j.jss.2021.111060 · Cited by 15
A classifier-based test oracle for embedded software
Gholami, F., Attar, N., Haghighi, H., Asl, M. V., Valueian, M., & Mohamadyari, S. (2018) · Real-Time and Embedded Systems and Technologies (RTEST) · doi:10.1109/rtest.2018.8397165 · Cited by 15
“The mechanism of labeling program outcomes/behavior subjected to specific input values is referred to as ”test oracle” [1].”
BackgroundTest Oracle Generation for REST APIs
Alonso, J. C. G., Ernst, M. D., Segura, S., & Ruiz–Cortés, A. (2025) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3726524 · Cited by 14
“These tools are all limited in the types of failures that they can detect, namely crashes (responses with a 5XX HTTP status code) [32, 33, 62, 69, 72, 74, 82, 103, 106], disconformities with the API specification (e.g., a missing output JSON property) [32, 62, 69, 82, 103], regressions [54, 57],…”
Fuzzing Processing Pipelines for Zero-Knowledge Circuits
Hochrainer, C., Isychev, A., Wüstholz, V., & Christakis, M. (2025) · ACM SIGSAC Conference on Computer and Communications Security (CCS) · doi:10.1145/3719027.3744791 · Cited by 14
“…one or more of the following three types of oracles: (1) specification-based oracles [6] (by comparing the actual behavior to a formal specification of the expected behavior), (2) differential oracles [6, 32] (by comparing the behavior of two or more implementations), and (3) metamorphic oracles.”
InfluentialTest Oracles and Test Script Generation in Combinatorial Testing
Kruse, P. M. (2016) · IEEE International Conference on Software Testing, Verification and Validation Workshops (ICSTW) · doi:10.1109/icstw.2016.11 · Cited by 14
“There are several kinds of test oracles [21]–[25], we will focus on representatives from the field of CTD using the four categories of test oracles specified by Barr, Harman, McMinn, Shahbaz, and Yoo: non-automated, implicit, derived, and specified oracles [26].”
MethodTowards the Systematic Testing of Virtual Reality Programs
de Andrade, S. A., Nunes, F. L. S., & Delamaro, M. E. (2019) · Symposium on Virtual and Augmented Reality (SVR) · doi:10.1109/svr.2019.00044 · Cited by 14
“In the context of VR applications, the simple use of unit tests may not be sufficient to attest the quality of the developed product, since the technological advancement has led to the development of systems with advanced features such as images, sounds, videos, and differentiated interaction, presenting new challenge…”
BackgroundTesting acoustic scene classifiers using Metamorphic Relations
Moreira, D., Furtado, A. P., & Nogueira, S. (2020) · IEEE International Conference on Artificial Intelligence Testing (AITest) · doi:10.1109/aitest49225.2020.00014 · Cited by 14
“The problem to be addressed by this design cycle is the Oracle Problem, which occurs in scenarios where it is impossible or very difficult to decide on the correctness of a test case and the outputs of a test [13].”
BackgroundMetamorphic Testing of Autonomous Vehicles: A Case Study on Simulink
Valle, P. (2021) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1109/icse-companion52605.2021.00048 · Cited by 14
“The resulting inability to determine whether a test outcome is correct or not is known as the oracle problem [3].”
BackgroundHasnain, M., Pasha, M. F., Ghani, I., & Jeong, S. R. (2021) · SN Computer Science · doi:10.1007/s42979-021-00821-3 · Cited by 15
Human-in-the-loop oracle learning for semantic bugs in string processing programs
Kapugama, C. G., Pham, V.-T., Aleti, A., & Böhme, M. (2022) · ACM SIGSOFT International Symposium on Software Testing and Analysis (ISSTA) · doi:10.1145/3533767.3534406 · Cited by 14
“This difficulty can be overcome by developing an automated test oracle [4] for this buggy program.”
BackgroundChecked coverage for test suite reduction: is it worth the effort?
Koitz, R., Stracke, L., & Wotawa, F. (2022) · doi:10.1145/3524481.3527216 · Cited by 14
“In case of a deviation, the TC is called a failing test case and, otherwise, a passing one [2].”
BackgroundKhoo, L. S., Bay, J. Q., Yap, M. L. K., Lim, M. K., Chong, C. Y., Yang, Z., & Lo, D. (2023) · IEEE International Conference on Software Analysis, Evolution and Reengineering (SANER) · doi:10.1109/saner56733.2023.00066 · Cited by 14
“However, one of the biggest challenges in fairness testing is to identify the correct and incorrect behavior of the model, commonly known as the “oracle problem” [7].”
Background
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.