public void SetupTest() { // Load the settings from a file that is not under version control for security // The settings loader will create this file in the bin/ folder if it doesn't exist vimeoSettings = Settings.SettingsLoader.LoadSettings(); }
public static void SaveSettings(VimeoApiTestSettings settings) { var json = JsonConvert.SerializeObject(settings, Formatting.Indented); System.IO.File.WriteAllText(SETTINGS_FILE, json); }
private static void SaveSettings(VimeoApiTestSettings settings) { var json = JsonConvert.SerializeObject(settings, Formatting.Indented); File.WriteAllText(SettingsFile, json); }