mirror of
https://github.com/OpenHands/OpenHands.git
synced 2025-12-26 05:48:36 +08:00
doc: add more cmd in unit test documentation (#1963)
This commit is contained in:
parent
d18e6c85a0
commit
4292998ee2
@ -1,7 +1,23 @@
|
||||
## Introduction
|
||||
|
||||
This folder contains unit tests that could be run locally by
|
||||
This folder contains unit tests that could be run locally.
|
||||
|
||||
Run all test:
|
||||
|
||||
```bash
|
||||
poetry run pytest ./tests/unit
|
||||
```
|
||||
|
||||
Run specific test file:
|
||||
|
||||
```bash
|
||||
poetry run pytest ./tests/unit/test_micro_agents.py
|
||||
```
|
||||
|
||||
Run specific unit test
|
||||
|
||||
```bash
|
||||
poetry run pytest ./tests/unit/test_micro_agents.py:test_coder_agent_with_summary
|
||||
```
|
||||
|
||||
More details see [pytest doc](https://docs.pytest.org/en/latest/contents.html)
|
||||
Loading…
x
Reference in New Issue
Block a user