Skip to content

Commit 5baec69

Browse files
committed
test(lsp): split language server tests into feature fixtures
1 parent 0db1868 commit 5baec69

12 files changed

Lines changed: 4590 additions & 4540 deletions

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ All notable changes to FScript are documented in this file.
1313
- Optimized `FScript.LanguageServer.Tests` startup by building the language server once per run instead of once per test.
1414
- Reused a single LSP server process across `FScript.LanguageServer.Tests` and added per-test document cleanup for isolation, reducing suite runtime substantially.
1515
- Removed `clean` from `publish-all` to avoid redundant CI cleanup, restored one LSP process per test for stronger isolation (while keeping build-once), and explicitly disabled AOT for LanguageServer publish.
16+
- Split `FScript.LanguageServer.Tests` into feature-oriented files with shared wire/client/fixture helpers to reduce CI compile bottlenecks from the previous monolithic test file.
1617

1718
**Full Changelog**: https://github.com/MagnusOpera/FScript/compare/0.32.0...0.33.0
1819

tests/FScript.LanguageServer.Tests/FScript.LanguageServer.Tests.fsproj

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,15 @@
99
</PropertyGroup>
1010

1111
<ItemGroup>
12-
<Compile Include="LspServerTests.fs" />
12+
<Compile Include="LspTestWire.fs" />
13+
<Compile Include="LspTestClient.fs" />
14+
<Compile Include="LspTestFixture.fs" />
15+
<Compile Include="LspCoreTests.fs" />
16+
<Compile Include="LspCompletionAndSignatureTests.fs" />
17+
<Compile Include="LspHoverAndInlayTests.fs" />
18+
<Compile Include="LspNavigationTests.fs" />
19+
<Compile Include="LspSymbolsAndActionsTests.fs" />
20+
<Compile Include="LspCustomRequestsTests.fs" />
1321
<Compile Include="Program.fs" />
1422
</ItemGroup>
1523

0 commit comments

Comments
 (0)