Week 4 Flashcards
What is Polling?
A method where a program repeatedly checks for new data or status at regular intervals
What are Events?
A method where a program waits for a signal or notification that something has happened
An object that contains information about a state change in a source
What is a quick comparison between Polling and Events?
Polling = Asking regularly.
Events = Waiting for a signal.
When would you use Events and Listeners?
Any situation where your program is waiting for something to happen but you cannot make it happen
What is a Source?
An object that generates an event
What is a Listener?
An object that is notified of an event occuring
An event listener has a different method for each type of event notification it is interested in
What is a Listener Interface?
To be notified of events a class must implement a Listener Interface
What is Integration Testing?
Where multiple components are grouped together (integrated) to form final system and tested
Unexpected behaviour arise at this point, which is checked for here
What is System Testing?
Testing the entire system as a whole
What is User Acceptance Testing?
UAT plans developed during requirements analysis phase and composed by users
UAT performed in user environment that resembles production environment and uses realistic data
UAT ensures that the delivered system meets the users requirements and system is ready for use in real time
Validation activity rather than a verifiction activity
What are advantages of the V model?
Highly structure, phases completed one at a time
Works well where all requirements are understood
Simple to understand
Easy to manage - each phase has a definite end with a review
What are disadvantages of the V model?
Once project is in the testing phase it is difficult to go back and change functionality
Not suitable for projects where requirements might change
No working software created until later in the cycle
What is Static Testing?
Assessing documents (review, walkthroughs, …)
What is Dynamic Testing?
Testing that involves executing program code
eg. White box testing, black box testing etc.
What is White Box Testing?
Testing where the internals of the program are known, so can test explicit paths through the system (code coverage)