adragos 5f61885e44 feat: Implement user confirmation mode, request confirmation when running bash/python code in this mode (#2774) 1 سال پیش
..
README.md 9605106e72 feat: append_file incl. all tests [agentskills] (#2346) 1 سال پیش
test_action_serialization.py 5f61885e44 feat: Implement user confirmation mode, request confirmation when running bash/python code in this mode (#2774) 1 سال پیش
test_agent_skill.py 41ddba84bd [Agent] (Potentially) improve Editing using `diff` (#2685) 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 f2e92b2db7 move image agnostic util to shared runtime util (#2859) 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_sandbox.py 143f38d25a Refactored sandbox config and added fast boot (#2455) 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