60 likes | 278 Views
Setup Phase-2 ( System Testing). Course Software Testing & Verification 2013/14 Wishnu Prasetya. What to test ?. The minimum is to test the functionalities specified by : your use cases ( dont have) requirement document.
E N D
Setup Phase-2(System Testing) Course Software Testing & Verification 2013/14 WishnuPrasetya
What to test ? • The minimum is to test the functionalities specified by : • your use cases (dont have) • requirement document
Test Cases, for a GUI-based Program(we want programmatic test cases) System Under Test Programmatic test-case : write textField1 “abc@com” ; click button1 ; assertgetState().z.contains “abc@com” GUI • Manually constructed • Can be programmatically executed so that you can re-execute them as often as you like!
Use Record & Replay to Construct Such a Test Case (we need such infrastructure implement it) System Under Test Programmatic test-case : replay(log1) assertgetState().z.contains “abc@com” GUI log-1
Adequacy(complement block coverage with model coverage) • Want a stronger coverage (than block coverage) • we will choose model-based coverage, in particular pair-based or path-based coverage over your model. • Multiple FSAs to model programs that are both event-driven and have autonomous behavior. tick move(d) tick alive destroyed gameover tick move(d)
Adequacy, few notes • Use split and merge to adjust your abstraction level • Notice that : • split corresponds to introducing partitions • e.g. pair-based and path-based coverage over your model correspond to pair-wise and full-combination coverage in partition-based testing