You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/commandline.rst
-24Lines changed: 0 additions & 24 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -121,28 +121,6 @@ the hooks defined in the terrain files.
121
121
To see example code please consult :ref:`terrain <tutorial#terrain_and_hooks>`.
122
122
123
123
124
-
Run - Profile
125
-
-------------
126
-
127
-
Radish allows you to pass custom data to a Terrain hook code or to the Step implementations
128
-
using the ``-p`` or ``--profile`` command line option. This can be used to
129
-
customize your test runs as needed.
130
-
131
-
The value specified to the ``-p`` / ``--profile`` command line option is made
132
-
available in ``world.config.profile``. Please see :ref:`tutorial#world` for
133
-
for an example.
134
-
135
-
A common usage of ``profile`` s setting it to some environment value such as
136
-
``stage`` or ``production``.
137
-
138
-
.. code:: bash
139
-
140
-
radish SomeFeature.feature -p stage
141
-
radish SomeFeature.feature --profile stage
142
-
143
-
Note: ``-p`` / ``--profile`` is being deprecated and will be removed in a future version of Radish. Please use ``-u`` / ``--user-data`` instead. See :ref:`Arbitrary User Data <commandline#user_data>` for details.
144
-
145
-
146
124
Run - Dry run
147
125
-------------
148
126
@@ -557,7 +535,6 @@ Use the ``--help`` or ``-h`` option to show the following help screen:
557
535
[--debug-steps]
558
536
[-t | --with-traceback]
559
537
[-m=<marker> | --marker=<marker>]
560
-
[-p=<profile> | --profile=<profile>]
561
538
[-d | --dry-run]
562
539
[-s=<scenarios> | --scenarios=<scenarios>]
563
540
[--shuffle]
@@ -595,7 +572,6 @@ Use the ``--help`` or ``-h`` option to show the following help screen:
595
572
--debug-steps debugs each step
596
573
-t --with-traceback show the Exception traceback when a step fails
597
574
-m=<marker> --marker=<marker> specify the marker for this run [default: time.time()]
598
-
-p=<profile> --profile=<profile> specify the profile which can be used in the step/hook implementation
599
575
-b=<basedir> --basedir=<basedir>... set base dir from where the step.py and terrain.py will be loaded. [default: $PWD/radish]
600
576
You can specify -b|--basedir multiple times. All files will be imported.
601
577
-d --dry-run make dry run for the given feature files
0 commit comments