csharp-sdk/tests/ModelContextProtocol.Tests
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Stephen Toub c11c634945
Improve exception diagnostics for stdio client (#376)
* Improve exception diagnostics for stdio client

Track the last several lines of stderr and include those in an exception created as part of CleanupAsync if the server process has already exited. This is based on an assumption that the server should never exit prior to CleanupAsync being called.

* Address feedback and fix test failure
2025-05-14 10:46:49 -04:00
..
Client Add McpServer/ClientResource{Template} and friends (#391) 2025-05-09 18:21:11 -04:00
Configuration Fix McpServerResource registration (#411) 2025-05-14 09:08:59 -04:00
Protocol Add McpServer/ClientResource{Template} and friends (#391) 2025-05-09 18:21:11 -04:00
Server Add stateless Streamable HTTP support (#392) 2025-05-14 04:51:03 -07:00
Transport Improve exception diagnostics for stdio client (#376) 2025-05-14 10:46:49 -04:00
ClientIntegrationTestFixture.cs Separate ASP.NET Core tests into a distinct project and make the main test project netfx compatible. (#254) 2025-04-09 19:16:53 +01:00
ClientIntegrationTests.cs Add McpServer/ClientResource{Template} and friends (#391) 2025-05-09 18:21:11 -04:00
ClientServerTestBase.cs Improve testing for StreamableHttpHandler and IdleTrackingBackgroundService (#345) 2025-04-24 10:49:02 -07:00
DiagnosticTests.cs Add McpServer/ClientResource{Template} and friends (#391) 2025-05-09 18:21:11 -04:00
DockerEverythingServerTests.cs Wrap each request in a service scope (#276) 2025-04-11 19:19:12 -04:00
EverythingSseServerFixture.cs Add StreamableHttpHandler and WithHttpTransport (#291) 2025-04-14 10:15:33 -04:00
GlobalUsings.cs Separate ASP.NET Core tests into a distinct project and make the main test project netfx compatible. (#254) 2025-04-09 19:16:53 +01:00
McpJsonUtilitiesTests.cs Disable STJ reflection for testing. (#266) 2025-04-10 16:02:00 +01:00
ModelContextProtocol.Tests.csproj Improve testing for StreamableHttpHandler and IdleTrackingBackgroundService (#345) 2025-04-24 10:49:02 -07:00
StdioServerIntegrationTests.cs Fix StdioServerTransport.DisposeAsync hang (#235) 2025-04-08 10:20:16 -07:00
TestAttributes.cs Add initial Activity / Metric support (#183) 2025-04-02 11:09:05 -04:00