Skip to content

Add language server unit tests - #141

Open
rcosta358 wants to merge 2 commits into
codex/issue-125-test-workflowfrom
codex/issue-129-server-unit-tests
Open

rcosta358 wants to merge 2 commits into
codex/issue-125-test-workflowfrom
codex/issue-129-server-unit-tests

Conversation

@rcosta358

@rcosta358 rcosta358 commented Oct 2, 2026 •

Copy link
Copy Markdown
Collaborator

Adds 24 JUnit tests for source-folder selection, Windows-style file URIs, source positions, diagnostic DTOs, and context conversion. Runs server tests in CI.

Validated with Java 21: Maven tests/package, client lint, TypeScript checks, and extension installation.

Closes #129. Based on #138 for the CI workflow.

Generated by Codex.

@rcosta358 rcosta358 added the testing Testing related label Oct 2, 2026
@rcosta358 rcosta358 changed the title test: add language-server unit tests Add language server unit tests Oct 2, 2026

@CatarinaGamboa CatarinaGamboa left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed with Claude Code (reviewer + adversarial agents per PR, findings checked against the code before posting).


- name: Test server
working-directory: server
run: mvn -B test

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The server tests run twice per CI run. This step runs mvn -B test, and the "Build server" step below runs mvn -B package, which goes through the test phase again. Either drop this step and let package run them, or add -DskipTests to the package step.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

testing Testing related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants