Software Development Processes/Lifecycle Specification Development Validation Evolu tion Also, for SDLC see http:// uk.youtube.com/watch?v = OfgfnZZdMlI We are here We are also here Requirements Analysis Design Development Testing Evaluation
Overlapping/ In Parallel? Requirements Analysis Design Development Testing Evaluation
Small teams inspecting the documents and work products in stages throughout the development lifecycle
As above but less formal/no documentation
What is verified?
You saw this in the SimSE game!
Software Development Processes/Lifecycle Specification Development Validation Evolu tion Verification Validation But the interplay of verification & validation will depend on your chosen development methodology Requirements Analysis Design Development Testing Evaluation
Are there errors in the code logic? (error of commission)
Are some parts of the spec ignored in the code? (error of omission)
E.g. boundary value errors
(see later examples)
‘ V’ Model Requirements Design Code Design matches Requirements Structural Functional Usability Code matches Design Verification – build it the right way (fault-free) Validation - build the right thing
Drivers and Stubs Example Book Hand Over Read Book Bar Code Update Book Details Return Book Module Under Test Stub (supplies BarCode Value) Driver : Calls Stub then module under test, finally outputs Date of Return BarCode BarCode DateofReturn
Black box attempts to derive sets of inputs that will fully exercise all the functional requirements of a system.
Aims to find errors in the following categories:
errors in data structures or internal database access
initialization and termination errors
An Example Black Box Test Book Handed Over Update Book Details Read Book Record Bar Code Book Code Date of Return MembershipId After testing these 3 modules individually, all 3 modules are combined in a test. For the 3-module together test, a single argument the – ‘ MembershipId’ producing a single reply ‘Date of Return’. Book Barcode is Read as part of the processing. Book Code Date of Return