Assignment 2
Assignment 2
These involve people examining the source representation with the aim of
discovering anomalies and defects.
Inspections not require execution of a system so may be used before
implementation.
They may be applied to any representation of the system (requirements, design,
configuration data, test data, etc.).
They have been shown to be an effective technique for discovering program errors.
4. Automated test components are setup part, call part, assertion part
• Code coverage: Every code segment that you write has at least one associated test
so all code written has at least one test.
• Regression testing: A regression test suite is developed incrementally as a program
is developed.
• Simplified debugging: When a test fails, it should be obvious where the problem lies.
The newly written code needs to be checked and modified.
• System documentation: The tests themselves are a form of documentation that
describe what the code should be doing.
7. Describe Program testing goals?
Serving as a bridge between users and development team of a product, the
ultimate goal of software testing is to troubleshoot all the issues and bugs as well
as control the quality of a resulted product.
10.Testing guidelines are hints for the testing team to help them choose tests that
will reveal defects in the system. Describe these guidelines?
• Choose inputs that force the system to generate all error messages.
• Design inputs that cause input buffers to overflow.
• Repeat the same input or series of inputs numerous times.
• Force invalid outputs to be generated.
• Force computation results to be too large or too small.