You are on page 1of 11

Software Testing

Observations about Testing


Testing is the process of executing a programs with the intent of finding errors. Myers Testing can show the presence of bugs but never their absence. - Dijkstra

Good Testing Practices


A good test case is one that has a high probability of detecting an undiscovered defect, not one that shows that the program works correctly It is impossible to test your own program Avoid non-reproducible or on-the-fly testing Write test cases for valid as well as invalid input conditions. Never alter the program to make testing easier Testing, like almost every other activity, must start with objectives

Levels of Testing
Unit Testing Integration Testing Validation Testing
  

Regression Testing Alpha Testing Beta Testing

Acceptance Testing

Test Methods
White box or glass box testing Black box testing Gray box testing

Black box Vs White box

White Box Testing


White box testing is when the tester has access to the internal data structures and algorithms including the code that implement these.

Black Box Testing


Black-box testing is a method of software testing that tests the functionality of an application as opposed to its internal structures or workings

Gray Box Testing


Gray box testing is a combination of black box and white box testing. The concept of gray box testing is that, if the tester knows the complete product information from inside, then the tester can test the product better from inside and even from outside. This will help you in making better choices of the test cases which leads to a limited number of test cases

Test Types
Functional testing System testing Smoke testing Stress testing User acceptance testing Recovery testing Security tests Comparison tests Performance tests

Test Case and Test Data


A test case is a set of conditions or variables under which a tester will determine whether an application or software system is working correctly or not. Test data is the data that is used in tests of a software system. Test data is generated by testers or by automation tools which support testing.

You might also like