@@ -31,14 +31,20 @@ function listTestModes(resourceMimeType: string) {
3131    resources : [ 
3232      {  
3333        uri : `unity://tests/EditMode` ,  
34-         name : "EditMode tests" , 
35-         description : "List of all  EditMode tests in  Unity's test runner" , 
34+         name : "List only ' EditMode'  tests" , 
35+         description : "List only ' EditMode'  tests from  Unity's test runner" , 
3636        mimeType : resourceMimeType 
3737      } , 
3838      {  
3939        uri : `unity://tests/PlayMode` ,  
40-         name : "PlayMode tests" , 
41-         description : "List of all PlayMode tests in Unity's test runner" , 
40+         name : "List only 'PlayMode' tests" , 
41+         description : "List only 'PlayMode' tests from Unity's test runner" , 
42+         mimeType : resourceMimeType 
43+       } , 
44+       {  
45+         uri : `unity://tests/` ,  
46+         name : "List all tests" , 
47+         description : "List of all tests in Unity's test runner, this includes PlayMode and EditMode tests" , 
4248        mimeType : resourceMimeType 
4349      } 
4450    ] 
@@ -75,7 +81,6 @@ export function createGetTestsResource(server: McpServer, mcpUnity: McpUnity, lo
7581  ) ; 
7682} 
7783
78- 
7984/** 
8085 * Handles requests for test information from Unity's Test Runner 
8186 * Retrieves tests filtered by test mode (EditMode or PlayMode) 
@@ -88,7 +93,7 @@ export function createGetTestsResource(server: McpServer, mcpUnity: McpUnity, lo
8893 */ 
8994async  function  resourceHandler ( mcpUnity : McpUnity ,  uri : URL ,  variables : Variables ) : Promise < ReadResourceResult >  { 
9095  // Convert the new handler signature to work with our existing code 
91-   const  testMode  =  variables [ "testMode" ]   ||   'EditMode' ; 
96+   const  testMode  =  variables [ "testMode" ] ; 
9297
9398  const  response  =  await  mcpUnity . sendRequest ( { 
9499    method : resourceName , 
0 commit comments