Bug 1237958 - Expand `mach marionette-test` help msg re test paths; r?maja_zf draft
authorAnjana Vakil <anjanavakil@gmail.com>
Wed, 08 Jun 2016 11:26:58 +0200
changeset 376565 7361aa2f6df36642d335930e993e7100142b5bee
parent 376275 ec20b463c04f57a4bfca1edb987fcb9e9707c364
child 376566 7e348b82238d0666b9b664ad51f9529ee722d236
push id20623
push userbmo:anjanavakil@gmail.com
push dateWed, 08 Jun 2016 10:20:31 +0000
reviewersmaja_zf
bugs1237958
milestone50.0a1
Bug 1237958 - Expand `mach marionette-test` help msg re test paths; r?maja_zf Expand the help message for the `marionette-test` mach command to more clearly explain Marionette's behavior when a path to a test module, directory, or manifest file is specified. MozReview-Commit-ID: PmX2dlXcl2
testing/marionette/harness/marionette/runner/base.py
--- a/testing/marionette/harness/marionette/runner/base.py
+++ b/testing/marionette/harness/marionette/runner/base.py
@@ -247,17 +247,21 @@ class BaseMarionetteArguments(ArgumentPa
             if not os.access(path, os.F_OK):
                 os.makedirs(path)
             return path
 
         self.argument_containers = []
         self.add_argument('tests',
                           nargs='*',
                           default=[],
-                          help='Tests to run.')
+                          help='Tests to run. '
+                               'One or more paths to test files (Python or JS), '
+                               'manifest files (.ini) or directories. '
+                               'When a directory is specified, '
+                               'all test files in the directory will be run.')
         self.add_argument('-v', '--verbose',
                         action='count',
                         help='Increase verbosity to include debug messages with -v, '
                             'and trace messages with -vv.')
         self.add_argument('--address',
                         help='host:port of running Gecko instance to connect to')
         self.add_argument('--device',
                         dest='device_serial',