Skip to content

Instantly share code, notes, and snippets.

@mogauvin
Forked from simoneb/linqpad-nunitlite.cs
Last active August 2, 2021 19:44
Show Gist options
  • Save mogauvin/2c414b7f4735792b6bd9047967118614 to your computer and use it in GitHub Desktop.
Save mogauvin/2c414b7f4735792b6bd9047967118614 to your computer and use it in GitHub Desktop.
NUnitLite in LINQPad
// LINQPad 4
// NUnit 3.4
void Main()
{
// change working folder by specifying the -work flag
// using either a single or double dash makes no difference
new AutoRun().Execute(new[]{"-noheader", @"-work=C:\src\Test\", "--verbose"});
}
// Define other methods and classes here
[Test]
public void SomeTest()
{
Assert.Pass();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment