How to: Invoke events inside your production code using Typemock Isolator

 Using Isolate.Invoke.Event enable event driven unit testing by invoking events on fake or “real” object. If you use events to communicate between parts of your application – it’s a feature you need to know and use. In the last couple of months I have been using it a lot but there is one wall I … Continue reading How to: Invoke events inside your production code using Typemock Isolator

How to unit test “un-testable” code (in a nutshell)

Not being able to unit test an essential scenario is one of the reasons developers stop unit testing their code. In fact most of the time when a team decides not to use TDD (Test Driven Development) is because it seems as if they won’t be able to test the production code using unit tests. … Continue reading How to unit test “un-testable” code (in a nutshell)

How to find assembly path ,name and version at runtime

Ever needed to find the location of your executable in runtime? what about getting a certain dll name? Look no further - the following is a quick overview on the .NET objects and functions that can solve your problem.   Application.ExecutablePath System.Windows.Forms.Application has static methods and properties that help manage an application, as well as … Continue reading How to find assembly path ,name and version at runtime