summaryrefslogtreecommitdiff
path: root/servers/taskwarrior/tests
AgeCommit message (Collapse)Author
2025-12-19refactor: improve test configuration in TaskWarrior serverHEADmainDawid Rycerz
- Updated the import path for the `src` directory in the test configuration to use double quotes for consistency. - Enhanced the mocking of the `mcp.server.remote` module to improve test isolation. - Added spacing for better readability in the `conftest.py` file. - Ensured that the `taskwarrior_server` and `mcp_server_mock` fixtures are clearly defined with appropriate docstrings.
2025-12-19feat: implement bulk task addition and deletion in TaskWarrior serverDawid Rycerz
- Added `add_tasks` method to allow adding multiple tasks in a single call, enhancing efficiency and usability. - Updated `delete_task` method to accept a list of UUIDs for deleting multiple tasks, improving flexibility. - Implemented validation to ensure that at least one UUID is provided for deletion. - Enhanced unit tests to cover scenarios for adding multiple tasks, including edge cases for empty lists and single task addition. - Improved docstrings for clarity, detailing parameters, return values, and usage examples.
2025-12-19feat: implement task modification functionality in TaskWarrior serverDawid Rycerz
- Added `modify_task` method to allow modification of tasks based on a filter expression, supporting parameters for project, priority, due date, description, and tags. - Implemented validation for modification parameters, ensuring at least one parameter is provided and that priority and tag formats are correct. - Introduced corresponding tests to validate the functionality of task modifications, including edge cases for invalid inputs and multiple modifications. - Enhanced docstrings for clarity and detailed usage examples.
2025-12-19feat: enhance task completion functionality in TaskWarrior serverDawid Rycerz
- Updated `done_task` method to accept a list of UUIDs for marking multiple tasks as completed. - Adjusted related tests to validate single and multiple task completion, including error handling for empty UUID lists. - Improved docstrings for clarity and consistency.
2025-12-19feat: create task warrior mcp serverDawid Rycerz