Ejemplo n.º 1
0
        /// <summary>
        /// Evaluate the function for each failing test. <para></para>
        /// Your function can rely on anything such as an environment variable or a file on the file system. <para></para>
        /// If you only want to do this evaluation once pr. test suite execution you should wrap your function in a <see cref="Lazy"/>
        /// </summary>
        public Configuration SetAutomaticTestRewrite(TestRewriteIndicator indicator)
        {
            if (indicator == null)
            {
                throw new ArgumentNullException("indicator");
            }
            AutomaticTestRewrite = indicator;

            return(configuration);
        }
Ejemplo n.º 2
0
        /// <summary>
        /// Evaluate the function for each failing test. <para></para>
        /// Your function can rely on anything such as an environment variable or a file on the file system. <para></para> 
        /// If you only want to do this evaluation once pr. test suite execution you should wrap your function in a <see cref="Lazy"/>
        /// </summary>
        public Configuration SetAutomaticTestRewrite(TestRewriteIndicator indicator)
        {
            if (indicator == null)
                throw new ArgumentNullException("indicator");
            AutomaticTestRewrite = indicator;

            return configuration;
        }