daily pastebin goal
23%
SHARE
TWEET

Untitled

a guest Nov 19th, 2017 52 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Usage: <main class> [options] The XML suite files to run
  2.   Options:
  3.     -configfailurepolicy
  4.       Configuration failure policy (skip or continue)
  5.     -d
  6.       Output directory
  7.     -dataproviderthreadcount
  8.       Number of threads to use when running data providers
  9.     -excludegroups
  10.       Comma-separated list of group names to  exclude
  11.     -groups
  12.       Comma-separated list of group names to be run
  13.     -junit
  14.       JUnit mode
  15.       Default: false
  16.     -listener
  17.       List of .class files or list of class names implementing ITestListener
  18.       or ISuiteListener
  19.     -methods
  20.       Comma separated of test methods
  21.       Default: []
  22.     -methodselectors
  23.       List of .class files or list of class names implementing IMethodSelector
  24.     -mixed
  25.       Mixed mode - autodetect the type of current test and run it with
  26.       appropriate runner
  27.       Default: false
  28.     -objectfactory
  29.       List of .class files or list of class names implementing
  30.       ITestRunnerFactory
  31.     -parallel
  32.       Parallel mode (methods, tests or classes)
  33.       Possible Values: [tests, methods, classes, instances, none, true, false]
  34.     -port
  35.       The port
  36.     -reporter
  37.       Extended configuration for custom report listener
  38.     -suitename
  39.       Default name of test suite, if not specified in suite definition file or
  40.       source code
  41.     -suitethreadpoolsize
  42.       Size of the thread pool to use to run suites
  43.       Default: 1
  44.     -testclass
  45.       The list of test classes
  46.     -testjar
  47.       A jar file containing the tests
  48.     -testname
  49.       Default name of test, if not specified in suitedefinition file or source
  50.       code
  51.     -testnames
  52.       The list of test names to run
  53.     -testrunfactory, -testRunFactory
  54.       The factory used to create tests
  55.     -threadcount
  56.       Number of threads to use when running tests in parallel
  57.     -usedefaultlisteners
  58.       Whether to use the default listeners
  59.       Default: true
  60.     -log, -verbose
  61.       Level of verbosity
  62.     -xmlpathinjar
  63.       The full path to the xml file inside the jar file (only valid if
  64.       -testjar was specified)
  65.       Default: testng.xml
  66.  
  67. You need to specify at least one testng.xml, one class or one method
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top