Test Oracle
A mechanism in software testing for determining whether a test passes, which may be an expected output, an assertion rule, or an independent answer set based on a specification.
Timeline (last 90 days)
Using the same buggy generation function to generate expected results for verification cannot detect systematic bias, because the test oracle degenerates into a tautology.
A test oracle refers to an external reference standard used to judge whether test output is correct; when developers call the function under test itself to generate expected results, the oracle degenerates into a tautology and can only verify internal consistency.
All Facts (2)
Using the same buggy generation function to generate expected results for verification cannot detect systematic bias, because the test oracle degenerates into a tautology.
50%UnverifiedA test oracle refers to an external reference standard used to judge whether test output is correct; when developers call the function under test itself to generate expected results, the oracle degenerates into a tautology and can only verify internal consistency.
50%