last day (15 days later) » 

1:59 PM
Hi
I want to help you understand this better
Can we discuss ?
This question that you posted "Disappearing cookies from Request when remove Cookies from Response while Testing C#"
 
2:15 PM
@Clint Hi, yes, I would be glad
 
3:00 PM
@goskan93
On your Post I saw that
you mentioned that your main code is working, its just that test is not giving the right output
COrrect ?
 
3:26 PM
@Clint Thats right. And the problem appears only with Cookies
 
okay
@goskan93,
Just to understand, how famaliar are you with Unit Tests in c# ?
 
not much :( that is my first project
 
righjt
take a look at this below, I see you have a bulky test method which is not needed
I have explained it in this answer
1
A: Unit test for update method in C# using Mock

ClintIn your code I see that there are all sorts of Mocking and Initial test setups that is taking place without a clear intention on what to test. Unit Test: What ? Tests a unit of an application without its external dependencies Unit Test: Why ? Makes refactoring faster and ensures you don't bre...

take a look
and let me know if it helps
 

last day (15 days later) »