Testing and Documenting Solutions Flashcards
What should documentation at each stage of testing include?
Outline of any testing done
Results
Any errors found
Details on how the errors were corrected
What is an advantage of component testing?
If combining the subroutines, if mistakes are in some subroutines, errors may interact with each other to give unpredictable results
What is a stub?
Dummy function/procedure used in place of one still to be written
When are stubs used?
When there needs to be some code present to indicate a subprogram is being called
What are drivers?
Piece of code designed to test a function/procedure which has been written but the rest of the code has not
Is this a driver or a stub?
PROCEDURE sort(numbers)
print(“Sorting Numbers”)
END PROCEDURE
Stub
What is integration testing?
A stage of testing where modules are tested together as part of a unit, form of alpha testing, carried out by member of development team
What should an integration test plan identify?
Original Software Specification
Test documentation from component testing stage
List of test data to be used
Conditions that must be in place before testing starts
What constitutes a successful test
What are the advantages of integration testing?
Tests how modules work together Tests features impossible to test at module level
What type of testing is integration testing?
Alpha testing
What should the flow of data be tested for in integration testing?
Data Integrity
What is acceptance testing?
Testing done by client or potential customers
What is the end result of acceptance testing?
Client accepts the delivery of software and checks it is fit for purpose
What are the benefits of acceptance testing?
- No unintentional bias
- No assumptions of novice understanding
- Can spot for un-noticed errors
Who do commercial companies release beta versions to?
Computer Journalists
Current Users of previous versions