You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reorganize project structure and enhance testing framework with real … (#120)
* Reorganize project structure and enhance testing framework with real phase descriptions
## Directory Structure Changes
- Move test/ → scripts/client_examples/ for better organization
- Move test_results/ → scripts/test_results/ to consolidate outputs
- Move run_tests.py → scripts/run_tests.py as launcher
- Move test_config.yml → scripts/test_config.yml for centralized config
## Testing Framework Enhancements
- Extract actual phase descriptions from test prompts using regex patterns
- Replace hardcoded simulation phase names with real prompt descriptions
- Improve test accuracy by using ## Phase X - Description format
- Update phase success rates based on complexity (setup/cleanup: 92%, security/permissions: 75%, SQL: 80%)
## Updated Framework Features
- Real phase discovery: Extract phases directly from test_*Tools prompts
- Accurate phase counts: DBA=14, Base=10, Quality=9, Security=3 phases
- Meaningful error context: Show exact test step failures
- Better debugging: Traceable failures to specific prompt requirements
## Configuration and Path Updates
- Update all testing scripts to use new paths (scripts/test_results/)
- Modify CLI to default to scripts/test_config.yml location
- Update documentation across all guides and READMEs
- Fix client example references in documentation
## Test Results Improvements
Before: Generic "Permission Audit", "User Management" phase names
After: Real "Get a list of all the SQL executed by a user", "test the user database permissions tool"
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>
* Fix to MCP Inspector documentation #115
* Improve logging configuration and test documentation formatting
- Replace basic logging setup with structured configuration using rotating file handler and queue-based logging
- Add proper log rotation with 1MB max size and 3 backup files
- Configure different log levels for console (WARNING) and file (DEBUG) handlers
- Fix YAML formatting issues in base_objects.yml test documentation for better readability
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>
* Enhance logging with custom JSON formatter for structured file output
- Add CustomJSONFormatter class that handles extra dictionaries in log messages
- Configure file handler to use JSON format while keeping console as simple format
- Support for merging dictionary values from extra parameter into top-level JSON
- Change log filename to .jsonl extension for proper JSON Lines format
- Enable structured logging for better analysis and monitoring
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>
---------
Co-authored-by: Claude <[email protected]>
Copy file name to clipboardExpand all lines: docs/client_guide/Claude_desktop.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,21 +6,21 @@ Step1 - Modify your claude desktop configuration file - `claude_desktop_config.
6
6
7
7
**Streamable-http**
8
8
9
-
Example can be found in [claude_desktop_http_config](../../test/Claude_Desktop_Config_Files/claude_desktop_http_config)
9
+
Example can be found in [claude_desktop_http_config](../../scripts/client_examples/Claude_Desktop_Config_Files/claude_desktop_http_config)
10
10
11
11
Note: you may need to modify the host in the args.
12
12
13
13
14
14
**Stdio**
15
15
16
-
Example can be found in [claude_desktop_stdio_config](../../test/Claude_Desktop_Config_Files/claude_desktop_stdio_config)
16
+
Example can be found in [claude_desktop_stdio_config](../../scripts/client_examples/Claude_Desktop_Config_Files/claude_desktop_stdio_config)
17
17
18
18
Note: you will need to modify the directory path in the args for your system, this needs to be a complete path. You may also need to have a complete path to uv in the command as well.
19
19
20
20
Note: this requires that `uv` is available to Claude in your system path or installed globally on your system (eg. uv installed with `brew` for Mac OS users).
21
21
22
22
**SSE**
23
23
24
-
Example can be found in [claude_desktop_SSE_config](../../test/Claude_Desktop_Config_Files/claude_desktop_SSE_config)
24
+
Example can be found in [claude_desktop_SSE_config](../../scripts/client_examples/Claude_Desktop_Config_Files/claude_desktop_SSE_config)
25
25
26
26
Note: you may need to modify the host in the args.
Copy file name to clipboardExpand all lines: docs/client_guide/Code_Agents.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -44,7 +44,7 @@ MCP_PATH=/mcp/
44
44
cd teradata-mcp-server
45
45
uv run src/teradata_mcp_server/server.py
46
46
```
47
-
Step 3 - In a second terminal move into teradata_mcp_server/test/ADK_Client_Example directory From a terminal.
47
+
Step 3 - In a second terminal move into teradata_mcp_server/scripts/client_examples/ADK_Client_Examples directory From a terminal.
48
48
```
49
49
cd teradata-mcp-server
50
50
uv sync --extra test
@@ -80,7 +80,7 @@ uv run src/teradata_mcp-server
80
80
cd teradata-mcp-server
81
81
uv sync --extra test
82
82
source .venv/bin/activate
83
-
uv run test/MCP_Client_Example/mcp_chatbot.py
83
+
uv run scripts/client_examples/MCP_Client_Example/mcp_chatbot.py
84
84
```
85
85
Step 4 - list the prompts by typing /prompts
Copy file name to clipboardExpand all lines: docs/developer_guide/DEVELOPER_GUIDE.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -94,7 +94,7 @@ New tool sets can be created in one of two ways:
94
94
95
95
The template code should be copied and prefixes for directory name and files should be modified to align to your grouping name. Refer to other tool sets for examples.
96
96
97
-
[src/test/](./src/test/) - this will contain client tools for testing the server functionality
97
+
[scripts/client_examples/](./scripts/client_examples/) - this will contain client tools for testing the server functionality
98
98
99
99
[docs](./docs/) - contains package documentation.
100
100
- CHANGE_LOG.md - maintains the change log of releases.
0 commit comments