예제 #1
0
        public void Get_Existing_Test()
        {
            var item = Api.GetTest(ApplicationID, "5", "3.1");

            Assert.AreEqual("3.1", item.Id);
            Assert.AreEqual("ShouldReturnFooWhenBarIsCalled", item.Name);
            Assert.AreEqual("Passed", item.Status);
            Assert.AreEqual("Test", item.Kind);
            Assert.AreEqual(item.Duration, TimeSpan.FromTicks(312004));

            Assert.IsNotNull(item.Tests);
            Assert.AreEqual(0, item.Tests.Count);
        }