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

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