def initialize_options(self): test.initialize_options(self) self.xml_output = None self.xml_output_file = None self.coverage_summary = None self.coverage_dir = None self.coverage_method = 'trace'
def initialize_options(self): TestCommand.initialize_options(self) self.pytest_args = [ '--doctest-modules', '--strict', # '--fulltrace', # useful for debugging ]
def initialize_options(self): TestCommand.initialize_options(self) self.pytest_args = [ 'Tests', '--cov=Robinhood/', '--cov-report=term-missing' ] #load defaults here
def initialize_options(self): orig_test.initialize_options(self) self.verbosity = None self.failfast = None self.reverse = None # self.args is needed because of the above "command_consumes_arguments" class attribute. self.args = None
def initialize_options(self): TestCommand.initialize_options(self) self.pytest_args = [] logging.basicConfig(format='%(levelname)-10s %(message)s') logging.getLogger().setLevel(logging.INFO) # if we have pytest-cache module we enable the test failures first mode try: import pytest_cache self.pytest_args.append("--ff") except ImportError: pass self.pytest_args.append("-s") if sys.stdout.isatty(): # when run manually we enable fail fast self.pytest_args.append("--maxfail=1") try: import coveralls self.pytest_args.append("--cov=%s" % NAME) self.pytest_args.extend(["--cov-report", "term"]) self.pytest_args.extend(["--cov-report", "xml"]) except ImportError: pass
def initialize_options(self): TestCommand.initialize_options(self) self.pytest_args = [ '--doctest-glob=tests/*.md', '--cov=delphin', '--cov-report=html' ]
def initialize_options(self): TestCommand.initialize_options(self) self.cov = None self.pytest_args = ['--cov', 'lizzy', '--cov-report', 'term-missing', '--cov-report', 'xml', '-v']
def initialize_options(self): TestCommand.initialize_options(self) self.pytest_default_args = ('--cov-config=.coveragerc ' '--cov=leadrouter ' '--cov-report=term-missing ' '--tb=short ') self.pytest_args = []
def initialize_options(self): TestCommand.initialize_options(self) self.cov = None self.pytest_args = ['--cov', MAIN_PACKAGE, '--cov-report', 'term-missing', '--doctest-modules', '-s', '-v', '--ignore', 'tests/plugins'] self.cov_html = False
def initialize_options(self): TestCommand.initialize_options(self) self.pytest_args = [ '--pep8', '--flakes', '--cov=errcron', ]
def initialize_options(self): TestCommand.initialize_options(self) try: from multiprocessing import cpu_count self.pytest_args = ['-n', str(cpu_count()), '--boxed'] except (ImportError, NotImplementedError): self.pytest_args = ['-n', '1', '--boxed']
def initialize_options(self): TestCommand.initialize_options(self) self.cov = None self.cov_xml = False self.cov_html = False self.junitxml = None self.twisted = False
def initialize_options(self): TestCommand.initialize_options(self) # -rw turns on printing warnings. To see stack trace from # KeyboardInterrupt, add --fulltrace but it also makes the # traces huge by showing source code for each frame, so not # adding it by default. # To see stdout "live" instead of capturing it, use -s. coverage_args = ['--cov-config', os.path.join(ROOT, ".coveragerc"), '--cov=conda_kapsel', '--cov-report=term-missing', '--cov-report=html', '--cov-fail-under=100', '--no-cov-on-fail'] if PY2: # xdist appears to lock up the test suite with python # 2, maybe due to an interaction with coverage enable_xdist = [] else: # Recent conda downright explodes if run from multiple processes at once, # so skip xdist until we add our own locking layer or something. enable_xdist = [] # enable_xdist = ['-n', str(CPU_COUNT)] self.pytest_args = ['-rfew', '--durations=10'] + enable_xdist # 100% coverage on Windows requires us to do extra mocks because generally Windows # can't run all the servers, such as redis-server. So we relax the coverage requirement # for Windows only. if platform.system() != 'Windows': self.pytest_args = self.pytest_args + coverage_args self.pyfiles = None self.git_staged_pyfiles = None self.failed = [] self.format_only = False self.git_staged_only = False self.profile_formatting = False
def initialize_options(self): TestCommand.initialize_options(self) self.cov = None self.cov_xml = False self.cov_html = False self.junitxml = None self.clearcache = False
def initialize_options(self): self.distribution.verbose = 0 TestCommand.initialize_options(self) self.verbose = 0 self.with_coverage = None self.with_xml_coverage = None self.with_xml_junit = None self.pytest_args = []
def initialize_options(self): TestCommand.initialize_options(self) self.pytest_args = [ '-v', '--cov', 'gitlabtojenkins', '--cov-report', 'html', '--cov-report', 'xml', 'tests' ]
def initialize_options(self): TestCommand.initialize_options(self) self.pytest_args = set() self.exitfirst = False self.last_failed = False self.verbose = 0 self.pdb = False self.flakes = False
def initialize_options(self): TestCommand.initialize_options(self) self.pytest_args = [ '--cov-config', '.coveragerc', '--cov-report', 'html', '--cov=hfut_stu_lib', 'tests/', '--doctest-modules' ]
def initialize_options(self): TestCommand.initialize_options(self) self.pytest_args = [ '-rxs', 'tests', '--cov=publicAPI/', '--cov-report=term-missing', '--cov-config=.coveragerc', ]
def initialize_options(self): TestCommand.initialize_options(self) try: from ConfigParser import ConfigParser except ImportError: from configparser import ConfigParser config = ConfigParser() config.read('pytest.ini') self.pytest_args = config.get('pytest', 'addopts').split(' ')
def initialize_options(self): TestCommand.initialize_options(self) try: from ConfigParser import ConfigParser except ImportError: from configparser import ConfigParser config = ConfigParser() config.read("pytest.ini") self.pytest_args = config.get("pytest", "addopts").split(" ")
def initialize_options(self): """Init pytest.""" TestCommand.initialize_options(self) self.pytest_args = [] from ConfigParser import ConfigParser config = ConfigParser() config.read('pytest.ini') self.pytest_args = config.get('pytest', 'addopts').split(' ')
def initialize_options(self): TestCommand.initialize_options(self) self.test_pythonpath = None self.test_string = None self.test_marker = None self.test_path = 'test' self.test_failfast = False self.test_quiet = False self.test_verbose = False self.junitxml = None self.pdb = False
def initialize_options(self): """ Add attributes for new commandline options and set test_loader """ TestCommand.initialize_options(self) self.test_filterm = None self.test_filterf = None self.test_xmlrunner = None self.test_loader = '%s:%s' % (self.TEST_LOADER_CLASS.TEST_LOADER_MODULE, self.TEST_LOADER_CLASS.__name__) log.info("test_loader set to %s" % self.test_loader)
def initialize_options(self): """init pytest.""" testcommand.initialize_options(self) self.pytest_args = [] try: from ConfigParser import ConfigParser except ImportError: from ConfigParser import ConfigParser config = ConfigParser() config.read("setup.cfg") self.pytest_args = config.get("pytest", "addopts").split(" ")
def initialize_options(self): TestCommand.initialize_options(self) self.cov = None self.pytest_args = ['--cov', 'connexion', '--cov-report', 'term-missing', '-v'] if sys.version_info[0] < 3: self.pytest_args.append('--cov-config=py2-coveragerc') self.pytest_args.append('--ignore=tests/aiohttp') else: self.pytest_args.append('--cov-config=py3-coveragerc') self.cov_html = False
def initialize_options(self): """Set additional options.""" TestCommand.initialize_options(self) self.pytest_args = [] try: from ConfigParser import ConfigParser except ImportError: from configparser import ConfigParser config = ConfigParser() config.read("pytest.ini") self.pytest_args = config.get("pytest", "addopts").split(" ") self.pytest_args.append("tests") self.pytest_args.append("obelix_client")
def initialize_options(self): TestCommand.initialize_options(self) self.test_pythonpath = None self.test_ice_config = None self.test_string = None self.test_marker = None self.test_path = None self.test_no_capture = False self.test_failfast = False self.test_quiet = False self.test_verbose = False self.junitxml = None self.pdb = False self.markers = False
def initialize_options(self): TestCommand.initialize_options(self) self.cov = None self.pytest_args = [ "--cov", MAIN_PACKAGE, "--cov-report", "term-missing", "--doctest-modules", "-s", "-v", "--ignore", "tests/plugins", ] self.cov_html = False
def initialize_options(self): TestCommand.initialize_options(self) self.pytest_args = [] FORMAT = '%(levelname)-10s %(message)s' logging.basicConfig(format=FORMAT) logging.getLogger().setLevel(logging.INFO) # if we have pytest-cache module we enable the test failures first mode try: import pytest_cache # noqa self.pytest_args.append("--ff") except ImportError: pass self.pytest_args.append("-s") if sys.stdout.isatty(): # when run manually we enable fail fast self.pytest_args.append("--maxfail=1")
def initialize_options(self): TestCommand.initialize_options(self) self.tox_args = ''
def initialize_options(self): test.initialize_options(self) self.pytest_args = "-v --cov={}".format("mutmut")
def initialize_options(self): TestCommand.initialize_options(self) self.cov = None self.cov_xml = False self.cov_html = False self.junitxml = None
def initialize_options(self): TestCommand.initialize_options(self) self.cov = None self.cov_report = None self.junitxml = None
def initialize_options(self): TestCommand.initialize_options(self) self.pytest_args = ['--cov-report=term', '--cov=aws_okta_keyman']
def initialize_options(self): """Initialize options.""" TestCommand.initialize_options(self) self.tox_args = None
def initialize_options(self): test_command.initialize_options(self) self.pytest_args = ""
def initialize_options(self): """Initialize options and set their defaults.""" TestCommand.initialize_options(self) self.tox_args = ''
def initialize_options(self): TestCommand.initialize_options(self) self.pytest_args = []
def initialize_options(self): TestCommand.initialize_options(self) self.pytest_args = ['--cov', find_packages('src')]
def initialize_options(self): TestCommand.initialize_options(self) self.pytest_args = ['--cov-report=term-missing']
def initialize_options(self): TestCommand.initialize_options(self) self.pytest_args = [] # pylint: disable=W0201
def initialize_options(self): TestCommand.initialize_options(self) self.pytest_args = 'tests django_extensions --ds=tests.testapp.settings --cov=django_extensions --cov-report html --cov-report term'
def initialize_options(self): test.initialize_options(self) self.tox_args = '-v'
def initialize_options(self): TestCommand.initialize_options(self) self.pytest_args = [ 'tests/', '-rx' ] #load defaults here
def initialize_options(self): TestCommand.initialize_options(self) self.pytest_args = ['--cov', PROJECT_NAME]
def initialize_options(self): test.initialize_options(self) self.pytest_args = []
def initialize_options(self): self.args = [] TestCommand.initialize_options(self)
def initialize_options(self): TestCommand.initialize_options(self) # self.pytest_args = '--pyargs iminuit' # self.pytest_args = ['--strict', '--verbose', '--tb=long', 'tests'] self.pytest_args = ''
def initialize_options(self): TestCommand.initialize_options(self) self.pytest_args = ['src/test_mongolock.py']
def initialize_options(self): TestCommand.initialize_options(self) self.tests_base = None
def initialize_options(self): self.with_coverage = False test.initialize_options(self)
def initialize_options(self): test_command.initialize_options(self) self.tox_args = None
def initialize_options(self): TestCommand.initialize_options(self) self.cov = None
def initialize_options(self): TestCommand.initialize_options(self)