logo

Testing Process of a Program | Report

   

Added on  2022-09-22

10 Pages2159 Words19 Views
COVER PAGE

Contents
Introduction................................................................................................................ 3
Features of Test Rail tool............................................................................................ 3
Positive test cases...................................................................................................... 3
Positive test case 1: Small array sorted in ascending order....................................3
Positive test case 2: Small array sorted in descending order..................................4
Positive test case 3: Looking for an item that is there............................................4
Positive test case 4: Looking for an item that is not there......................................4
Positive test 5: Empty array.................................................................................... 5
Positive test 6: Randomly arranged array...............................................................5
Negative test cases.................................................................................................... 6
Negative test case 1: array of strings......................................................................6
Negative test case 2: String parameter as the item to be searched for..................6
Negative test case 3: Array of strings and string as the item to be searched for....7
Negative test case 4: No parameters......................................................................7
Negative test case 5: Assigning the wrong data type to the return value...............8
Negative test case 6: Array sorted in descending order..........................................8
Bug Report................................................................................................................. 8
Conclusion.................................................................................................................. 9
References................................................................................................................. 9

Introduction
This report presents a discussion on the testing process of a program. The report
discusses in depth features of the testing tool used for testing while at the same
time presenting positive tests and negative tests done on the program using the
testing tool. An analysis of the test results is done to show any bugs existing in the
system and a conclusion is drawn from the analysis.
Features of Test Rail tool
Test Rail tool is an online testing tool that enables developers to test their programs
from the cloud by just using a web browser. The testing tool is designed using a
modern user interface to facilitate for easy and fast testing of programs. By creating
an integrated testing tool, Test rail enables developers to organize, track and
manage all testing procedures in one place. Since its web based, the tool can be
hosted in any web server including the web server belonging to the developers
(Balasa, 2018). This can facilitate collaboration between team members since the
application can be accessed from a web browser from any place. Test rail is
typically used for traditional and agile approaches.
Test rail has an inbuilt tool called TestRail FastTrack which is a three-pane layout
which makes it easy and fast to perform tests. The inbuilt tool is able used to
manage any ongoing test projects making it easy to access details of the tests
including, active test runs, past results and milestones.
Positive test cases
Positive test cases involve supplying the program with a valid set of data. Using the
valid set of data, the program should either perform as expected which is a passed
test or the vice versa which is a failed test. The following positive test cases will be
performed;
Positive test case 1: Small array sorted in ascending order
Description: This test case will involve supplying the method with an array of
integers consisting of 9 integers from 1 to 9 and supplying 3 as the number to be
searched for. The array of integers has to be arranged in ascending order thus the
data to be supplied will be;
Expected Result; When the program is executed the program should display the
position of integer 3. Since the counter starts at 0, the position of integer 3 is 2 thus
the program is supposed to display 2 as the result.
Actual Result: The program displays 2 as the result meaning that the test case is
passed;

End of preview

Want to access all the pages? Upload your documents or become a member.

Related Documents
TestRail: Features, Positive and Negative Test Cases, Bug Free Method
|10
|637
|45

International Organization for Standardization (ISO) Report 2022
|11
|1269
|26

The ISO/IEC/IEEE | Assignment
|10
|1095
|18