Now I am writing tests for django application and it is very confusing task. Since I am working for some other person, I need to have complete test cases in my test. I have some doubts; please help me.
In the front end, I have a html input which is having type number
and label frequency
.
In the back end, I will read the value in frequency field using following.
freq=request.POST['frequency']
Here I haven't considered a test case in which frequency field having invalid value ( i.e, a character instead of number ).
Is it necessary to consider above mentioned testcase?
Since in the front end, it is already limited to number input and hence user will not be allowed to enter characters.
Important thing is, I am doing the white box testing and not black box testing.