T11 - JUnit Flashcards

1
Q

Explain what is to Valid Software

A

AIM: Check specification against user needs, Validation occurs at multiple stages
• User needs against use case diagram and system execution
• Check GUI design (looking at different Dialogs (GUI elements))

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Explain what is to verify software

A

AIM: Check whether the system is working properly and meeting specifications
• Verify the code
• Verify using test cases

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Where the different Level of testing

A

Level of testing Level 1
> Black and White box testing
Level 2 (Alpha Phrase): Program is used within a simulated environment
o Checking for differences between expected and actual output
o Checking input boundaries
Level 3 (Beta Phrase): Program is used within a real environment
o Checking for performance issues (response and execution times)
o Checking for reliability (recovery from errors).
o Handling of large data

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Explain what is Black box testing

A

To test the external behaviour and test the performance of the software

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Explain what is white box testing

A

To test the internal behaviour and test the quality of construction
Using Test Cases
> Test Cases are built around the code
> Test are built around stakeholder requirements

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Explain what is Unit testing

A

To test an individual class (isolated from other classes)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Explain what is integration testing

A

Integration testing AIM: To test a group of classes. Grouped based on a diagram
o Use case requires multiple classes
o Sequence diagram
o Data management: Classes that uses the same application

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Explain what is Sub system testing

A

Sub - system: Testing USE CASES (each use case can have multiple classes) that share the same persistent data

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Explain what is System testing /regression testing

A

System Testing (regression testing): Any significant changes will require the test to be re-run to ensure no functionality is broken

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Identify and explain the different elements of creating a test case

A
GOAL: Description of the situation
CONTEXT: The state or situation that must be setup before the testing
PROBE: Execute the test case
PREDICTION: Expected output
ACTUAL: Actual output
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Explain the process of a test driven development and benefit to coders

A

AIM: application code is written in response to test code
> test cases are built using requirement analysis
> test cases are built before coding

How well did you know this?
1
Not at all
2
3
4
5
Perfectly