Jeremy Bytes
byte-sized chunks of .NET
Showing posts with label
Mocking
.
Show all posts
Showing posts with label
Mocking
.
Show all posts
Wednesday, January 4, 2017
Trying to Get Foq Working with NUnit Test Runners (RESOLVED)
›
I've been exploring mocking using F# ( Simple Mocking in F#... & More Simple Mocking... ). At some point, mocking gets more complex...
Tuesday, December 27, 2016
More Simple Mocking in F# with Object Expressions
›
A few weeks ago, I did some simple mocking in F# by using object expressions . I thought this was a really cool option, particularly since m...
Sunday, November 27, 2016
Simple Mocking in F# with Object Expressions (I Like This)
›
Last time I talked about how I had some mixed feelings about testing C# code using FsUnit . I took the last example a step further and added...
2 comments:
Monday, June 27, 2016
Unit Test Factory Methods: Return an Interface or a Mock?
›
Had a great question today regarding what to return when using factory methods with unit tests : Should a unit test factory method return ...
3 comments:
Sunday, January 11, 2015
Mocking Current Time with a Simple Time Provider
›
When dealing with "DateTime.Now", we run into interesting issues when unit testing. We can't rely on our tests to run at any p...
2 comments:
›
Home
View web version