Example #1
0
        public static void AssemblyInitialize(TestContext context)
        {
            //CredentialsStore credentials = new CredentialsStore();
            //credentials.BasicAuthorizationUsername = "******";
            //credentials.BasicAuthorizationPassword = "******";
            //credentials.VsoCollection = "https://*****.visualstudio.com/defaultcollection";
            //CredentialsProvider.Write(@"..\..\RestCredentials.xml", credentials);
            CredentialsStore credentials = CredentialsProvider.Read(@"..\..\..\RestCredentials.xml");

            RestClientManager.BasicAuthorizationUsername = credentials.BasicAuthorizationUsername;
            RestClientManager.BasicAuthorizationPassword = credentials.BasicAuthorizationPassword;
            VSOClientManager.VsoCollection = credentials.VsoCollection;

            StructuredExchangeLogger.Install();
        }
Example #2
0
 public static void AssemblyCleanup()
 {
     StructuredExchangeLogger.Uninstall();
 }