In: Accounting
UNIT TESTING is a level of software testing where individual units/ components of a software are tested. The purpose is to validate that each unit of the software performs as designed. Unit testing is often neglected but it is, in fact, the most important level of testing.
Purpose of unit testing:
1. Unit testing increases confidence in changing/ maintaining code.
2. Codes are more reusable.
3. Development is faster.
4. The cost of fixing a defect detected during unit testing is lesser in comparison to that of defects detected at higher levels.
5. Codes are more reliable.
SYSTEM TESTING is a level of software testing where a complete and integrated software is tested. The purpose of this test is to evaluate the system’s compliance with the specified requirements.
Purpose of system testing:
1. This testing includes end to end scenarios to test the
system.
2. This testing is done in the same environment as of the
Production environment which helps to understand the user
perspective and prevents the issues which can occur when the system
goes live.
3. If this testing is done in a systematic and proper manner, then
it would help in mitigating the post-production issues.
4. This testing tests both the application architecture and the
business requirement.