Xingyao Wang 9b1f59a56e Arch: refactor and add unit tests for `EventStreamRuntime` docker image build (#2908) 1 год назад
..
README.md 9605106e72 feat: append_file incl. all tests [agentskills] (#2346) 1 год назад
test_action_serialization.py e45ddeb2a2 arch: deprecating recall action and `search_memory` (#2900) 1 год назад
test_agent_skill.py 1b54800a29 [Agent] Improve edits by adding back `edit_file_by_line` (#2722) 1 год назад
test_arg_parser.py c68478f470 Customize LLM config per agent (#2756) 1 год назад
test_config.py c68478f470 Customize LLM config per agent (#2756) 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 143f38d25a Refactored sandbox config and added fast boot (#2455) 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 d37b2973b2 Refactoring: event stream based agent history (#2709) 1 год назад
test_observation_serialization.py c68478f470 Customize LLM config per agent (#2756) 1 год назад
test_response_parsing.py b2307db010 Document, rename Agent* exceptions to LLM* (#2508) 1 год назад
test_runtime_build.py 9b1f59a56e Arch: refactor and add unit tests for `EventStreamRuntime` docker image build (#2908) 1 год назад
test_sandbox.py 1b54800a29 [Agent] Improve edits by adding back `edit_file_by_line` (#2722) 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