/// <summary> /// Do "global" initialization here; Called before every test method. /// </summary> public OpcUaServerHelper_Fixture() { this.OpcUaServerHelper = new OpcUaServerHelper(server: TestValues.Server, port: TestValues.Port); var path = TestValues.GetPath(); _ = new ConfigFile(path: path); this.OpcUaServerHelper.InitializeOpcUaServer(configPath: path).Wait(); }
/// <summary> /// Run the setup once /// </summary> /// <param name="fixture"></param> public OpcUaServerHelper_Tests(OpcUaServerHelper_Fixture fixture) { this.OpcUaServerHelper_Initialized = fixture.OpcUaServerHelper; }