Various aspects of Software Testing
Software testing generally involves testing the software functionality so as to identify whether the developed software fulfills the requirements of the users and developers and to identify whether there is any defect or risk. By software testing, the defects can be removed then the software will be defect-free and a high-quality product can be produced or developed.
Attention reader! Don’t stop learning now. Get hold of all the important CS Theory concepts for SDE interviews with the CS Theory Course at a student-friendly price and become industry ready.
Software Testing criteria is based upon two fundamental properties –
- Reliability :
If all the test cases detect the same set of errors then only a test criterion is reliable. Whether the software is fault-free and is reliable is assured by reliability testing.
- Validity :
Validity testing ensures whether the product or software actually fulfills the needs of clients or users. If any error in the program there is some set which causes error in the program then only a test criterion is valid.
For testing criteria, there is an important theorem- “ Program contains no errors if the testing criterion is valid and reliable if a fulfilling the needs of testing criterion succeeds.”
Various testing activities are there which are shown below :
- Test Planning –
The test plan or test script is prepared. For analzing the requirements of document (for black box) and program code (for white box), the test plans are generated.
- Test Case Design –
Creatiing a set of tests that are effective in testing the software is the ultimate target of test case design.
- Test Execution –
In order to obtain the test result, the test data is derived through various test cases.
- Data Collection and Comparison –
Collection and verification of test results is done whether it is complete and correct or not.
- Effective Evaluation and Report Generation –
All the above test activities are performed on the software model and the maximum number of errors is identified. Test reports are generated with the help of which we can work on the errors and find an effective way to reduce the errors in order to obtain a high-quality product.