Skip to content

Commit fe08fb3

Browse files
committed
Update a ReadMe
1 parent 2108194 commit fe08fb3

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

examples/ReadMe.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
--------
2121

22-
Run an [example test](https://github.com/seleniumbase/SeleniumBase/blob/master/examples/test_demo_site.py): (Default option: ``--browser=chrome``)
22+
Run an [example test](https://github.com/seleniumbase/SeleniumBase/blob/master/examples/test_demo_site.py): (Default option: ``--chrome``)
2323

2424
```bash
2525
pytest test_demo_site.py
@@ -67,7 +67,7 @@ pytest wordle_test.py
6767

6868
--------
6969

70-
Run an example test in Headless Mode: (invisible browser)
70+
Run an example test in ``--headless`` Mode: (invisible browser)
7171

7272
```bash
7373
pytest my_first_test.py --headless
@@ -85,7 +85,7 @@ pytest test_swag_labs.py --mobile
8585

8686
--------
8787

88-
Run another [example test](https://github.com/seleniumbase/SeleniumBase/blob/master/examples/test_xkcd.py) in Demo Mode: (highlight assertions)
88+
Run an [example test](https://github.com/seleniumbase/SeleniumBase/blob/master/examples/test_xkcd.py) in ``--demo`` mode: (highlight assertions)
8989

9090
```bash
9191
pytest test_xkcd.py --demo
@@ -103,10 +103,10 @@ pytest test_suite.py -v
103103

104104
--------
105105

106-
Run a test suite multi-threaded using [n] threads:
106+
Run a test suite using multiple parallel processes (``-n=NUM``):
107107

108108
```bash
109-
pytest test_suite.py -n=4
109+
pytest test_suite.py -n=8
110110
```
111111

112112
--------
@@ -127,7 +127,7 @@ pytest test_suite.py --dashboard
127127

128128
--------
129129

130-
Run a test suite and generate a pytest report:
130+
Run a test suite and generate a ``pytest`` report:
131131

132132
```bash
133133
pytest test_suite.py --html=report.html
@@ -151,7 +151,7 @@ pytest test_fail.py --pdb -s
151151

152152
--------
153153

154-
Run a test suite that demonstrates the use of pytest markers:
154+
Run a test suite that demonstrates the use of ``pytest`` markers:
155155

156156
```bash
157157
pytest -m marker_test_suite -v
@@ -162,7 +162,7 @@ pytest -m marker_test_suite -v
162162
Run a test suite that reuses the browser session between tests:
163163

164164
```bash
165-
pytest test_suite.py --reuse-session
165+
pytest test_suite.py --rs
166166
```
167167

168168
--------
@@ -183,7 +183,7 @@ pytest upload_file_test.py
183183

184184
--------
185185

186-
Try the new SeleniumBase Commander! A GUI for pytest:
186+
Try the new SeleniumBase Commander! A GUI for ``pytest``:
187187

188188
```bash
189189
sbase gui
@@ -195,23 +195,23 @@ sbase gui
195195

196196
<b>SeleniumBase tests can also be run with ``pynose``:</b>
197197

198-
Run an example test with pynose:
198+
Run an example test with ``pynose``:
199199

200200
```bash
201201
pynose my_first_test.py
202202
```
203203

204204
--------
205205

206-
Run an example test suite and generate a pynose test report:
206+
Run an example test suite and generate a ``pynose`` test report:
207207

208208
```bash
209209
pynose test_suite.py --report --show-report
210210
```
211211

212212
--------
213213

214-
Run an example test using a pynose configuration file:
214+
Run an example test using a ``pynose`` configuration file:
215215

216216
```bash
217217
pynose my_first_test.py --config=example_config.cfg
@@ -241,7 +241,7 @@ python gui_test_runner.py
241241

242242
--------
243243

244-
🎖️ To launch the SeleniumBase Commander GUI for pytest:
244+
🎖️ To launch the SeleniumBase Commander GUI for ``pytest``:
245245

246246
```bash
247247
sbase gui

0 commit comments

Comments
 (0)