Deck 24: Testing Object- Oriented Applications

ملء الشاشة (f)
exit full mode
سؤال
Describe the how test cases are derived from behavior models to facilitate interclass testing?
استخدم زر المسافة أو
up arrow
down arrow
لقلب البطاقة.
سؤال
Describe three partitioning strategies that can be used when performing class level testing for OO systems.
سؤال
What is scenario-based testing?
سؤال
How does unit testing differ for object-oriented testing as compared to conventional software unit testing?
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/4
auto play flashcards
العب
simple tutorial
ملء الشاشة (f)
exit full mode
Deck 24: Testing Object- Oriented Applications
1
Describe the how test cases are derived from behavior models to facilitate interclass testing?
-Test cases must cover all states in the state transition diagram
-Breadth first traversal of the state model can be used (test one transition at a time and only make use of previously tested transitions when testing a new transition)
-Test cases can also be derived to ensure that all behaviors for the class have been adequately exercised
Final Exam Question
2
Describe three partitioning strategies that can be used when performing class level testing for OO systems.
State-based partitioning - tests designed so that operations that cause state changes are tested separately from those that do not
Attribute-based partitioning - for each class attribute,operations are classified according to those that use the attribute,those that modify it,and those that do not use or modify the attribute
Category-based partitioning - operations are categorized according to the function performed: initialization,computation,query,or termination
3
What is scenario-based testing?
The user tasks described in the use-cases are used to construct the test cases.It is used to uncover errors that occur when actors interact with the software (focus is on user behavior,not product behavior).Generally it is better to spend more time reviewing the use cases as they are created than spending more time on testing.
4
How does unit testing differ for object-oriented testing as compared to conventional software unit testing?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 4 في هذه المجموعة.
فتح الحزمة
k this deck
locked card icon
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 4 في هذه المجموعة.