Please enable JavaScript.
Coggle requires JavaScript to display documents.
Craig n Dave 2.3 - Coggle Diagram
Craig n Dave 2.3
-
-
Suitable test data
Test data needs to include a range of:
- Normal inputs
- Boundary inputs
- Invalid inputs
- Erroneous inputs
Normal inputs:
- Data which should be accepted by a program without causing errors
Boundary inputs:
- Data of the correct data type which is on the edge of accepted validation boundaries
Erroneous inputs:
- Data of the incorrect type which should be rejected by a computer system
- This includes no input being given when one is expected.
Invalid inputs:
- Data of the correct data type but outside accepted validation checks.
-
Maintainability
Maintainable code
- Helps others to understand your code
- Focus on key aspects
- Use comments to:
- Visually divide parts of the program
- Explain the purpose of the programs
- Explain sections of code - typically selections, iterations or procedures
- Explain unusual approaches that were necessary
- Proper indentation
- Functions and procedures
- Use sensible, descriptive identifiers (variables).
- Use constants declared at the top of the program
- Use whitespace to make sections of a program easier to read
-
-