Engel Nyst bb4ea1e6cb Adjust is-stuck check for the same steps to 3 until it's stopped (#2437) 1 vuosi sitten
..
README.md 9605106e72 feat: append_file incl. all tests [agentskills] (#2346) 1 vuosi sitten
test_action_serialization.py 48151bdbb0 [feat] WebArena benchmark, MiniWoB++ benchmark and related arch changes (#2170) 1 vuosi sitten
test_agent_skill.py 9605106e72 feat: append_file incl. all tests [agentskills] (#2346) 1 vuosi sitten
test_arg_parser.py 18d07bda89 feat: add max_budget_per_task configuration to control task cost (#2070) 1 vuosi sitten
test_config.py 1cc70be616 workspace_mount_path sentinel: an undefined string (#2431) 1 vuosi sitten
test_event_stream.py 0eccf31604 Refactor monologue and SWE agent to use the messages in state history (#1863) 1 vuosi sitten
test_ipython.py a97d0767e9 fix: Backticks get always escaped by runtime; add Ipython test (#2321) 1 vuosi sitten
test_is_stuck.py bb4ea1e6cb Adjust is-stuck check for the same steps to 3 until it's stopped (#2437) 1 vuosi sitten
test_json.py 9ca2007201 fix json encoding (#2018) 1 vuosi sitten
test_logging.py fab8c9003b remove deprecated github-token config (#2334) 1 vuosi sitten
test_micro_agents.py 0eccf31604 Refactor monologue and SWE agent to use the messages in state history (#1863) 1 vuosi sitten
test_observation_serialization.py 110b878dd9 fix up serialization and deserialization of events (#1850) 1 vuosi sitten
test_response_parsing.py e5f1dbf5e7 Move json utility to the custom json parsing; apply it to the monologue-like agents (#1740) 1 vuosi sitten
test_sandbox.py 903381f16e Add back jupyter PWD env var for agentskills (#2327) 1 vuosi sitten
test_storage.py 5bdacf738d Refactor session management (#1810) 1 vuosi sitten

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