Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Jan 15, 2026

Test suite had project-specific tests for Go and Python containers but not for Java and TypeScript, leaving test coverage incomplete.

Changes

Python test suite (test/mcp-client/test_serena.py):

  • Added test_serena_java_project() - creates Maven project structure with pom.xml and Java source files
  • Added test_serena_typescript_project() - creates TypeScript project with package.json, tsconfig.json, and TypeScript source with interfaces
  • Added serena-java to parametrized container list
  • Enhanced temp_workspace fixture with Java files

Go integration tests (test/integration/serena_test.go):

  • Added Java and TypeScript container test cases to TestSerenaContainerBasic
  • Enhanced createSampleProject() helper with Java project files

Test Coverage

All language-specific containers now have dedicated project tests following the same pattern:

Language Project Test
Go
Python
Java ✅ (new)
TypeScript ✅ (new)
Rust General tests only
C# General tests only

Tests validate container initialization, MCP client communication, and tool enumeration using proper language-specific project structures.


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI requested a review from lpcox January 15, 2026 06:52
Copilot stopped work on behalf of lpcox due to an error January 15, 2026 06:52
Copilot AI changed the title [WIP] Create Serena containers for packaging Add Serena MCP server containers for all supported languages Jan 15, 2026
Copilot AI changed the title Add Serena MCP server containers for all supported languages Add unified aw-serena container and MCP test client infrastructure Jan 15, 2026
Copilot AI changed the title Add unified aw-serena container and MCP test client infrastructure Add Java and TypeScript test coverage for Serena MCP containers Jan 15, 2026
@lpcox lpcox marked this pull request as ready for review January 15, 2026 17:21
@lpcox lpcox merged commit 576c56a into main Jan 15, 2026
1 check failed
@lpcox lpcox deleted the copilot/create-serena-containers branch January 15, 2026 17:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants