SE 08(Testing)
SE 08(Testing)
Quality Assurance
Software Testing
• Validation ensures the product under development is as per the user requirements.
• Validation answers the question – "Are we developing the product which attempts
all that user needs from this software ?".
• Control flow testing (check conditions) and data flow testing (check
declared variables) are the techniques of white box testing.
Black Box Testing
• It is carried out to test functionality of the program.
• It is also called ‘Behavioral’ testing.
• The tester in this case, has a set of input values and respective desired
results.
• On providing input, if the output matches with the desired results, the
program is tested ‘ok’, and problematic otherwise.
• Boundary values - The input is divided into higher and lower end values. If these
values pass the test, it is assumed that all values in between may pass too.
• Equivalence class - The input is divided into similar classes. If one element of a class
passes the test, it is assumed that all the class is passed.
Testing Levels
• Testing itself may be defined at various levels of SDLC.
• Functionality testing
• Performance testing
• Security & Portability
Acceptance Testing
• When the software is ready to hand over to the customer it has to go
through last phase of testing where it is tested for user-interaction
and response.
• Before testing
• While being tested
• After testing
Before Testing
• SRS document - Functional Requirements document
• Test Policy document - This describes how far testing should take place before
releasing the product.
• Test case report - This document contains test case report as a result of
the test.
• Test logs - This document contains test logs for every test case report.
After Testing
• Test summary - This test summary is collective analysis of all test
reports and logs. It summarizes and concludes if the software is ready
to be launched.
MCQ
• Which of the following is not part of the Test document?
a) Test Case
b) Requirements Traceability Matrix [RTM]
c) Test strategy
d) Project Initiation Note [PIN]
MCQ
a) Structural testing
b) Error guessing technique
c) Design based testing
d) None of the above
MCQ
a) Integration testing
b) Unit testing
c) System testing
d) All of the above
MCQ
• In which environment we can performed the Alpha testing?
a) User's end
b) Developer's end
c) User's and developer's end
d) None of the above
MCQ
a) Design Errors
b) Interface Errors
c) Procedure Errors
d) None of the mentioned
MCQ
a) Structural testing
b) Behavioral testing
c) Glass box testing
d) None of the mentioned
MCQ
• The test levels are performed in which of the following order?
a) Unit Testing
b) Black-box Testing
c) Performance Testing
d) None of the above
MCQ
• Which of the below testing is related to black-box testing?
a) Beta testing
b) White-box testing
c) Grey box testing
d) Alpha testing
MCQ
-------- testing is used to check the code?
a) Black-box Testing
b) White-box Testing
c) Yellow- box Testing
d) All of the above
MCQ
------ testing is a testing technique where the actual data verified in the
real environment.
a) Regression Testing
b) Alpha Testing
c) Beta Testing
d) None of the above
MCQ
a) Quality control
b) Validation
c) Verification
d) Quality Assurance