コード例 #1
0
        public void SetUpSingleTest()
        {
            var(caseIds, defects) = ReadAttributesOnTest(TestContext.CurrentContext);

            var hasFilteredCase = _client.IsTestRequiredFor(caseIds);

            var stopwatch = _stopwatches.GetOrAdd(TestContext.CurrentContext.Test.ID, k => new Stopwatch());

            stopwatch.Start();

            if (!hasFilteredCase)
            {
                Assert.Ignore();
            }
        }