Expected results are:
a) only important in system testing
b) only used in component testing
c) most useful when specified in advance
d) derived from the code
Expected results are:
a) only important in system testing
b) only used in component testing
c) most useful when specified in advance
d) derived from the code
Regards,
Brijesh Jain
---------------------------------------------------------
Connect with me on Skype: jainbrijesh
Google Plus : jainbrijeshji
Hi Brijesh,
Expected results is one of the component of the Test Case. Expected result is the conditional criteria which shows the output that should be generated out a test case and the test can only be pass if the output matches with the Expected result else the result is pass. The output here mentioned is called as "Actual Result" of a test case.
The answer c is wrong because the expected result will always be specified in advance before the test case execution. The answer d is wrong since the expected result is not derived from the code but it is derived from the functional specification and the business requirements. The answer b is wrong becuase the Component or unit testing is not done by the testers but done by the developers and it is code verification. Here the testing will be Statement coverage, decision coverage and condition coverage and the testing will not be done against the expected result as there is no test case for carrying out Component testing.
The Answer here will be a) only important in system testing, since System testing is entirely a Black box testing where the validation is done by test case execution. The test case before execution will have Expected Result specified, and it should match with the Actual Result after the execution for the test case to be pass. Else the test case will be failed and defect will be logged subsequently.