Created
March 25, 2017 22:13
-
-
Save dsibinski/ea386a734c1021a4ba5430e0306ab732 to your computer and use it in GitHub Desktop.
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
public class MainActivity : global::Xamarin.Forms.Platform.Android.FormsApplicationActivity | |
{ | |
protected override void OnCreate(Bundle savedInstanceState) | |
{ | |
base.OnCreate(savedInstanceState); | |
global::Xamarin.Forms.Forms.Init(this, savedInstanceState); | |
// This will load all tests within the current project | |
var nunit = new NUnit.Runner.App(); | |
// If you want to add tests in another assembly | |
//nunit.AddTestAssembly(typeof(MyTests).Assembly); | |
// Do you want to automatically run tests when the app starts? | |
nunit.AutoRun = true; | |
LoadApplication(nunit); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment