Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
9 lines (8 sloc) 466 Bytes
layout title date tags
post
Assert.Fail
2009-09-04 08:46:00 +0200

Why Assert.Fail? Some might find it negative. Perhaps it is. The way I use it is more like a clean slate:

public void FooTest(){
Assert.Fail();
}

It's the starting point of many tests. Same as methods:

public void Foo(){
throw new NotImplementedException();
}

It's a clean canvas for your implementation.