TradingAgents/tests
Andrew Kaszubski 36de8f0470 feat(tests): add pytest conftest.py hierarchy with shared fixtures - Fixes #49
- Created tests/conftest.py with 12 shared fixtures (environment mocks, LangChain/ChromaDB mocking, configuration)

- Created tests/unit/conftest.py with 6 unit-specific fixtures (data vendors, sample data)

- Created tests/integration/conftest.py with 2 integration fixtures (live ChromaDB, temp dirs)

- Added pytest.ini with 7 custom markers (unit, integration, e2e, llm, chromadb, slow, requires_api_key)

- Added tests/test_conftest_hierarchy.py with 83 tests validating fixture infrastructure

- Updated docs/testing/README.md and writing-tests.md with fixture usage documentation

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-26 10:40:30 +11:00
..
integration feat(tests): add pytest conftest.py hierarchy with shared fixtures - Fixes #49 2025-12-26 10:40:30 +11:00
unit feat(tests): add pytest conftest.py hierarchy with shared fixtures - Fixes #49 2025-12-26 10:40:30 +11:00
CHROMADB_COLLECTION_TESTS.md fix(memory): use get_or_create_collection for idempotent ChromaDB init - Fixes #30 2025-12-26 09:20:04 +11:00
__init__.py feat(llm): add OpenRouter API support with proper headers and API key handling 2025-12-25 15:51:25 +11:00
conftest.py feat(tests): add pytest conftest.py hierarchy with shared fixtures - Fixes #49 2025-12-26 10:40:30 +11:00
test_cli_error_handling.py feat(logging): add dual-output logging and rate limit error handling - Fixes #39 2025-12-26 09:54:07 +11:00
test_conftest_hierarchy.py feat(tests): add pytest conftest.py hierarchy with shared fixtures - Fixes #49 2025-12-26 10:40:30 +11:00
test_documentation_structure.py feat(docs): add comprehensive documentation structure - Fixes #52 2025-12-26 10:18:50 +11:00
test_exceptions.py feat(logging): add dual-output logging and rate limit error handling - Fixes #39 2025-12-26 09:54:07 +11:00
test_logging_config.py feat(logging): add dual-output logging and rate limit error handling - Fixes #39 2025-12-26 09:54:07 +11:00
test_openrouter.py fix(memory): use get_or_create_collection for idempotent ChromaDB init - Fixes #30 2025-12-26 09:20:04 +11:00
test_report_exporter.py feat(reports): add report exporter with YAML frontmatter and JSON metadata (Issue #21) 2025-12-26 10:11:42 +11:00