diff --git a/about/about-us.md b/about/about-us.md index 74ff23e..f779d20 100644 --- a/about/about-us.md +++ b/about/about-us.md @@ -34,6 +34,7 @@ We believe in the power of open source collaboration. This project thrives on co - Luca Perrozzi ([LinkedIn](https://www.linkedin.com/in/luca-perrozzi/)) - Roberto Catalano ([LinkedIn](https://www.linkedin.com/in/roberto-catalano-5b7793123/), [GitHub](https://github.com/Robobc)) - Tiago Prelato ([LinkedIn](https://www.linkedin.com/in/tiago-prelato-257787210/), [X](https://x.com/SneyX_)) +- Bruce Miao ## Join Us diff --git a/about/contributing.md b/about/contributing.md index aa6fbad..27b6f9a 100644 --- a/about/contributing.md +++ b/about/contributing.md @@ -170,21 +170,13 @@ class DatabaseToolRepository(ToolRepository): ### Test Coverage for Source Code Changes -**All PRs that modify source code in the library must include appropriate tests:** - -- **Unit Tests**: Test individual components in isolation -- **Integration Tests**: Test component interactions -- **Contract Tests**: Verify interface implementations -- **End-to-End Tests**: Test complete workflows +**All PRs that modify source code in the library must include appropriate tests** ### Test Structure ``` tests/ -├── unit/ # Fast, isolated tests -├── integration/ # Component interaction tests -├── e2e/ # End-to-end workflow tests -└── fixtures/ # Test data and mocks +├── ... ``` ### Test Quality Standards @@ -194,23 +186,6 @@ tests/ - **Speed**: Unit tests should run in milliseconds - **Clarity**: Test names should describe the scenario being tested -```python -# Good test structure -class TestToolInvoker: - def test_invoke_with_valid_params_returns_success_response(self): - # Arrange - mock_client = Mock(spec=HttpClient) - mock_client.post.return_value = {"status": "success"} - invoker = ToolInvoker(mock_client) - - # Act - result = invoker.invoke(sample_tool, {"param": "value"}) - - # Assert - assert result["status"] == "success" - mock_client.post.assert_called_once() -``` - ## Code Quality Standards ### Code Style