-
This post is in response to Sam Gentile's post over at code better I'm Learning Rhino Mocks NHibernate StructureMap Policy Injection Blocks Log4Ne t (yea I know, what took so long. Answer, last few apps use the Logging App Block) MonoRail (about to start playing with that) Castle Windsor if I find time...
-
Up until a few months ago I had never even attempted to use mocks ( NMock , RhinoMock , etc). Every time I would read about Mocking I thought to myself, this is kinda cool, but seems to be a waste of energy. At the time I saw Mocks as only a way to create ‘placeholders’ for business/data classes. I did...
-
Today my project on finally broke the Millennium mark for Unit Tests. I am pretty happy about this because when I took over the project there were NO unit tests. The effort to get to this point has been pretty substantial and exhausting. But I believe that the product will be MUCH better because of this...
-
Recently a co-worker of mine (Lou, smart guy… (Lou, your shameless plug)) needed to test a UI control that raised an event upon certain conditions. In order to handle this event he needed to have some way to trap that it was raised. The solution he came up with was simple and elegant.., use an anonymous...
-
Just to pass this along. I was needing to raise events in NMock and I came across this post on how to Raise Events in NMock2 . This is a good post with clear examples. Enjoy
-
I am looking for feedback from the group. I am pretty new to using mocks for my unit tests and I am not sure what the standard approach in the community for usage of mocks in regards to how/where they are stored in your test application. After refactoring some of my tests to use mocks I quickly noticed...
-
Ok, so maybe I am the last person on the planet to learn about this new attribute, but oh well. Last week a co-worker of mine came across this attribute when doing some research and both of us just kinda looked at each other and smiled. See, for a long while now we have been saying how it would be nice...
-
One of the things I often hear when I am preaching the gospel of writing Unit Test's is that I have so much existing code, I don’t know where to start. In order to help others that have this dilemma I thought I would put together a simple multi-step plan to help you become one of the converted. The key...
-
Here we are in the second part of the cycle. In the first part I show basic concepts and first, simple build script that allows us to build our project on server. This time I will show how to configure automatic versioning and deploying the application to the test site. Versioning First of all let me...
-
Introduction Before I start, I want to turn your attention for not well know product named CI Factory. It's a continuous integration tool (or server) created by Jay Flower. It's quite interesting alternative for those who don't want to set up and configure everything on his own. The CI Factory is using...
-
Well, last time I didn't blog too much so I've decide to start a new cycle. It's the best way to force myself to post more frequently. One of the subjects on top of my head was continuous integration so there we are. The other reason is that I will have a presentation on that subject on vBug meeting...
-
I've been overloaded lately with my infant .NET consulting company, and I have to apologize for the lack of consistent posts. I just read a terse, but very insightful post from Sam Gentile. You'll need to dig into it and read the cross links, but it's a worth the while. Basically, he's covering the techniques...
-
I currently work for a company that is a very process and documentation light. They believe very strongly that big process and heavy documents will only slow down a project (actually one of the reasons I joined the company). However, as the new guy assigned to lead a very high profile project this can...
-
It's coming, as we all knew it would . All in all, I think this is a bit of a shame. I'm not one to speak for others, but I'm sure the "originators" (for want of a better term) of agile processes like Scrum and XP are a little disconcerted to see their ideas turned into nothing...
-
In order to run a successful project the project members have to feel they OWN the project. They must feel that they have: A say in the direction of the project A say in the decisions that are made That they can achieve the desired outcome The best way to achieve all of the above it pretty simple, empower...