ApprovalTests.Utilities.TestCounter.Track C# (CSharp) Method

Track() public static method

public static Track ( System.Action test ) : void
test System.Action
return void
        public static void Track(Action test)
        {
            try
            {
                test();
                IncrementSuccess();
            }
            catch (Exception)
            {
                IncrementFailure();
                throw;
            }
        }
    }