mirror of
https://github.com/All-Hands-AI/OpenHands.git
synced 2026-01-10 07:18:10 -05:00
docs: change to existing testing files (#8779)
This commit is contained in:
@@ -11,19 +11,19 @@ poetry run pytest ./tests/unit
|
||||
Run specific test file:
|
||||
|
||||
```bash
|
||||
poetry run pytest ./tests/unit/test_micro_agents.py
|
||||
poetry run pytest ./tests/unit/test_llm_fncall_converter.py
|
||||
```
|
||||
|
||||
Run specific unit test
|
||||
|
||||
```bash
|
||||
poetry run pytest ./tests/unit/test_micro_agents.py::test_coder_agent_with_summary
|
||||
poetry run pytest ./tests/unit/test_llm_fncall_converter.py::test_convert_tool_call_to_string
|
||||
```
|
||||
|
||||
For a more verbose output, to above calls the `-v` flag can be used (even more verbose: `-vv` and `-vvv`):
|
||||
|
||||
```bash
|
||||
poetry run pytest -v ./tests/unit/test_micro_agents.py
|
||||
poetry run pytest -v ./tests/unit/test_llm_fncall_converter.py
|
||||
```
|
||||
|
||||
More details see [pytest doc](https://docs.pytest.org/en/latest/contents.html)
|
||||
|
||||
Reference in New Issue
Block a user