/// <summary>
 /// The constructor is called when the attribute is set.
 /// </summary>
 /// <param name="url">The URL to the SpiraTest instance</param>
 /// <param name="login">A valid SpiraTest login</param>
 /// <param name="password">A valid SpiraTest password</param>
 /// <param name="projectId">The SpiraTest project being tested</param>
 /// <param name="releaseId">The ID of the release being tested (pass -1 to use the release associated with the test set)</param>
 /// <param name="testSetId">The ID of the test set being tested (pass -1 to not record against a test set)</param>
 /// <param name="runner">The name of the runner that should be reported back to SpiraTest</param>
 public SpiraTestConfigurationAttribute(string url, string login, string password, int projectId, int releaseId, int testSetId, RunnerName runner)
 {
     //Update the local member variables
     this.url       = url;
     this.login     = login;
     this.password  = password;
     this.projectId = projectId;
     if (releaseId == -1)
     {
         this.releaseId = null;
     }
     else
     {
         this.releaseId = releaseId;
     }
     if (testSetId == -1)
     {
         this.TestSetId = null;
     }
     else
     {
         this.TestSetId = testSetId;
     }
     this.runner = RunnerName.NUnit;
     this.runner = runner;
 }
 /// <summary>
 /// The constructor is called when the attribute is set.
 /// </summary>
 /// <param name="url">The URL to the SpiraTest instance</param>
 /// <param name="login">A valid SpiraTest login</param>
 /// <param name="password">A valid SpiraTest password</param>
 /// <param name="projectId">The SpiraTest project being tested</param>
 /// <param name="runner">The name of the runner that should be reported back to SpiraTest</param>
 public SpiraTestConfigurationAttribute(string url, string login, string password, int projectId, RunnerName runner)
 {
     //Update the local member variables
     this.url       = url;
     this.login     = login;
     this.password  = password;
     this.projectId = projectId;
     this.releaseId = null;
     this.TestSetId = null;
     this.runner    = runner;
 }