Xingyao Wang b1ea204c5b Migrate multi-line-bash-related sandbox tests into runtime tests and fix multi-line issue (#3128) 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_bash_parsing.py b1ea204c5b Migrate multi-line-bash-related sandbox tests into runtime tests and fix multi-line issue (#3128) 1 жил өмнө
test_config.py 3a21198424 Remove monologue agent (#3036) 1 жил өмнө
test_event_stream.py 275ea706cf Remove remaining global config (#3099) 1 жил өмнө
test_image_agnostic_util.py 9b1f59a56e Arch: refactor and add unit tests for `EventStreamRuntime` docker image build (#2908) 1 жил өмнө
test_ipython.py 275ea706cf Remove remaining global config (#3099) 1 жил өмнө
test_is_stuck.py 275ea706cf Remove remaining global config (#3099) 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 275ea706cf Remove remaining global config (#3099) 1 жил өмнө
test_observation_serialization.py c897791024 Refactor LLM config (#2953) 1 жил өмнө
test_response_parsing.py 3a21198424 Remove monologue agent (#3036) 1 жил өмнө
test_runtime.py b1ea204c5b Migrate multi-line-bash-related sandbox tests into runtime tests and fix multi-line issue (#3128) 1 жил өмнө
test_runtime_build.py 1f6e86c932 Fix(test,CI): runtime build tests (#3126) 1 жил өмнө
test_sandbox.py b1ea204c5b Migrate multi-line-bash-related sandbox tests into runtime tests and fix multi-line issue (#3128) 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