Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Simple unittest for LinqPad
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