Chapter 5
Chapter 5
TESTING
41
5. TESTING
As software testing is within SDLC, defects in the program do not get ignored.
Your main aim is to make certain the software fulfil’s its purpose, looks
professional and can be used easily. Testing happens at distinctive moments,
matched to each part of the software.
Each portion or module here is evaluated separately using unit tests. We are
checking whether each unit is constructed according to the design’s specifications.
Most of the time, they are functions, methods or classes. Many developers run unit
tests automatically as a regular part of what they do.
Test Expected
Module Description Input Result
Case ID Output
Username: Redirect to
Valid login
TC_U1 Login admin, admin Pass
credentials
Pwd:12345 dashboard
Username:
Show error
TC_U2 Login Invalid password admin, Pass
message
Pwd:wrong
Show
Missing required Name = '',
TC_U3 Registration validation Pass
fields Email = valid
error
Entering
Attendance Student ID = Attendance
TC_U4 attendance for a Pass
Entry 1002, Present marked
student
Adding a new
Course Code = Course saved
TC_U5 Add Course course with all Pass
CS101 in database
fields
42
5.2 Integration Testing
The thought is that the software you’ve tested successfully can function together
with other application areas. We want to ensure our technology is working well and
our data can be shared easily. Most commonly, organizations are run following the
top-down style, from the bottom-up or with both styles combined.
Test
Modules Expected
Case Description Input Result
Involved Output
ID
Ensure Student
Student Reg
registered Register new shown in
TC_I2 → DB → Pass
student reflects student admin's
Admin View
in admin panel student list
Check
Present status
Attendance → attendance Mark
TC_I3 shown in Pass
Reports reflects in attendance
report
reports
Math101
Course Assign Faculty sees Assign
listed on
TC_I4 → Faculty only assigned "Math101" to Pass
faculty
Panel courses Prof. A
dashboard
43
5.3 User Acceptance Testing
At the end of the testing process, UAT is carried out by users or stakeholders to
check if the software both matches their needs and functions properly in real use
cases. The goal of UAT is to verify that the system can be used in real work settings.
A lot of times, the entire system is tested using data that reflects real situations.
Test Case
Role Scenario Description Expected Behavior Status
ID
44