Posts Tagged ‘Unit Test’

What do I mock: roles or object?

October 6, 2012

A clearfull essay about mocking roles and not object, Mock Roles, not Objects by Steve Freeman, Nat Pryce, Tim Mackinnon (*), Joe Walnes.

(*): still remember his keynote at Italian Agile Day 2007 🙂 available here

Copied & Pasted from original Abstract:

Mock Objects is an extension to Test-Driven Development that supports good Object-Oriented design by guiding the discovery of a coherent system of types within a code base. It turns out to be less interesting as a technique for isolating tests from third-party libraries than is widely thought. This paper describes the process of using Mock Objects with an extended example and reports best and worst practices gained from experience of applying the process. It also introduces jMock, a Java framework that embodies our collective experience.

Technorati tags: Agile,Mock

Run unit tests in Resharper 4.5.1

October 23, 2009

Looking for more info about running unit tests in Resharper, I found this post: MSTest ReSharper 4 Plugin.

Resharper 4.5 support MSTest natively (here), so it’s obsolete but not useless. 😉

During my early tests, I found Resharper running slowly my unit tests, but more customizable. 😉

Technorati tags: Visual Studio, Resharper, Unit Test

A short tutorial about unit test with Visual Studio

October 6, 2009

Visual Studio has a unit test engine, where you can write you unit tests (TDD, Unit Testing, …).
If you need a short (but full!) tutorial to start writing your own unit tests, read A Unit Testing Walkthrough with Visual Studio Team Test by Mark Michaelis.
It also will cover refactoring and code coverage items. 😉

With the latest release of Visual Studio Test System (VSTS) comes a full suite of functionality for Visual Studio Team Test (TT). Team Test is a Visual Studio integrated unit-testing framework that enables:
-Code generation of test method stubs.
-Running tests within the IDE.
-Incorporation of test data loaded from a database.
-Code coverage analysis once the tests have run.
In addition, Team Test includes a suite of testing capabilities not only for the developer, but the test engineer as well.[…]

more info about Visual Studio Products, here Updated: Visual Studio 2008 Product Comparison Guide by Rob Caron

Technorati tags: Visual Studio, Agile, Unit Testing, Refactoring, Code Coverage
  • June 2017
    M T W T F S S
    « Dec    
  • .

    .Net Agile Antivirus Book C# Programming EntityFramework GTD Hyper-V LinQ MVVM Office Resharper SCRUM Security Sharepoint Silverlight SQLServer TFS ToDoList Unit Test VirtualBox Virtual PC Visual Studio VMware Windows7 WPF XeDotNet XML XPath