Skip to content

Commit dcf6b2c

Browse files
committed
Update readme.md
1 parent a63a6b5 commit dcf6b2c

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

‎readme.md‎

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,27 @@ python -m utils.config
170170

171171
Run commands from the repository root. Choose the narrowest workflow that matches the change you are validating.
172172

173+
### Run all pytest and Robot tests
174+
175+
Run both test frameworks and return a failure if either suite fails:
176+
177+
```powershell
178+
$pytestExit = 0
179+
$robotExit = 0
180+
181+
python -m pytest
182+
$pytestExit = $LASTEXITCODE
183+
184+
python -m robot --outputdir temps/robot_all robot_test/
185+
$robotExit = $LASTEXITCODE
186+
187+
if ($pytestExit -ne 0 -or $robotExit -ne 0) {
188+
exit 1
189+
}
190+
```
191+
192+
Pytest results use the configured Allure output directory; Robot reports are written to `temps/robot_all/`.
193+
173194
### Pytest suites
174195

175196
`pytest` covers the unit, API, and Playwright UI suites.

0 commit comments

Comments
 (0)