Hello all,
In this blog we will describe about our software testing methods such as White Box Testing and Black Box Testing.
Black Box Testing is also known as functional testing. Well it is software testing technique whereby the tester doesn’t know the internal workings of the item being tested. It means that in a black box test on a software design the tester only knows the inputs and what the expected results should be. Software tester doesn’t ever inspect the programming code and doesn’t require any further knowledge of the program other than its specifications. There are some benefits of this kind of software testing: The test is done from the viewpoint of the user, not the designer The tester doesn’t require knowledge of any special programming languages The test is impartial because the designer and the tester are independent of each other Test cases can be designed as soon as the specifications are complete
As an user I should be able to add NOTES for each activity so that I have more information about an activity that I perform.
Title: Additional Notes Description: Once the activities are entered, user should be able to add some additional notes to the activities for the future reference.
As an user I should be able to have a clear button at the end of activity so that I can clear all the texts which i have entered incorrectly, at once.
Title: Clear unwanted information. Description: While creating a new activity if I change my mind in between, then I should be able to clear all the text fields. Precondition: User must have entered some data.
As an user I should be able to see the list of activities which I performed during last week, so I can plan other activities accordingly.
Title: History of activities. Description: History should present list of activities which have been performed last week. Preconditions: At least user must have performed some activities during previous week.
It should be visible at History console.
As a user while entering new activity, I should have a place to enter details like title of my activity, category, date, time etc. so that I have a clear idea of what I am doing.
Title: Details of the activity. Description: User should be able to enter fields such as category, Start and End time, Date and Notes.
As a user I should be able to explicitly customize starting and ending time of the day. So that I can define my day.
Title: Defining Day. Description: As users may have different start and end time of the day, so the application will allow user to explicitly set start and end time of the day.
While entering the new activity , if user check mark whole day, that activity will be assigned the time slot which has been defined by user in the settings.
It is basically done by developers. Developers after completing the coding, they check each and every line of code is working properly or not. Here code base is visible. Hence it is called WBT. This can be done in the following ways:
Unit testing,
Path testing,
Predicate testing,
Loop testing,
Testing carried out from memory point of view,
Testing carried out from performance point of view.
Unit testing, testing carried out from memory and performance point of view can be done in both the ways i.e manually and using automation tools.
Here are our five white box test cases
Here, We can see that we have only two paths
Path 1 - {1, 2, 3-6, 7, 30}
Path 2 - {8-28, 29, 30}
There is only one Path
Path - {1,2-6,7, 17, 23, 24, 25, 26}
Here, We can see that we have only four path
path 1 - {1,2-16,17,18,19,20-23,31}
path 2 - {1,2-16,17,18,19,20-23,24,17,18,19,20-23,31}
path 3 - {1,2-16,17,18,19,20-23,20-23,31}
path 4 - {1,2-16,17,18,19,33,17,18,19,20-23,31}
Here, We can see that we have only four path
path 1 - {1,8,9-18,19,36}
path 2 - {23,36}
path 3 - {26,36}
path 4 - {30,36}
Here, We can see that we have only two path
path 1 - {1,3-23,24,31,32,47,59}
path 2 - {1,3-23,24,31,32,47,63,65}
There are no changes in the project objective or in any of the requirements.