Created
October 25, 2012 14:14
-
-
Save akimboyko/3952783 to your computer and use it in GitHub Desktop.
Simple unittest for LinqPad
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void Main() | |
{ | |
// add references: nunit.framework.dll and nunit-console-runner.dll | |
// nunit runner | |
NUnit.ConsoleRunner.Runner.Main(new string[] | |
{ | |
Assembly.GetExecutingAssembly().Location, | |
}); | |
} | |
[TestFixture] | |
public class TestFixture | |
{ | |
[Test] | |
public void SimplePassedTest() | |
{ | |
Assert.Pass("ok"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment