Object Oriented Software Engineering View all facts Glossary Help |
| subject > problem > defect > defect in an ordinary algorithm > not setting up the correct preconditions for an algorithm |
| not setting up the correct preconditions for an algorithm | ||||
| subject | fact | |||
| not setting up the correct preconditions for an algorithm | has definition A common defect in which a program proceeds to do its work even when specifies preconditions, that state what must be true before the algorithm should be executed, are not satisfied | ![]() |
| has testing strategy run test cases in which each precondition is not satisfied - preferably its input values are just beyond what the algorithm can accept | ![]() | |
| is a subtopic of 10.3 - Defects in Ordinary Algorithms | ![]() | |
| is a kind of defect in an ordinary algorithm | ![]() | |
| defect | has example the absence of code to handle an exception | ![]() |
| problem | has solution which will normally entail developing software, although you may decide that it is better to purchase software or to develop a non-software solution | ![]() |
| should be written as a simple problem statement in one or two sentences | ![]() |