Oracle Problem in Test Execution

Oracle Problem in Test Execution
January 30 10:00 2012 Print This Article

Checking of the result is a complex task, because of the theoretical difficulties and practical limitations. According to the long standing theoretical outputs result checking for software testing in common is an insoluble trouble.

To put it differently, there is no algorithmic or entirely automated solution to the common test oracle problem.

From the practical point of view, the expected behavior is hard to describe exactly so that the monitored behavior can be compared against. Software can fail in countless variations. The unexpected behavior may occur in really unexpected ways, making result checking complicated or almost unrealizable.

Nevertheless, there are cases where specific kinds of system failures, such as irresponsive behavior or system crash, are easy to detect.

Let’s try to find a rough solution to the oracle problem:

  • In some cases heuristics guesses can be used based on product domain knowledge, for instance, what other equal products would do under equal situations. Therefore, equal products can usually be used as the test oracle to check implementation outputs and to detect system failures.
  • The information about execution may be used to link specific behavior to specific program units as well. We can also inspect different product internal data and dynamic implementation state to help decipher the oracle problem. For instance, if an external function is supported by some internal elements, which were not invoked when we conduct software testing for this external function, we can be almost certain there is something incorrect with this test run. Product experts or developers can also help software testers to conduct this complicated task when some significant defect is suspected.
  • Different kinds of logicality checking at the time of implementation may be helpful to detect the implementation failures as well.

Related Posts:

About Article Author

view more articles
Nataliia Vasylyna
Nataliia Vasylyna

View More Articles

2 Comments

write a comment
  1. dean
    April 14, 22:14 #1 dean

    not that sort of oracle.

    Reply to this comment
  2. Karel Haighton
    February 11, 23:39 #2 Karel Haighton

    Anastasia,

    I don’t understand your Oracle problem.
    As long as you keep looking at the way the databases are designed you can understand what happens while testing in Oracle.

    Karel

    Reply to this comment

Add a Comment

Your data will be safe! Your e-mail address will not be published. Also other data will not be shared with third person.
All fields are required.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.