public NunitGoActionAttribute(string testGuidString = "", string projectName = "", string className = "", string testName = "") { _guid = testGuidString.Equals("") ? Guid.Empty : new Guid(testGuidString); _projectName = projectName; _className = className; _testName = testName; _configuration = NunitGoHelper.Configuration; }
static NunitGoHelper() { try { var path = GetPath(); Directory.SetCurrentDirectory(path); var configuration = NunitGoConfigurationHelper.Load(@"NUnitGoConfig.xml"); //var configuration = NunitGoConfigurationHelper.Load(Path.Combine(path, "NUnitGoConfig.xml")); Configuration = configuration; } catch (Exception ex) { Log.Exception(ex, GetPath(), "Exception in NunitGoHelper constructor"); } }