Example #1
0
        /// <summary>
        /// Adds an existing facette to the current testcase
        /// </summary>
        /// <param name="facetteName">Name of the facette to be added</param>
        /// <param name="minValues">Minimum number of values to apply each run (i.e. 2 - creates sets of at least 2 values that are passed to the apply facette function)</param>
        /// <param name="maxValues"></param>
        public static void AddFacette(string facetteName, int minValues, int maxValues)
        {
            if (theHarness == null)
            {
                var ex = new NoTestCaseBegunException();
                logger.ErrorException("Called AddFacette without beginnng a testcase!", ex);
                throw ex;
            }

            testContext.AddFacette(facetteName, minValues, maxValues);
        }