mirror of
https://github.com/wso2/fhir-mcp-server.git
synced 2025-11-14 22:18:14 +03:00
* Initial plan * Add comprehensive tests for utils and OAuth types modules Co-authored-by: nirmal070125 <413016+nirmal070125@users.noreply.github.com> * Complete comprehensive test suite for FHIR MCP server with 123 tests Co-authored-by: nirmal070125 <413016+nirmal070125@users.noreply.github.com> * Fix test dependencies and improve setup documentation - Add test dependencies (pytest, pytest-asyncio, pytest-cov) to pyproject.toml as optional dependencies - Create requirements-dev.txt for easier development setup - Enhance run_tests.py with dependency checking and clear error messages - Update README with comprehensive testing and development setup instructions - Verified that all 123 tests pass successfully with proper dependencies Co-authored-by: nirmal070125 <413016+nirmal070125@users.noreply.github.com> * Fix test failures and improve coverage Co-authored-by: nirmal070125 <413016+nirmal070125@users.noreply.github.com> * Fix integration test to use mocked URLs instead of external services Co-authored-by: nirmal070125 <413016+nirmal070125@users.noreply.github.com> * Fix test failures: add proper async/await to standalone tests and fix server provider test interface Co-authored-by: nirmal070125 <413016+nirmal070125@users.noreply.github.com> * Fix test failures: repair broken test_utils.py and ensure tests can run with basic dependencies Co-authored-by: nirmal070125 <413016+nirmal070125@users.noreply.github.com> * Fix tests - made them run on headless mode - made all tests pass * Fix review comments --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: nirmal070125 <413016+nirmal070125@users.noreply.github.com>
13 lines
372 B
INI
13 lines
372 B
INI
[pytest]
|
|
testpaths = tests
|
|
python_files = test_*.py
|
|
python_classes = Test*
|
|
python_functions = test_*
|
|
addopts = -v --strict-markers --tb=short --cov=src/fhir_mcp_server --cov-report=term-missing
|
|
markers =
|
|
asyncio: mark test as async
|
|
unit: mark test as unit test
|
|
integration: mark test as integration test
|
|
slow: mark test as slow running
|
|
asyncio_mode = auto
|