Xingyao Wang e45ddeb2a2 arch: deprecating recall action and `search_memory` (#2900) hai 1 ano
..
README.md 9605106e72 feat: append_file incl. all tests [agentskills] (#2346) hai 1 ano
test_action_serialization.py e45ddeb2a2 arch: deprecating recall action and `search_memory` (#2900) hai 1 ano
test_agent_skill.py 1b54800a29 [Agent] Improve edits by adding back `edit_file_by_line` (#2722) hai 1 ano
test_arg_parser.py c68478f470 Customize LLM config per agent (#2756) hai 1 ano
test_config.py c68478f470 Customize LLM config per agent (#2756) hai 1 ano
test_event_stream.py d37b2973b2 Refactoring: event stream based agent history (#2709) hai 1 ano
test_image_agnostic_util.py e45d46c993 [Arch] Implement EventStream Runtime Client with Jupyter Support using Agnostic Sandbox (#2879) hai 1 ano
test_ipython.py 143f38d25a Refactored sandbox config and added fast boot (#2455) hai 1 ano
test_is_stuck.py d37b2973b2 Refactoring: event stream based agent history (#2709) hai 1 ano
test_json.py 9ca2007201 fix json encoding (#2018) hai 1 ano
test_logging.py c68478f470 Customize LLM config per agent (#2756) hai 1 ano
test_micro_agents.py d37b2973b2 Refactoring: event stream based agent history (#2709) hai 1 ano
test_observation_serialization.py c68478f470 Customize LLM config per agent (#2756) hai 1 ano
test_response_parsing.py b2307db010 Document, rename Agent* exceptions to LLM* (#2508) hai 1 ano
test_sandbox.py 1b54800a29 [Agent] Improve edits by adding back `edit_file_by_line` (#2722) hai 1 ano
test_storage.py 5bdacf738d Refactor session management (#1810) hai 1 ano

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