public void Load(XmlReader reader)
        {
            var xml = new XmlDocument();

            reader.Read();
            Catch2Settings = Catch2Interface.Settings.Extract(xml.ReadNode(reader));
        }
Exemple #2
0
        private bool UpdateSettings()
        {
            var settingsprovider = _discoveryContext?.RunSettings?.GetSettings(Catch2Interface.Constants.SettingsName) as SettingsProvider;

            _settings = settingsprovider?.Catch2Settings;

            return(_settings != null);
        }
Exemple #3
0
        private bool UpdateSettings()
        {
            var settingsprovider = _runContext?.RunSettings?.GetSettings(Catch2Interface.Constants.SettingsName) as SettingsProvider;

            _settings = settingsprovider?.Catch2Settings;
            _executor = new Catch2Interface.Executor(_settings, _runContext.SolutionDirectory, _runContext.TestRunDirectory);

            return(_settings != null);
        }