7.3 Development and Testing
7.3 Development and Testing
3
Development and Testing
Testing
The need for Testing
• System creation and testing begins after
design is completed
• File structure:
• Finalize database structure (data types, field
length, key fields, links)
• Test thoroughly to ensure it's robust when live
• Data validation and verification:
• Ensure correct data types and rules are followed
• Test validation and verification routines to catch
errors and ensure accurate transfer from paper to
electronic systems
• User interface:
• Identify how screens and input devices collect
data and present output
• If specialist hardware is needed (e.g., for
disabilities), finalize usage and test thoroughly for
user-friendliness
Testing Design
• Test designs ensure all system aspects are
tested:
• Testing the Data structures
• Testing the File structures
• Testing the Input methods
• Testing the Output formats
• Testing the Validation rules
Testing Designs
File Structures Test that files store and retrieve data properly
• Normal data:
• Valid data with expected outcomes (e.g., month is
a whole number between 1 and 12)
• Extreme data:
• Data at the limits of validity (e.g., month values 1
or 12)
• Abnormal data:
• Invalid data that should be rejected or cause an
error, including:
• Values less than 1 (e.g., 0, -1)
• Values greater than 12 (e.g., 32, 45)
• Non-numeric data (e.g., "July")
• Non-integer values (e.g., 3.5)
Test plan, test data and live data
• Live data testing:
• Use real data with known outcomes to test the system
• Compare new system results with those from the old system
• If outcomes differ, modifications may be needed