CodePaste Logo
New Snippet New Snippet Recent Snippets Recent Snippets My Snippets My Snippets Web Code Search Snippets Search
Sign inor Register
Format:
Recent snippets for: Roy Osherove
C#
[Test]
       public void Review_GivenMethodWithNoAssertAndNoExpectedException_FindsProblem()
       {
           MissingAssertReviewer reviewer = new MissingAssertReviewer();
           string SOMEFILE = "a";
           reviewer.ReviewSingleFileContent(@"namespace ns{ public class MyClass{
                                                   [Test] public void MyMethod()
                                                       {
                                                           
                                                       }
by Roy Osherove   February 04, 2010 @ 7:19am
Tags:
153 Views
no comments
 
C#
// **********************************
// By Roy Osherove : www.osherove.com
// see example usage of this code at http://weblogs.asp.net/rosherove/archive/2009/10/23/typemoq-api.aspx 
// **********************************
 
using System;
using System.Linq;
using System.Linq.Expressions;
using TypeMock.ArrangeActAssert;
by Roy Osherove   October 23, 2009 @ 6:08am
688 Views
no comments
 
brought to you by:
West Wind Techologies



If you find this site useful and use it frequently please consider making a donation to support this free service.
Donate