Please enable JavaScript.
Coggle requires JavaScript to display documents.
Testing and maintainability (Maintainable (programme code should be easy…
Testing and maintainability
testing
Must be tested to ensure it is robust
testing should be destructive made to ensure the program gives you an error with data that doesn't fit
Often done at two points
iterative - during the building
final - at the end
Suitable test data
Normal data
tests the sofware under normal working conditions
Boundary data
tests the sofware under extreme conditions
Erroneous data
tests the software with incorrect data
Syntax and logical errors
syntax errors
grammatical mistakes - could be caused by misspelling something
code won't run
logical errors
cause an unintended output because of a fault in the alogrith
still runs code
Maintainable
programme code should be easy to follow
Explanations should be made by commenting
All code that depends on previous code should be indented
meaningful identifiers