Software Testing

(7) Testing Object-Oriented Software

Possible Control Faults in Statecharts

  • Missing or incorrect transition or event
  • Resulting state is incorrect yet not corrupt
  • Missing or incorrect action
    • Wrong thing happens when executing a transition
  • Extra, missing, or corrupt state
    • Behavior becomes unpredictable
  • Sneak path or illegal message failure
    • Message accepted when it shouldn’t or unexpected message causes a failure
  • Trap door
    • Undefined messages accepted
 

Diskussion