< Summary

Class:Azure.Core.TestFramework.RunFrequencyAttribute
Assembly:Azure.Core.TestFramework
File(s):C:\Git\azure-sdk-for-net\sdk\core\Azure.Core.TestFramework\src\RunFrequencyAttribute.cs
Covered lines:3
Uncovered lines:0
Coverable lines:3
Total lines:17
Line coverage:100% (3 of 3)
Covered branches:0
Total branches:0

Metrics

MethodCyclomatic complexity Line coverage Branch coverage
.ctor(...)-100%100%

File(s)

C:\Git\azure-sdk-for-net\sdk\core\Azure.Core.TestFramework\src\RunFrequencyAttribute.cs

#LineLine coverage
 1// Copyright (c) Microsoft Corporation. All rights reserved.
 2// Licensed under the MIT License.
 3
 4using System;
 5using NUnit.Framework;
 6
 7namespace Azure.Core.TestFramework
 8{
 9    [AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = true, 
 10    public class RunFrequencyAttribute : CategoryAttribute
 11    {
 43612        public RunFrequencyAttribute(RunTestFrequency frequency)
 13        {
 43614            this.categoryName = Enum.GetName(typeof(RunTestFrequency), frequency);
 43615        }
 16    }
 17}

Methods/Properties

.ctor(...)