Module ImportFrom alias alias alias alias alias alias alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias identifier ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str Num Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore IfExp CompareEq Call NameLoad NameLoad Num BinOpAdd Str SubscriptLoad NameLoad Index Num Str If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Return TupleLoad TupleLoad NameLoad NameLoad NameLoad orelse Return TupleLoad NameLoad TupleLoad NameLoad NameLoad decorator_list ClassDef bases NameLoad NameLoad NameLoad body Expr Str Assign NameStore Str FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad Expr Call NameLoad Str keyword NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr keyword Str Expr Call NameLoad Str keyword NameLoad keyword Str Expr Call NameLoad Str keyword NameLoad keyword Str Expr Call NameLoad Str keyword NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword Str Expr Call NameLoad Str keyword NameLoad keyword NameLoad keyword Str keyword Str keyword Str Expr Call NameLoad Str keyword NameLoad keyword NameLoad keyword Num keyword Str Expr Call NameLoad Str keyword NameLoad keyword Str Expr Call NameLoad Str keyword ListLoad Str Str Str keyword Str keyword Str Expr Call NameLoad Str keyword NameLoad keyword Str Expr Call NameLoad Str keyword NameLoad keyword NameLoad keyword Str Expr Call NameLoad Str keyword NameLoad keyword NameLoad keyword Str Expr Call NameLoad Str keyword NameLoad keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr NameLoad Str keyword ListLoad Call NameLoad keyword Str keyword Str keyword Str keyword AttributeLoad NameLoad attr keyword ListLoad Call AttributeLoad NameLoad attr Str keyword NameLoad Call AttributeLoad NameLoad attr Str keyword NameLoad Call AttributeLoad NameLoad attr Str keyword NameLoad Call AttributeLoad NameLoad attr Str keyword NameLoad For NameStore ListLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return BinOpAdd Call AttributeLoad Call NameLoad NameLoad NameLoad attr TupleLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str For NameStore NameLoad body Assign TupleStore NameStore NameStore Call NameLoad NameLoad If NameLoad body Return NameLoad Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str If Call AttributeLoad NameLoad attr BoolOpOr AttributeLoad NameLoad attr ListLoad body Expr Call AttributeLoad NameLoad attr Str decorator_list NameLoad FunctionDef arguments args NameParam defaults vararg kwarg body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad If BoolOpOr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str body Assign NameStore AttributeLoad NameLoad attr If CompareEq NameLoad Str body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad NameLoad orelse Raise Call NameLoad Call AttributeLoad Str attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr BoolOpOr AttributeLoad NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr If CompareEq AttributeLoad NameLoad attr Str body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str orelse If CompareEq AttributeLoad NameLoad attr Str body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str If CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str orelse If CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str orelse If CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str Raise Call NameLoad orelse If CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Pass Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Return Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr ListComp AttributeLoad NameLoad attr comprehension NameStore NameLoad Call NameLoad NameLoad NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad vararg kwarg body Expr Str Assign NameStore BoolOpOr NameLoad Call NameLoad NameLoad Return Call AttributeLoad NameLoad attr keyword NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults vararg kwarg body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore BoolOpOr Call AttributeLoad NameLoad attr Str Call NameLoad NameLoad Return Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad vararg kwarg body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore BoolOpOr NameLoad Call NameLoad NameLoad Return Call AttributeLoad NameLoad attr keyword NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad Call NameLoad Call AttributeLoad NameLoad attr NameLoad If BoolOpAnd NameLoad AttributeLoad NameLoad attr body Assign NameStore Dict Assign NameStore ListLoad For NameStore Call AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Str Index Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIs NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad orelse Assign SubscriptStore NameLoad Index NameLoad NameLoad If CompareGt Call NameLoad NameLoad Num body Raise Call NameLoad Call AttributeLoad Str attr Call AttributeLoad Str attr NameLoad Return NameLoad orelse Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str FunctionDef arguments args NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Call AttributeLoad Str attr Call AttributeLoad NameLoad attr Str Str decorator_list Assign NameStore Call NameLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body If CompareIs NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Call AttributeLoad Str attr NameLoad Assign NameStore NameLoad For NameStore Call AttributeLoad NameLoad attr Str body Assign NameStore Call NameLoad NameLoad If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Assign SubscriptStore NameLoad Index NameLoad NameLoad Break orelse Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Str Num Index Num Assign NameStore Call NameLoad NameLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Str Str Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Str Str If BoolOpAnd NameLoad BoolOpOr NameLoad NameLoad body For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str If BoolOpOr NameLoad NameLoad body Expr Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr Call AttributeLoad Str attr keyword Call AttributeLoad NameLoad attr Str keyword Call AttributeLoad NameLoad attr Str handlers ExceptHandler type TupleLoad AttributeLoad NameLoad attr NameLoad name NameStore body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Call AttributeLoad Str attr NameLoad NameLoad Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If AttributeLoad NameLoad attr body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr orelse Assign NameStore ListLoad Assign NameStore TupleLoad Assign NameStore TupleLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Lambda arguments args NameParam defaults AttributeLoad NameLoad attr Lambda arguments args NameParam defaults AttributeLoad AttributeLoad NameLoad attr attr Lambda arguments args NameParam defaults AttributeLoad AttributeLoad NameLoad attr attr Lambda arguments args NameParam defaults AttributeLoad NameLoad attr Lambda arguments args NameParam defaults AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str Assign NameStore Num For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Assign TupleStore NameStore NameStore NameStore NameStore NameStore NameStore NameLoad For NameStore Call AttributeLoad NameLoad attr NameLoad body Assign NameStore Call NameLoad Call NameLoad AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad AttributeLoad NameLoad attr Assign NameStore BinOpAdd AttributeLoad NameLoad attr ListLoad Str If CompareEq NameLoad AttributeLoad NameLoad attr body Assign NameStore Call NameLoad NameLoad Str orelse If CompareEq NameLoad AttributeLoad NameLoad attr body Assign NameStore Call NameLoad NameLoad Str orelse If CompareEq NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str orelse If CompareEq NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Call AttributeLoad Str attr NameLoad Assign NameStore Call NameLoad NameLoad Str Assign NameStore Call NameLoad NameLoad Str If CompareIsNot NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad Str keyword NameLoad AugAssignAdd NameStore ListLoad Str Call NameLoad NameLoad With Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameStore body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Call AttributeLoad Str attr NameLoad With Call NameLoad Call NameLoad NameLoad body AugAssignAdd NameStore Call NameLoad Call AttributeLoad NameLoad attr keyword Call NameLoad NameLoad keyword NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr keyword BinOpAdd BinOpAdd AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad keyword BinOpAdd NameLoad NameLoad keyword AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword ListLoad AttributeLoad NameLoad attr keyword NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr If BoolOpAnd CompareNotEq NameLoad Num AttributeLoad NameLoad attr body Break If CompareNotEq NameLoad Num body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad keyword Lambda arguments args NameParam defaults AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore ListLoad If AttributeLoad NameLoad attr body For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr BinOpMult Str Num AttributeLoad AttributeLoad NameLoad attr attr For NameStore Call NameLoad SubscriptLoad NameLoad Index NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr BinOpMult Str Num NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr keyword AttributeLoad NameLoad attr keyword NameLoad keyword Call NameLoad NameLoad keyword Call NameLoad Call NameLoad NameLoad Str Raise Call NameLoad Call AttributeLoad Str attr NameLoad keyword Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareIsNot AttributeLoad NameLoad attr NameLoad body Return AttributeLoad NameLoad attr Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Expr Call AttributeLoad SubscriptLoad NameLoad Index Call NameLoad NameLoad attr NameLoad Return DictComp NameLoad Call NameLoad NameLoad comprehension TupleStore NameStore NameStore Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults vararg body FunctionDef arguments args NameParam defaults body Return Call NameLoad GeneratorExp Call NameLoad NameLoad comprehension NameStore NameLoad decorator_list Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad AttributeLoad NameLoad attr Call NameLoad NameLoad For NameStore Call NameLoad Num Call NameLoad NameLoad NameLoad body Expr Yield SubscriptLoad NameLoad Slice NameLoad BinOpAdd NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body For NameStore AttributeLoad NameLoad attr body Assign TupleStore NameStore NameStore Call NameLoad NameLoad If NameLoad body Assign TupleStore NameStore NameStore NameLoad For NameStore Call AttributeLoad NameLoad attr NameLoad body Expr Yield BinOpAdd NameLoad NameLoad orelse Assign TupleStore NameStore NameStore NameLoad Expr Yield BinOpAdd NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad keyword AttributeLoad NameLoad attr For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If NameLoad body Expr Yield TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str attr NameLoad If UnaryOpNot NameLoad body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Call AttributeLoad Str attr NameLoad orelse For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body For NameStore NameLoad body Expr Yield Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam defaults body Return Call NameLoad NameLoad NameLoad decorator_list Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If BoolOpAnd UnaryOpNot AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr UnaryOpNot AttributeLoad Call AttributeLoad NameLoad attr attr body Assign NameStore Str Raise Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Return FunctionDef arguments args defaults body Return Call AttributeLoad NameLoad attr NameLoad decorator_list Expr Call AttributeLoad AttributeLoad NameLoad attr attr If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults NameLoad body If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad decorator_list TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad keyword NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call NameLoad keyword NameLoad Raise decorator_list decorator_list
N/A __future__ absolute_import division generators nested_scopes print_function unicode_literals with_statement N/A copy N/A os N/A sys collections defaultdict six.moves range twitter.common.collections OrderedSet pants.backend.jvm.subsystems.jvm_platform JvmPlatform pants.backend.jvm.subsystems.shader Shader pants.backend.jvm.targets.jar_dependency JarDependency pants.backend.jvm.targets.java_tests JavaTests junit_tests pants.backend.jvm.targets.jvm_target JvmTarget pants.backend.jvm.tasks.classpath_util ClasspathUtil pants.backend.jvm.tasks.coverage.base Coverage pants.backend.jvm.tasks.coverage.cobertura Cobertura CoberturaTaskSettings pants.backend.jvm.tasks.jvm_task JvmTask pants.backend.jvm.tasks.jvm_tool_task_mixin JvmToolTaskMixin pants.base.build_environment get_buildroot pants.base.exceptions TargetDefinitionException TaskError TestFailedTaskError pants.base.workunit WorkUnitLabel pants.binaries binary_util pants.build_graph.target_scopes Scopes pants.java.distribution.distribution DistributionLocator pants.java.executor SubprocessExecutor pants.task.testrunner_task_mixin TestRunnerTaskMixin pants.util.argutil ensure_arg remove_arg pants.util.contextutil environment_as pants.util.strutil pluralize pants.util.xml_parser XmlParser _classfile_to_classname N/A N/A cls N/A N/A N/A N/A N/A ClasspathUtil classname_for_rel_classfile cls N/A interpret_test_spec N/A N/A test_spec N/A N/A N/A Parses a test spec string.

  Returns either a (sourcefile,method) on the left, or a (classname,method) on the right.
   N/A components N/A N/A test_spec split # 2 N/A classname_or_srcfile N/A components N/A 0 N/A methodname N/A N/A N/A len components 2 N/A # N/A components N/A 1 N/A N/A N/A N/A os path exists classname_or_srcfile N/A N/A N/A N/A classname_or_srcfile methodname None N/A N/A N/A None N/A classname_or_srcfile methodname N/A JUnitRun N/A TestRunnerTaskMixin JvmToolTaskMixin JvmTask N/A N/A 
  :API: public
   N/A _MAIN org.pantsbuild.tools.junit.ConsoleRunner register_options N/A N/A cls register N/A N/A N/A N/A N/A N/A super JUnitRun cls register_options register N/A N/A register --batch-size advanced True type int default N/A sys maxint help Run at most this many tests in a single test process. N/A N/A register --test type list help Force running of just these tests.  Tests can be specified using any of: [classname], [classname]#[methodname], [filename] or [filename]#[methodname] N/A N/A register --per-test-timer type bool help Show progress and timer for each test. N/A N/A register --default-concurrency advanced True choices N/A junit_tests VALID_CONCURRENCY_OPTS default N/A junit_tests CONCURRENCY_SERIAL help Set the default concurrency mode for running tests not annotated with @TestParallel or @TestSerial. N/A N/A register --default-parallel advanced True type bool removal_hint Use --concurrency instead. removal_version 1.1.0 help Run classes without @TestParallel or @TestSerial annotations in parallel. N/A N/A register --parallel-threads advanced True type int default 0 help Number of threads to run tests in parallel. 0 for autoset. N/A N/A register --test-shard advanced True help Subset of tests to run, in the form M/N, 0 <= M < N. For example, 1/3 means run tests number 2, 5, 8, 11, ... N/A N/A register --output-mode choices N/A ALL FAILURE_ONLY NONE default NONE help Specify what part of output should be passed to stdout. In case of FAILURE_ONLY and parallel tests execution output can be partial or even wrong. All tests output also redirected to files in .pants.d/test/junit. N/A N/A register --cwd advanced True help Set the working directory. If no argument is passed, use the build root. If cwd is set on a target, it will supersede this argument. N/A N/A register --strict-jvm-version type bool advanced True help If true, will strictly require running junits with the same version of java as the platform -target level. Otherwise, the platform -target level will be treated as the minimum jvm to run. N/A N/A register --failure-summary type bool default True help If true, includes a summary of which test-cases failed at the end of a failed junit run. N/A N/A register --allow-empty-sources type bool advanced True help Allows a junit_tests() target to be defined with no sources.  Otherwise,such a target will raise an error during the test run. N/A N/A N/A cls register_jvm_tool register junit classpath N/A N/A JarDependency org org.pantsbuild name junit-runner rev 1.0.5 main N/A JUnitRun _MAIN custom_rules N/A N/A N/A Shader exclude_package junit.framework recursive True N/A N/A Shader exclude_package org.junit recursive True N/A N/A Shader exclude_package org.hamcrest recursive True N/A N/A Shader exclude_package org.pantsbuild.junit.annotations recursive True N/A c N/A Coverage Cobertura N/A N/A N/A N/A c register_options register N/A cls register_jvm_tool N/A classmethod subsystem_dependencies N/A N/A cls N/A N/A N/A N/A N/A N/A N/A super JUnitRun cls subsystem_dependencies N/A DistributionLocator N/A classmethod request_classes_by_source N/A N/A cls test_specs N/A N/A N/A Returns true if the given test specs require the `classes_by_source` product to satisfy. N/A test_spec test_specs N/A N/A N/A src_spec _ N/A interpret_test_spec test_spec N/A src_spec N/A N/A True N/A False N/A classmethod prepare N/A N/A cls options round_manager N/A N/A N/A N/A N/A N/A super JUnitRun cls prepare options round_manager N/A N/A N/A round_manager require_data runtime_classpath N/A N/A N/A cls request_classes_by_source N/A N/A options test N/A N/A N/A N/A N/A round_manager require_data classes_by_source N/A classmethod __init__ N/A N/A self N/A args kwargs N/A N/A N/A N/A N/A super JUnitRun self __init__ args kwargs N/A options N/A N/A self get_options N/A N/A self _coverage None N/A N/A N/A options coverage N/A N/A options is_flagged coverage_open N/A N/A coverage_processor N/A options coverage_processor N/A N/A coverage_processor cobertura N/A N/A settings N/A N/A CoberturaTaskSettings from_task self N/A N/A self _coverage N/A Cobertura settings N/A N/A N/A TaskError N/A N/A unknown coverage processor {0} format coverage_processor N/A N/A self _tests_to_run N/A options test N/A N/A self _batch_size N/A options batch_size N/A N/A self _fail_fast N/A options fail_fast N/A N/A self _working_dir N/A N/A options cwd N/A get_buildroot N/A N/A self _strict_jvm_version N/A options strict_jvm_version N/A N/A self _args N/A N/A copy copy N/A self args N/A N/A self _failure_summary N/A options failure_summary N/A N/A N/A options output_mode ALL N/A N/A N/A N/A N/A self _args append -output-mode=ALL N/A N/A N/A N/A options output_mode FAILURE_ONLY N/A N/A N/A N/A N/A self _args append -output-mode=FAILURE_ONLY N/A N/A N/A N/A N/A self _args append -output-mode=NONE N/A N/A self _fail_fast N/A N/A N/A N/A N/A self _args append -fail-fast N/A N/A N/A N/A self _args append -outdir N/A N/A N/A N/A self _args append N/A self workdir N/A N/A options per_test_timer N/A N/A N/A N/A N/A self _args append -per-test-timer N/A N/A options default_parallel N/A N/A N/A N/A N/A self _args append -default-parallel N/A N/A N/A options default_concurrency N/A junit_tests CONCURRENCY_PARALLEL_BOTH N/A N/A N/A N/A N/A N/A self context log warn --default-concurrency=PARALLEL_BOTH is experimental. N/A N/A N/A N/A self _args append -default-parallel N/A N/A N/A N/A self _args append -parallel-methods N/A N/A N/A N/A options default_concurrency N/A junit_tests CONCURRENCY_PARALLEL_CLASSES N/A N/A N/A N/A N/A self _args append -default-parallel N/A N/A N/A N/A options default_concurrency N/A junit_tests CONCURRENCY_PARALLEL_METHODS N/A N/A N/A N/A N/A N/A self context log warn --default-concurrency=PARALLEL_METHODS is not implemented. N/A N/A NotImplementedError N/A N/A N/A N/A options default_concurrency N/A junit_tests CONCURRENCY_SERIAL N/A N/A N/A N/A N/A N/A self _args append -parallel-threads N/A N/A N/A N/A self _args append N/A str N/A options parallel_threads N/A N/A options test_shard N/A N/A N/A N/A N/A self _args append -test-shard N/A N/A N/A N/A self _args append N/A options test_shard N/A classpath N/A N/A self targets classpath_product N/A None N/A N/A N/A N/A N/A super JUnitRun self classpath targets classpath_product classpath_product include_scopes N/A Scopes JVM_TEST_SCOPES N/A preferred_jvm_distribution_for_targets N/A N/A self targets N/A N/A N/A N/A N/A JvmPlatform preferred_jvm_distribution N/A N/A target platform N/A target targets N/A isinstance target JvmTarget N/A self _strict_jvm_version N/A _spawn N/A N/A self distribution executor N/A None args kwargs N/A N/A Returns a processhandler to a process executing java.

    :param Executor executor: the java subprocess executor to use. If not specified, construct
      using the distribution.
    :param Distribution distribution: The JDK or JRE installed.
    :rtype: ProcessHandler
     N/A actual_executor N/A executor N/A SubprocessExecutor distribution N/A N/A N/A distribution execute_java_async executor actual_executor args kwargs N/A execute_java_for_targets N/A N/A self targets N/A args kwargs N/A N/A Execute java for targets using the test mixin spawn and wait.

    Activates timeouts and other common functionality shared among tests.
     N/A distribution N/A N/A self preferred_jvm_distribution_for_targets targets N/A actual_executor N/A N/A N/A kwargs get executor N/A SubprocessExecutor distribution N/A N/A N/A self _spawn_and_wait executor actual_executor distribution distribution args kwargs N/A execute_java_for_coverage N/A N/A self targets executor N/A None args kwargs N/A N/A Execute java for targets directly and don't use the test mixin.

    This execution won't be wrapped with timeouts and other testmixin code common
    across test targets. Used for coverage instrumentation.
     N/A distribution N/A N/A self preferred_jvm_distribution_for_targets targets N/A actual_executor N/A executor N/A SubprocessExecutor distribution N/A N/A N/A distribution execute_java executor actual_executor args kwargs N/A _collect_test_targets N/A N/A self targets N/A N/A N/A Returns a mapping from test names to target objects for all tests that are included in targets.

    If self._tests_to_run is set, return {test: None} for these tests instead.
     N/A tests_from_targets N/A dict N/A list N/A N/A self _calculate_tests_from_targets targets N/A N/A targets N/A self _tests_to_run N/A N/A tests_with_targets N/A N/A unknown_tests N/A N/A test N/A N/A self _get_tests_to_run N/A N/A test_class_name N/A N/A N/A test partition # N/A 0 N/A target N/A N/A tests_from_targets get test_class_name N/A N/A target None N/A N/A N/A N/A unknown_tests append test N/A N/A N/A tests_with_targets N/A test target N/A N/A N/A len unknown_tests 0 N/A N/A N/A TaskError N/A N/A No target found for test specifier(s):

  '{}'

