What is Software Testing ???
Many books have many different answer.....
Core and simple answer is : 'Testing is just an activity to find the Bugs in associated software or Application under test'.
What is manual testing ?
Manual Testing is just an activity to check the application manually without using any tool and try to cover most of the possible scenarios. Key & Benefits :
- It covers most of the possible scenario with respect to user & business both .
- It covers scenario in permutation and combination way.
- It case of mathematics calculations it is best to check manually.
- A less programming skill & good logical mind can be utilized to find good bugs.
What is Smoke testing ?
To check major functionalities that build/application cab be accepted for further testing or not.
Name Smoke is given based on a strategy, which used to check a long gas pipe line by passing a solid smoke to find the leakage in gas pipe line.
Bugs erupted in smoke testing falls in critical severity & high priority.
What is Test Cases ?
How the application will be tested, to write these things in document is known as test cases
How to write the test cases?
Test cases are written based on documents(adopted by the organization) like Business Requirement Specification(BRS) , Functional Specification(FS) or any other document which functionally describe the application.
It is good practice to write the test cases in early phase of development.
An ideal Test cases cover three section
- History of Test cases (Written by, Reviewed by, Approved by).
- Scenario description & steps to achieve that scenario.
When to start test case execution ?Execution of test cases can be started after successful completion of Smoke test.
Key Points :
- Every Test cases must be discrete.
- Test cases must be tune with the flow of application & should be in simple language.
- Test case should cover most of the functionality.
- Test collab
- Test Rail
- Test Lodge
- Jira (Also a bug tracking tool)
- IBM Rational Quality Manager
- HP Quality Center
How much negative test cases should write?
What is Retesting?
After Execution of the test cases , an updated build with fixed bugs will be deployed on the testing server, Now assigned tester/QE is required to Retest the bug.
If they are fixed then status will be pass and if they are failed then status will be fail and after that it will again get assigned.
Normally an Iteration have two Re-Testing round after execution.
Key Points :
It is good practice to take Screen shot of failed Bugs.
Old data can be used to retest the bug.
As the Name Says "Explo" means explore the application.
It is basically used to learn and get more familiar with the application.
It is good to have an exploratory testing round after the test case execution because in test cases each and every thing can't be written, so uncovered part from test cases can be covered & tested through it and good bugs can be logged.
It should be limited to a certain planned area which falls under scope in application.
For example: If your application is fetching the data from other resource(Like facebook, Gmail, Social Tracking etc) Then just check that data is getting fetched or not instead of checking source application's functionality.
Regress Means "to return to a previous"
Means after making the changes(due to bug fix or some updation) in application whether the surrounding are effected or not to ensure this we do regression testing.
The main theme behind this testing is "Previously working things are still working well or not".
And the test case for regression testing is fetched from Previously written test cases.
and to make your regression Suite(Regression Test cases) more robust and reliable add some test cases from bugs.
In most of the time , some bugs will come which do not fall in test cases(Initially written) so derive scenario from these bugs and add the test case in your regression suite.
"How much area should cover?" it is most valuable base of regression testing.
What is Ad-hoc Testing?
Unit testing :A software development process in which the smallest part known as Unit is tested as individually and independently for proper operation. Unit testing is often automated but it can be done manually also. This testing mode is a component of Extreme Programming (XP), a pragmatic method of software development that takes a meticulous approach to building a product by means of continual testing and revision. That is to say that for any function and given a set of inputs, we can determine if the function is returning the proper values and will gracefully handle failures during the course of execution should invalid input be provided.
Smoke test/Build Verification Test :Smoke test is a set of tests run on every new build to verify that build is testable or not, here only major functionalities are tested. http://www.iamchandan.com/smoke-testing/
Sanity Testing :When build with minor issues fixes in code received then sanity testing is performed to test whether bugs are fixed & effect of these fixes i.e. not breaking any previously functionality. That is the reason Sanity is called Narrow Regression testing or Subset of regression performed within short time. Generally it is done after the Regression testing means it is done nearing end of SDLC.
Difference between smoke and sanity testing :
- Smoke test is a wide approach where all major areas of the software application are tested without getting into too deep. However a sanity testing performed with a focus on one or small set of area of functionality of the software applications.
- The test cases for the smoke test can be either manual or automated, however sanity test is generally without test scripts or test cases.
- Smoke test of the software application is done to check whether the build can be accepted for further testing or not, however sanity testing is to ensure whether the requirement are meet or not.
Types of Software Testing :In Software world there are more than 100 type of testing bug i have mentioned only important & organizations familiar also in a proper hierarchy manner :
- Black Box Testing
- White Box testing
- Smoke Testing
- Unit testing
- Incremental Integration Testing
- Integration testing
- Functional Testing
- System testing
- End to end testing
- Regression Testing
- Sanity Testing
- Globalization and localization testing
- Acceptance Testing a. Alpha Testing b. Beta Testing
- Non Functional Testing
- Performance Testing (Load Testing, Stress testing, Strain testing & Volume testing).
- Compatibility testing
- Security testing
- Installation/installation testing
- Usability Testing
- Recovery Testing