SQL server collation setting for TFS 2010

To work with Visual Studio Team System Team Foundation Server, the collation settings for SQL Server (2005 / 2008) must be: 1. case insensitive (clear the Case – sensitive check box),  2. accent sensitive, 3. and not binary. To avoid problems with double-width or hiragana/katakana-equivalent characters, you should select the check boxes to enable Kana and…

0

Unit testing SharePoint solutions using Pex

Peli provides a good overview on how you can use Pex Moles to unit test SharePoint applications by mocking away the SharePoint API calls. http://research.microsoft.com/en-us/projects/pex/pexsharepoint.pdf  

0

Moles – Pex detour Framework

Moles is a lightweight mocking framework that provides a  mechanism to stub non-virtual methods Static methods, methods in sealed types, constructors Moles is Delegate based, it provides hooks for the developer to provide their own mock implementation for any dependencies. No code refactoring required! Moles works in similar fashion as TypeMock, DIF. Moles is optimized…

0

Unit Test v/s PUT

A unit test is a method without parameters that represents a test case and typically executes a method of a class-under-test with fixed inputs and verifies that it returns the expected result. A parameterized unit test (PUT) is simply a method that takes parameters, calls the code under test, and states assertions. Parameterized unit tests…

0

Dowload Microsoft Pex from here!

You can download the latest version of Pex from here: http://research.microsoft.com/en-us/projects/pex/downloads.aspx  

0

Microsoft Pex

Pex goal is to automatically and systematically produce the minimal set of actual parameters needed to execute a finite number of finite paths. It automatically produces a small test suite with high code and assertion coverage. It has been leveraged by the .NET team at Microsoft for Unit Testing core .NET components HOW IT WORKS?…

0

Benefits of Unit Testing

Some of the key benefits of Unit Testing include:  Trusted Code: Unit Testing is the best mechanism that a developer can use to make its code rock solid, by creating unit tests for all possible paths in a method the developer can ensure that it will not break for any valid inputs and will…

0