Difference Between Unit Testing and System Testing
Difference Between Unit Testing and System Testing
Unit testing is performed by the System testing is generally done by developers and
developers. testers.
Unit testing follows the specification System testing follows the requirements
of modules. specification.
It gives high performance because It gives relatively low performance than unit
of single module testing at a time. testing.
SDLC phases are completed before STLC phases are performed after SDLC
the STLC phases. phases.
Validation is executed on
Quality assurance team does
software code with the help of
verification.
testing team.
errors. errors.
It tests what the product does. It describes how the product does.
Static testing prevents bugs Dynamic testing finds and fixes bugs
Static testing includes a checklist and Dynamic testing includes specific test
process to follow cases to execute
Low cost of finding and fixing bugs High cost of finding and fixing bugs
2. White box testing – Tests the internal code structure and logic of
the software.
3. Early Testing: To find the defect in the software, early test activity
shall be started. The defect detected in the early phases of SDLC will
be very less expensive.
5. Pesticide Paradox: Repeating the same test cases, again and again,
will not find new bugs. So it is necessary to review the test cases and
add or update test cases to find new bugs.
6. Testing is Context-Dependent: The testing approach depends on the
context of the software developed. Different types of software need
to perform different types of testing. For example, The testing of the
e-commerce site is different from the testing of the Android
application.