COMP1927 - Testing
When testing we need to consider the following questions:
- how robust does this code need to be?
- will the moon blow up if it fails?
- how defensive should the programming be?
- how important are the lack of errors?
- what will it be used for in the future?
- how portable does this code need to be?
Types of Testing:
Unit Testing: testing all new features
Regression Testing: testing previous parts pass old tests
Black Box vs White Box Testing:
Black Box Testing essentially means that you’re testing input->output correlation, whilst ignoring the actual processes that go on.
White Box Testing is about testing the internal functions, ensuring that every process performs correctly.
page revision: 0, last edited: 10 Aug 2011 00:53