Type of software testing
1. What is the difference between white box and black box testing?
Black box testing(behavioral testing): is a testing from a user’s point of view without seeing the internal code. Black box testing is based on requirements and functionality.
White box testing ( glass box or structural testing): is a testing technique which evaluates the code and internal structure of the program to ensure that the internal operations performed according to the specification. White box testing is based on coverage of code statements, branches, paths, conditions.
For example: With Login functionality, In black box testing we will test whether a user is able to login to the system with correct credentials while White box testing will check whether all line of code, all conditions, and paths of the Login method are executed properly or not.
Unit testing is a part of White box testing to test a single component or module in code.
2. Difference between functional and non-functional testing?
Functional testing: is a testing technique to validate features/functionality of the system base on the requirements.
Non- functional testing: is a testing technique which does not focus on functionality, rather than concentrates on the non-functional aspect such as performance of the system ( How well the application perform under unnormal circumstances), usability of the system ( how easy and satisfaction of the user with the system), compatibility (how compatible of the system under different environments).
For example: with a shopping website, In functional testing, we will test all functionality such as manage product (add, edit, delete), shopping functionality( add to card) and payment. For non- functional testing, we will check whether the website is easy for users to find a product which they want; is it easy to do payment or the website is stable when there are many user shopping on.
3. Difference between smoke testing and sanity testing?
4. What is the difference between alpha and beta testing?
5. Difference between system testing and system integration testing?
6. How does testing happen in Agile environment?
7. Why do organisations prefer Agile methodology over Waterfall or any other methodologies?
8. What are the key benefits for a team that follows Agile methodology?
9. How and why do we tag the complexity and severity to a defect?
10. Why do organisations need a separate testing team and what are the key roles for a tester?