Browse by Tags

All Tags » TDD » .NET (RSS)
Back in 2008 I joined Cortex . I was lucky to join a dynamic and growing development team, not afraid of experimenting and pushing the boundaries of Test-driven development. We were on the learning curve from classical state and interaction-based testing...
Posted by Sean Feldman | with no comments
Filed under: , ,
Daniel Cazzulino had a very helpful post about how to mock extension methods . The only part I don’t like about this method is the fact you have to make internals visible to the test assembly using an assembly directive: [assembly: InternalsVisibleTo...
Posted by Sean Feldman | with no comments
Filed under: , ,
I was working on some code today, when run into a pitfall with Moq. This was probably my misreading of documentation. The component I was testing looked somewhat like the code below public class SomeOtherType { private readonly ISomeType someType; public...
Posted by Sean Feldman | 5 comment(s)
Filed under: , ,
It doesn't matter how much we try to avoid it, it is unavoidable. Re-inventing wheel phenomena is always going to take place here and there. Doing a little BDD tests made it clear that I need to mark and specification with the type of the the system under...
Posted by Sean Feldman | with no comments
Filed under: ,
I wanted to put a simple test in place to document the behaviour of a value converter WPF application I am working on is using. First I did it the standard TDD way (sort of spiking multicultural support of MbUnit framework). The result worked great. 1...
Posted by Sean Feldman | with no comments
Filed under: ,
The goal of the application is to allow specifications for search (criteria’s) to be specified by the client in order to perform a custom search. Figure 1 demonstrates the requirement. I intestinally keep it simple for the sake of the exercise. Where...
Posted by Sean Feldman | 3 comment(s)
Filed under: , ,
More Posts