Files
OpenHands/tests/unit
..
2024-05-27 20:03:36 +02:00
2024-06-27 08:36:23 +02:00
2024-05-23 23:36:15 +00:00
2024-05-23 18:00:51 +02:00

Introduction

This folder contains unit tests that could be run locally.

Run all test:

poetry run pytest ./tests/unit

Run specific test file:

poetry run pytest ./tests/unit/test_micro_agents.py

Run specific unit test

poetry run pytest ./tests/unit/test_micro_agents.py::test_coder_agent_with_summary

For a more verbose output, to above calls the -v flag can be used (even more verbose: -vv and -vvv):

poetry run pytest -v ./tests/unit/test_micro_agents.py

More details see pytest doc