When writing my unit tests I don’t like to use hard coded fixed values because I either end up using the same values or, because of that, tests may succeed by coincidence. Over time, I have developed an helper class to generate random values for testing. namespace PauloMorgado.VisualStudio.TestTools...
TypeMock has released version 4.2 of its mocking framework: TypeMock Insulator. Check out the release notes . My four favorite new features in this release are: Improved mock chaining Debugger evaluation doesn't change the test behavior The debugger can be run inside a recording block without confusing...
Web Client Software Factory 2.0 February 2008 Release Resources MSDN site: http://msdn.microsoft.com/webclientfactory Community site: http://www.codeplex.com/websf About the Deliverable The Web Client Software Factory (WCSF) provides a set of guidance for architects and developers building enterprise...
Posted to
Paulo Morgado
(Weblog)
by
Paulo Morgado
on
02-29-2008
Filed under: .NET, Architecture, ASP.NET, Community, SoftDev, Microsoft, MSDN, Web, WCSF, Tools, VisualStudio, PnP, SoftwareFactories, PageFlow, AJAX
TypeMock (now called) Insulator 4.2 Beta is publicly available. Check out the release notes . One of my favorite new features is the improved mock chaining. Take this class to be tested: public class TestedClass1 { public IDictionary < string , object > Dictionary { get { throw new NotImplementedException...
For those who can't (or don't want to) deploy .NET Framework 3.5, the service packs included for the 2.0 and 3.0 versions of the framework are available as standalone downloads. Microsoft .NET Framework 2.0 Service Pack 1 (x86) Microsoft .NET Framework 2.0 Service Pack 1 (x64) Microsoft .NET...
Posted to
Paulo Morgado
(Weblog)
by
Paulo Morgado
on
11-22-2007
Filed under: .NET, WinForms, ASP.NET, SoftDev, C#, Microsoft, MSDN, MVP, VisualStudio, WCF, WPF, WF, WindowsClient
Visual Studio 2008 and .NET Framework 3.5 has finally shipped. MSDN subscribers can download the final version of Visual Studio 2008 from MSDN Subscription Downloads , but anyone can get a trial version or an Express Edition . The .NET Framework 3.5 contains many new features building incrementally upon...
Posted to
Paulo Morgado
(Weblog)
by
Paulo Morgado
on
11-21-2007
Filed under: .NET, WinForms, ASP.NET, SoftDev, C#, Microsoft, MSDN, SQLServer, XML, VisualStudio, WCF, WPF, WF, WindowsClient, LINQ
Today, S.Somasegar announced at TechEd Developers EMEA , amongst other things, that they the product team at Microsoft is putting the finishing touches on Visual Studio 2008 and .NET FX 3.5. They are on track to shipping these products before the end of November 2007. They will have the marketing launch...
Posted to
Paulo Morgado
(Weblog)
by
Paulo Morgado
on
11-05-2007
Filed under: .NET, Architecture, ASP.NET, Community, SoftDev, C#, Microsoft, MSDN, MVP, VisualStudio, TechEd
Visual Studio's Unit Test generator generates a call to Assert.Inconclusive but, usually generates a call to another method of the Assert class. I find that very annoying because, some times, this makes the test fail instead of being reported as inconclusive. To comment out these extra calls to Assert...
I don't like to see constant strings being concatenated in source code. I know the compiler compiles it into a single string, but I think it sends out the wrong message. However, code generators (like Visual Studio's Unit Test generator) usually generate code with long strings concatenated across...
Visual Studio comes with the a specific set of regular expressions can be used in the Find what field of the its Find and Replace Window . Over the time I've been using Visual Studio I've come up with some tricky regular expressions that I'll be publishing in this page . Feel free to comment...