def add_test_series(self, _testclass, N=100, chooser=None, filter=None,
                                        args=None, kwargs=None):
        """Add a Test case as a series.

        The arguments must be lists of possible values for each parameter. The
        args and kwargs arguments are lists that are combined in all possible
        combinations, except pruned to N values. The pruning policy can be
        adjusted by the chooser callback, and the N value itself.

        Args:
            testclass (class): the Test class object (subclass of core.Test).

            N (integer): Maximum iterations to take from resulting set. Default
                    is 100 just to be safe.

            chooser (callable): callable that takes one number and a list
                    argument, returns a list of the specified (N) length.
                    Default is to chop off the top end of the list.

            filter (callable): callable that takes a set of arguments with the
                    same semantics as the Test.execute() method and returns True or
                    False to indicate if that combination should be included in the
                    test. You might want to set a large N if you use this.

            args (tuple): tuple of positional arguments, each argument is a list.
                                        example: args=([1,2,3], [4,5]) maps to positional
                                        argumnts of execute() method of Test class.

            kwargs (dict): Dictionary of keyword arguments, with list of values
                    as value.
                                        example: kwargs={"arg1":["a", "b", "c"]}
                                        maps to keyword arguments of execute() method of Test
                                        class.
        """
        if isinstance(_testclass, str):
            _testclass = module.get_class(_testclass)
        _testclass.set_test_options()
        testinstance = _testclass(self.config)
        try:
            entry = TestEntrySeries(testinstance, N, chooser, filter, args, kwargs)
        except __HOLE__, err: # ListCounter raises this if there is an empty list.
            self.info("addTestSeries Error: %s. Not adding %s as series." % (
                    err, _testclass.__name__))
        else:
            # series tests don't get auto-added (can't know what all the args
            # are, and even so the set could be large.)
            mysig, myargsig = entry.get_signature()
            self._multitestset.add(mysig) # only add by id.
            self._add_with_prereq(entry)
dataset/ETHPy150Open kdart/pycopia/QA/pycopia/QA/core.py/TestSuite.add_test_series