Software Engineering | Program Testing
Testing a program consists of providing the program with a group or take a look at inputs (or test cases) and perceptive if the program behaves needless to say. If the program fails to behave needless to say, then the conditions below that failure happen are noted for later debugging and correction.
Some normally used terms related to program testing are:
- Failure:
This is a manifestation of miscalculation (or defect or bug). But, the mere presence of miscalculation might not essentially result in a failure. - Test case:
This is the triplet [I, S, O], wherever I is that the knowledge input to the system, S is that the state of the system at that the info is input, and O is that the expected output of the system. - Test suite:
This is the set of all take a look at cases with that a given product is to be tested.
Aim of Testing:
The aim of the testing method is to spot all defects existing in an exceeding product. but for many sensible systems, even when satisfactorily closing the testing part, it’s uphill to ensure that the code is error free. this is often due to the very fact that the computer file domain of most code product is extremely giant. it’s not sensible to check the code thoroughly with regard to every worth that the computer file could assume. Even with this sensible limitation of the testing method, the importance of testing shouldn’t be underestimated. It should be remembered that testing will expose several defects existing in an exceeding product. therefore testing provides a sensible manner of reducing defects in an exceedingly system and increasing the users’ confidence in a developed system.
Recommended Posts:
- Software Engineering | Differences between Sanity Testing and Smoke Testing
- Software Engineering | Comparison between Regression Testing and Re-Testing
- Software Engineering | Automated Testing
- Software Engineering | Statistical Testing
- Software Engineering | Cleanroom Testing
- Software Engineering | Testing Guidelines
- Software Engineering | Integration Testing
- Software Engineering | White box Testing
- Software Engineering | Black box testing
- Software Engineering | Regression Testing
- Software Engineering | Differences between Manual and Automation Testing
- Software Engineering | Seven Principles of software testing
- Software Engineering | Program Development Life Cycle (PDLC)
- Software Engineering | Requirements Engineering Process
- Software Testing | Static Testing
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.




