1. What are the different kinds of software testing?
Ans:
There are various types of software testing, but the most common ones include manual testing, where testers check the software by hand, and automated testing, where tools are used to test automatically. Other types include functional testing, which checks features, performance testing that checks speed and load, security testing, unit testing, and integration testing.
2. How is verification different from validation in testing?
Ans:
Verification means checks if the software is built correctly according to the plan or design. It's like reviewing documents, code, or designs before testing starts. Validation checks if the software works as expected and meets the user's needs. This is done through actual testing of the software.
3. What do you mean by defect life cycle?
Ans:
The defect life cycle is the process a bug goes through from when it’s found until it’s fixed and closed. It usually starts as “New,” then moves to “Assigned,” “In Progress,” “Fixed,” “Tested,” and finally “Closed.” This cycle helps teams keep track of bugs and ensures they’re resolved properly.
4. What are test cases and why do we use them?
Ans:
A test case is a step-by-step instruction to test a specific function or feature of software. It includes input, expected result, and actual result. Test cases are important because they help testers to confirm that all features are working correct and help avoid missing any problems.
5. What does a test plan mean?
Ans:
A test plan is a document that outlines how testing will be done. It includes what will be tested, how it will be tested, who will do it, what tools will be used, and the timeline. It helps the teams stay organized and ensures nothing important is missed during testing.
6. What is the difference between white-box and black-box testing?
Ans:
White-box testing is when testers know the internal code or logic of the software and test it from the inside. Black-box testing is when testers do not see the internal code and only test the output based on input. In simple terms, white-box tests the “how,” and black-box tests the “what.”
7. What does regression testing mean?
Ans:
Regression testing means retesting the software after a change is made, such as a bug fix or new feature, to ensure old features still work properly. It helps avoid breaking something that was already working.
8. What is boundary value analysis in testing?
Ans:
Boundary Value Analysis (BVA) is a technique where you test the edges or limits of input values. For example, if a form accepts ages 18 to 60, you test values like 17, 18, 60, and 61. This helps catch bugs that often appear at the boundaries.
9. What is equivalence partitioning in software testing?
Ans:
Equivalence Partitioning splits input data into groups either valid or invalid. All values in a group should act the same way. You then test just one value from each group instead of testing every possible input This saves time while still ensuring thorough checks of the software.
10. How do you prioritize test cases in manual testing?
Ans:
In manual testing, you usually start by testing the most critical and high risk features first. The order of test cases is determined by their significance to the business, how often they are used and their likelihood of failing. This method helps identify major issues early in the testing process.