Professional Documents
Culture Documents
3
LECTURER: RAHIM ULLAH DANESHYAR
Interface testing
4
LECTURER: RAHIM ULLAH DANESHYAR
Interface testing
5
LECTURER: RAHIM ULLAH DANESHYAR
Interface testing
6
LECTURER: RAHIM ULLAH DANESHYAR
Interface testing
Unit testing
• Unit testing is very important as it allows developers to detect bugs
earlier in the lifecycle- thus improving the quality of delivered software.
• Unit testing cannot be performed on every part of the software.
7
LECTURER: RAHIM ULLAH DANESHYAR
Interface testing
8
LECTURER: RAHIM ULLAH DANESHYAR
Unit test example
9
LECTURER: RAHIM ULLAH DANESHYAR
Unit test example
The simplest way to write a unit test is by using the assert function. This
function can be found in most programming languages.
# It should pass
assert sum(1, 2) == 3
# It also should pass
assert sum(1, 2) != 0
10
LECTURER: RAHIM ULLAH DANESHYAR
Interface testing
11
LECTURER: RAHIM ULLAH DANESHYAR
Interface testing
12
LECTURER: RAHIM ULLAH DANESHYAR
Interface testing
Security Testing:
This type of testing is to understand
the security lapses in software to
identify possible vulnerabilities that
hackers can exploit.
13
LECTURER: RAHIM ULLAH DANESHYAR
Advantages of Interface Testing
14
LECTURER: RAHIM ULLAH DANESHYAR
Some Practical Work
15
Thank You!
16
Questions?
17