Skip to content

Instantly share code, notes, and snippets.

@neuecc
Created March 5, 2017 13:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save neuecc/0b9ca544b788453c7a100389311858f6 to your computer and use it in GitHub Desktop.
Save neuecc/0b9ca544b788453c7a100389311858f6 to your computer and use it in GitHub Desktop.
public static class UnitTestLoader
{
[RuntimeInitializeOnLoadMethod(RuntimeInitializeLoadType.BeforeSceneLoad)]
public static void Register()
{
// setup created test class to RegisterAllMethods<T>
UnitTest.RegisterAllMethods<SampleGroup>();
// and add other classes
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment