Yufan Song 4292998ee2 doc: add more cmd in unit test documentation (#1963) 1 year ago
..
README.md 4292998ee2 doc: add more cmd in unit test documentation (#1963) 1 year ago
test_action_serialization.py 110b878dd9 fix up serialization and deserialization of events (#1850) 1 year ago
test_arg_parser.py 2406b901df feat(SWE-Bench environment) integrate SWE-Bench sandbox (#1468) 1 year ago
test_config.py b3a45ed7fe Fix workspace paths defaults (#1845) 1 year ago
test_event_stream.py 110b878dd9 fix up serialization and deserialization of events (#1850) 1 year ago
test_is_stuck.py 1e51bb9276 Fix/update controller is_stuck() (#1891) 1 year ago
test_micro_agents.py d18e6c85a0 feat: add metrics related to cost for better observability (#1944) 1 year ago
test_observation_serialization.py 110b878dd9 fix up serialization and deserialization of events (#1850) 1 year ago
test_response_parsing.py e5f1dbf5e7 Move json utility to the custom json parsing; apply it to the monologue-like agents (#1740) 1 year ago
test_sandbox.py e89cc8f19b Feat: add stream output to exec_run (#1625) 1 year ago
test_storage.py dcb5d1ce0a Add permanent storage option for EventStream (#1697) 1 year ago

README.md

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

More details see pytest doc