Xingyao Wang 1f6e86c932 Fix(test,CI): runtime build tests (#3126) 1 anno fa
..
README.md 9605106e72 feat: append_file incl. all tests [agentskills] (#2346) 1 anno fa
test_action_serialization.py c897791024 Refactor LLM config (#2953) 1 anno fa
test_agent_skill.py 445f290beb Validate to_replace in edit_file_by_replace AgentSkill (#3073) 1 anno fa
test_aider_linter.py fa6c12473e #2220, integrated aider style linting, currently passes related o… (#2489) 1 anno fa
test_arg_parser.py e3e437fcc2 Rework --llm-config CLI arg (#2957) 1 anno fa
test_config.py 3a21198424 Remove monologue agent (#3036) 1 anno fa
test_event_stream.py d37b2973b2 Refactoring: event stream based agent history (#2709) 1 anno fa
test_image_agnostic_util.py 9b1f59a56e Arch: refactor and add unit tests for `EventStreamRuntime` docker image build (#2908) 1 anno fa
test_ipython.py 1f6e86c932 Fix(test,CI): runtime build tests (#3126) 1 anno fa
test_is_stuck.py d37b2973b2 Refactoring: event stream based agent history (#2709) 1 anno fa
test_json.py 9ca2007201 fix json encoding (#2018) 1 anno fa
test_logging.py c68478f470 Customize LLM config per agent (#2756) 1 anno fa
test_micro_agents.py 8f76587e5c docs: updated docstrings using ruff's autofix feature (#2923) 1 anno fa
test_observation_serialization.py c897791024 Refactor LLM config (#2953) 1 anno fa
test_response_parsing.py 3a21198424 Remove monologue agent (#3036) 1 anno fa
test_runtime.py d0217b84ef test_runtime: run tests per runtime, not alternating (#3103) 1 anno fa
test_runtime_build.py 1f6e86c932 Fix(test,CI): runtime build tests (#3126) 1 anno fa
test_sandbox.py 1f6e86c932 Fix(test,CI): runtime build tests (#3126) 1 anno fa
test_storage.py 5bdacf738d Refactor session management (#1810) 1 anno fa

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

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