Please change specifier or bring in the proper target(s). format N/A N/A '
  ' join unknown_tests N/A tests_with_targets N/A N/A tests_from_targets N/A _get_failed_targets N/A N/A self tests_and_targets N/A N/A N/A Return a mapping of target -> set of individual test cases that failed.

    Targets with no failed tests are omitted.

    Analyzes JUnit XML files to figure out which test had failed.

    The individual test cases are formatted strings of the form org.foo.bar.classname#methodName.

    :tests_and_targets: {test: target} mapping.
     get_test_filename N/A N/A test_class_name N/A N/A N/A N/A N/A N/A os path join N/A self workdir N/A N/A TEST-{0}.xml format N/A N/A test_class_name replace $ - N/A N/A xml_filenames_to_targets N/A defaultdict N/A N/A test target N/A N/A tests_and_targets items N/A N/A N/A target None N/A N/A N/A N/A N/A N/A self context log warn N/A N/A Unknown target for test %{0} format test N/A test_class_name test N/A _part N/A N/A test split $ N/A N/A filename N/A get_test_filename test_class_name N/A N/A N/A N/A os path exists filename N/A N/A N/A xml_filenames_to_targets N/A filename target N/A N/A N/A test_class_name N/A N/A N/A test_class_name rsplit $ 1 N/A 0 N/A failed_targets N/A defaultdict set N/A N/A xml_filename target N/A N/A xml_filenames_to_targets items N/A N/A N/A N/A xml N/A N/A XmlParser from_file xml_filename N/A failures N/A int N/A N/A xml get_attribute testsuite failures N/A errors N/A int N/A N/A xml get_attribute testsuite errors N/A N/A target N/A failures errors N/A N/A testcase N/A N/A N/A xml parsed getElementsByTagName testcase N/A N/A test_failed N/A N/A testcase getElementsByTagName failure N/A test_errored N/A N/A testcase getElementsByTagName error N/A N/A test_failed test_errored N/A N/A N/A N/A N/A failed_targets N/A target add N/A N/A {testclass}#{testname} format testclass N/A N/A testcase getAttribute classname testname N/A N/A testcase getAttribute name N/A N/A N/A N/A N/A XmlParser XmlError ValueError N/A e N/A N/A N/A N/A N/A N/A self context log error N/A N/A Error parsing test result file {0}: {1} format xml_filename e N/A N/A dict failed_targets N/A _run_tests N/A N/A self tests_to_targets N/A N/A N/A N/A self _coverage N/A N/A extra_jvm_options N/A N/A self _coverage extra_jvm_options N/A classpath_prepend N/A N/A self _coverage classpath_prepend N/A classpath_append N/A N/A self _coverage classpath_append N/A N/A extra_jvm_options N/A N/A classpath_prepend N/A N/A classpath_append N/A N/A tests_by_properties N/A N/A self _tests_by_properties tests_to_targets N/A self _infer_workdir N/A N/A N/A target N/A N/A target test_platform N/A N/A N/A target N/A N/A N/A target payload extra_jvm_options N/A N/A N/A target N/A N/A N/A target payload extra_env_vars N/A N/A N/A target N/A N/A target concurrency N/A N/A N/A target N/A N/A target threads N/A classpath_product N/A N/A N/A N/A self context products get_data instrument_classpath N/A result 0 N/A N/A properties tests N/A N/A tests_by_properties items N/A N/A N/A workdir platform target_jvm_options target_env_vars concurrency threads properties N/A batch N/A N/A self _partition tests N/A N/A relevant_targets N/A set N/A map N/A tests_to_targets get batch N/A complete_classpath N/A OrderedSet N/A N/A N/A complete_classpath update classpath_prepend N/A N/A N/A complete_classpath update N/A N/A self tool_classpath junit N/A N/A N/A complete_classpath update N/A N/A self classpath relevant_targets classpath_product classpath_product N/A N/A N/A complete_classpath update classpath_append N/A distribution N/A N/A JvmPlatform preferred_jvm_distribution N/A platform N/A self _strict_jvm_version N/A args N/A N/A self _args N/A -xmlreport N/A N/A concurrency N/A junit_tests CONCURRENCY_SERIAL N/A N/A args N/A remove_arg args -default-parallel N/A N/A N/A concurrency N/A junit_tests CONCURRENCY_PARALLEL_CLASSES N/A N/A args N/A ensure_arg args -default-parallel N/A N/A N/A concurrency N/A junit_tests CONCURRENCY_PARALLEL_METHODS N/A N/A N/A N/A N/A N/A self context log warn Not implemented: parallel_methods N/A N/A N/A concurrency N/A junit_tests CONCURRENCY_PARALLEL_BOTH N/A N/A N/A N/A N/A N/A self context log warn N/A N/A specifying {} is experimental. format concurrency N/A args N/A ensure_arg args -default-parallel N/A args N/A ensure_arg args -parallel-methods N/A N/A threads None N/A N/A args N/A remove_arg args -parallel-threads has_param True N/A args N/A -parallel-threads N/A str threads N/A N/A N/A binary_util safe_args batch N/A N/A self get_options batch_tests N/A N/A N/A N/A N/A N/A self context log debug N/A N/A CWD = {} format workdir N/A N/A N/A N/A N/A self context log debug N/A N/A platform = {} format platform N/A N/A environment_as N/A dict target_env_vars N/A N/A result N/A abs N/A N/A self _spawn_and_wait executor N/A SubprocessExecutor distribution distribution distribution classpath complete_classpath main N/A JUnitRun _MAIN jvm_options N/A N/A N/A self jvm_options extra_jvm_options N/A list target_jvm_options args N/A args batch_tests workunit_factory N/A N/A self context new_workunit workunit_name run workunit_labels N/A N/A WorkUnitLabel TEST cwd workdir synthetic_jar_dir N/A self workdir create_synthetic_jar N/A self synthetic_classpath N/A N/A N/A result 0 N/A self _fail_fast N/A N/A N/A N/A result 0 N/A N/A failed_targets_and_tests N/A N/A self _get_failed_targets tests_to_targets N/A failed_targets N/A sorted failed_targets_and_tests key N/A N/A N/A target N/A N/A N/A target address spec N/A error_message_lines N/A N/A N/A self _failure_summary N/A N/A target failed_targets N/A N/A N/A N/A error_message_lines append N/A N/A 
{0}{1} format N/A 4 N/A N/A target address spec N/A test N/A sorted N/A failed_targets_and_tests N/A target N/A N/A N/A N/A error_message_lines append N/A N/A {0}{1} format N/A 8 test N/A N/A N/A error_message_lines append N/A N/A 
java {main} ... exited non-zero ({code}); {failed} failed {targets}. format main N/A JUnitRun _MAIN code result failed N/A len failed_targets targets N/A pluralize N/A len failed_targets target N/A N/A TestFailedTaskError N/A N/A join error_message_lines failed_targets N/A list failed_targets N/A _infer_workdir N/A N/A self target N/A N/A N/A N/A N/A target cwd None N/A N/A N/A target cwd N/A N/A self _working_dir N/A _tests_by_property N/A N/A self tests_to_targets get_property N/A N/A N/A properties N/A defaultdict OrderedSet N/A N/A test target N/A N/A tests_to_targets items N/A N/A N/A N/A N/A properties N/A N/A get_property target add test N/A N/A property N/A list tests N/A N/A property tests N/A N/A properties items N/A _tests_by_properties N/A N/A self tests_to_targets N/A properties N/A combined_property N/A N/A target N/A N/A N/A N/A tuple N/A N/A prop target N/A prop properties N/A N/A N/A N/A self _tests_by_property tests_to_targets combined_property N/A _partition N/A N/A self tests N/A N/A N/A stride N/A min N/A self _batch_size N/A len tests N/A i N/A range 0 N/A len tests stride N/A N/A N/A N/A tests N/A i N/A i stride N/A _get_tests_to_run N/A N/A self N/A N/A N/A test_spec N/A self _tests_to_run N/A N/A N/A src_spec cls_spec N/A interpret_test_spec test_spec N/A src_spec N/A N/A N/A sourcefile methodname src_spec N/A classname N/A N/A self _classnames_from_source_file sourcefile N/A N/A N/A N/A classname methodname N/A N/A N/A classname methodname cls_spec N/A N/A N/A classname methodname N/A _calculate_tests_from_targets N/A N/A self targets N/A N/A N/A 
    :param list targets: list of targets to calculate test classes for.
    generates tuples (class_name, target).
     N/A classpath_products N/A N/A N/A N/A self context products get_data runtime_classpath N/A target targets N/A N/A contents N/A N/A ClasspathUtil classpath_contents N/A target classpath_products confs N/A self confs N/A f contents N/A N/A classname N/A N/A ClasspathUtil classname_for_rel_classfile f N/A classname N/A N/A N/A N/A classname target N/A _classnames_from_source_file N/A N/A self srcfile N/A N/A N/A relsrc N/A N/A N/A os path relpath srcfile N/A get_buildroot N/A source_products N/A N/A N/A N/A N/A N/A self context products get_data classes_by_source get relsrc N/A N/A source_products N/A N/A N/A N/A N/A N/A self context log warn N/A N/A Source file {0} generated no classes format srcfile N/A N/A N/A _ classes N/A N/A source_products rel_paths N/A N/A cls classes N/A N/A N/A N/A _classfile_to_classname cls N/A _test_target_filter N/A N/A self N/A N/A target_filter N/A N/A target N/A N/A N/A N/A isinstance target junit_tests N/A N/A target_filter N/A _validate_target N/A N/A self target N/A N/A N/A N/A N/A N/A N/A N/A target payload sources source_paths N/A N/A N/A N/A self get_options allow_empty_sources N/A N/A msg JavaTests target must include a non-empty set of sources. N/A N/A TargetDefinitionException target msg N/A _execute N/A N/A self targets N/A N/A N/A Implements the primary junit test execution.

    This method is called by the TestRunnerTaskMixin, which contains the primary Task.execute function
    and wraps this method in timeouts.
     N/A tests_and_targets N/A N/A self _collect_test_targets N/A N/A self _get_test_targets N/A N/A tests_and_targets N/A N/A compute_complete_classpath N/A N/A N/A N/A N/A N/A N/A self classpath targets N/A N/A N/A N/A N/A self context release_lock N/A N/A self _coverage N/A N/A N/A N/A N/A self _coverage instrument targets N/A N/A tests_and_targets keys compute_complete_classpath N/A self execute_java_for_coverage _do_report N/A N/A exception N/A None N/A N/A N/A self _coverage N/A N/A N/A N/A N/A self _coverage report targets N/A N/A tests_and_targets keys N/A self execute_java_for_coverage tests_failed_exception exception N/A N/A N/A N/A N/A N/A self _run_tests tests_and_targets N/A N/A _do_report exception None N/A N/A N/A TaskError N/A e N/A N/A N/A _do_report exception e N/A N/A N/A