niliy01 82a154f7e7 (feat) making prompt caching optional instead of enabled default (#3689) 1 year ago
..
README.md 9605106e72 feat: append_file incl. all tests [agentskills] (#2346) 1 year ago
test_acompletion.py 01ae22ef57 Rename OpenDevin to OpenHands (#3472) 1 year ago
test_action_serialization.py 01ae22ef57 Rename OpenDevin to OpenHands (#3472) 1 year ago
test_agent_controller.py f8c4d1df45 (test) Fix test_agent_controller.py mock exceptions (#3577) 1 year ago
test_agent_skill.py bc31fb15fe (fix) CodeActAgent: fix issues with vision support in prompts (#3665) 1 year ago
test_aider_linter.py 8fca5a5354 linter and test_aider_linter extensions for eslint (#3543) 1 year ago
test_arg_parser.py 8fcf0817d4 (eval) Aider_bench: add eval_ids arg to run specific instance id's (#3592) 1 year ago
test_bash_parsing.py 01ae22ef57 Rename OpenDevin to OpenHands (#3472) 1 year ago
test_codeact_agent.py bc31fb15fe (fix) CodeActAgent: fix issues with vision support in prompts (#3665) 1 year ago
test_condenser.py 01ae22ef57 Rename OpenDevin to OpenHands (#3472) 1 year ago
test_config.py 296fa8182a Mock config env variables (#3621) 1 year ago
test_event_stream.py 01ae22ef57 Rename OpenDevin to OpenHands (#3472) 1 year ago
test_is_stuck.py 1ef83a8554 fix test_is_stuck.py to not fail on macos (#3662) 1 year ago
test_json.py 01ae22ef57 Rename OpenDevin to OpenHands (#3472) 1 year ago
test_listen.py 01ae22ef57 Rename OpenDevin to OpenHands (#3472) 1 year ago
test_llm.py 01ae22ef57 Rename OpenDevin to OpenHands (#3472) 1 year ago
test_logging.py c6ba0e8339 Remove singleton config (#3614) 1 year ago
test_message_serialization.py 01ae22ef57 Rename OpenDevin to OpenHands (#3472) 1 year ago
test_micro_agents.py bc31fb15fe (fix) CodeActAgent: fix issues with vision support in prompts (#3665) 1 year ago
test_microagent_utils.py d9a8b53bc2 feat: specialize CodeAct into micro agents by providing markdown files (#3511) 1 year ago
test_observation_serialization.py 01ae22ef57 Rename OpenDevin to OpenHands (#3472) 1 year ago
test_prompt_caching.py 82a154f7e7 (feat) making prompt caching optional instead of enabled default (#3689) 1 year ago
test_prompt_manager.py 7068a73ae7 (enh) Improve CodeActAgent's file editing reliability (#3610) 1 year ago
test_response_parsing.py 01ae22ef57 Rename OpenDevin to OpenHands (#3472) 1 year ago
test_runtime_build.py 688068a44e Fix issues for running `RemoteRuntime` in parallel on SWE-Bench (#3716) 1 year ago
test_security.py bc31fb15fe (fix) CodeActAgent: fix issues with vision support in prompts (#3665) 1 year ago
test_storage.py 8c4c3b18b5 Feat google cloud storage (#3574) 1 year ago

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