Software Testing & Quality Assurance MCA
Software Testing & Quality Assurance MCA
1. Model
A model is a simplification of reality.
A model provides the blueprints of a system.
A model may be structural, emphasizing the organization of the system,
or it may be behavioral, emphasizing the dynamics of the system.
We build models so that we can better understand the system we are
developing.
We build models of complex systems because we cannot comprehend
such a system in its entirety.
2. Principles of Modeling
Visualizing
Specifying
Constructing
Documenting
- State Diagram - The status condition and responses of the elements of a system
Bank officer
Deposit funds
Customer Make payment
Client
Transfer funds
OBJECTIVE: State chart diagram for ATM.
Insert
card
Enter
PIN
Enter
transition
Any more transaction
No more transaction
Remove
card
A : Atm ac : B : Bank
machine account client
1: Insert card
Insert PIN
3 : Enter PIN
4 : Verification
5 : PIN ok
7 : Process transaction
8 : Enter amount
9 : Amount entered
10 : Withdrawal
11 : Withdrawal success
12 : Dispense cash
13 : take cash
14 : Terminate
15 : Print slip
16 : Eject card
OBJECTIVE: Introduction of UML, Class Diagram for ATM