public void InitializeContext(UnityTestExecutionContext context) { Context = context; if (Test is TestAssembly) { Actions.AddRange(ActionsHelper.GetActionsFromTestAssembly((TestAssembly)Test)); } else if (Test is ParameterizedMethodSuite) { Actions.AddRange(ActionsHelper.GetActionsFromTestMethodInfo(Test.Method)); } else if (Test.TypeInfo != null) { Actions.AddRange(ActionsHelper.GetActionsFromTypesAttributes(Test.TypeInfo.Type)); } }