Skip to content

test: run every test project in CI and split TKCode.Arc.Tests by package - #158

Merged
239573049 merged 1 commit into
mainfrom
ci/run-all-test-projects
Nov 17, 2026
Merged

239573049 merged 1 commit into
mainfrom
ci/run-all-test-projects

Conversation

@239573049

Copy link
Copy Markdown
Member

Closes #145.

What changes

  • CI runs every test project. ci.yml and ci-macos.yml run each headless and pure test project as its own job, in parallel. Foundation.Tests, BaseTheme.Tests, Mobile.Tests and A2UI.Tests were built but never run; they all pass (84 / 29 / 143 / 419 + 96 skipped).
  • TKCode.Arc.Tests is split by package. Each test app enables only the packages it tests:
Project Tests Local run
TKCode.Arc.Tests (controls, Markdown, Highlighting) 2471 1 m 5 s
TKCode.Arc.Blocks.Tests 5677 2 m 34 s
TKCode.Arc.Special.Tests 3356 1 m 28 s
TKCode.Arc.Extras.Tests (AdvancedCharts, Dock, Workflow, Terminal, Video, Pdf) 1180 34 s
TKCode.Arc.Integration.Tests (token baselines, Pixel, Corners, template contracts) 59 24 s
  • Same tests as before. 2471 + 5677 + 3356 + 1180 + 59 = 12,743, the same as --list-tests on the old assembly.
  • Shared code. Shared helpers (TestHelpers, FocusRingInput, NullTemplateProbe, CoreFrames, the page-viewer fakes and the glyph-run recorder) are linked source in tests/Shared/. The source projects' InternalsVisibleTo lists gain the new assemblies.
  • Two kinds of tests moved because they need other packages:
    • the AgentStatus viewport test now sits in Special.Tests;
    • the template contract tests (they cover Blocks controls) now sit in Integration.Tests.
  • Docs and scripts. AGENTS.md, the READMEs and tools/dev/integrate.sh name the new projects.

Notes

  • One flaky test. InlineEditTests.Without_The_Reserve_The_Actions_Overlay_What_Follows_While_Editing failed once while four test projects ran at the same time on one machine. It passed alone and in a second full run of TKCode.Arc.Tests.
  • Parallelization inside a project is unchanged. PerTest isolation and the disabled parallelization stay as they were, as Tests: run every test project in CI and split TKCode.Arc.Tests by package #145 says.

🤖 Generated with Claude Code

…age (#145)

- CI (ci.yml, ci-macos.yml) runs every headless and pure test project as its own job, in parallel; Foundation,
  BaseTheme, Mobile and A2UI tests were built but never run.
- TKCode.Arc.Tests keeps the controls of TKCode.Arc (with Markdown and Highlighting); Blocks, Special, the extra
  packages (AdvancedCharts, Dock, Workflow, Terminal, Video, Pdf) and the tests that need every package (token
  baselines, Pixel, Corners, template contracts) move to TKCode.Arc.Blocks.Tests, .Special.Tests, .Extras.Tests and
  .Integration.Tests. Each test app enables only the packages it tests.
- Shared helpers are linked source in tests/Shared/. The same 12,743 tests run before and after.

Closes #145

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@239573049
239573049 merged commit bcfeff8 into main Nov 17, 2026
23 checks passed
@239573049
239573049 deleted the ci/run-all-test-projects branch November 17, 2026 18:47
239573049 added a commit to AIDotNet/ArcGallery that referenced this pull request Nov 17, 2026
…Code.Arc#145)

TKCode.Arc split its test project (AIDotNet/TKCode.Arc#158): TestHelpers and NullTemplateProbe are in tests/Shared, and
PdfTestSupport is in TKCode.Arc.Extras.Tests.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@239573049 239573049 mentioned this pull request Nov 17, 2026
12 tasks done
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.

Tests: run every test project in CI and split TKCode.Arc.Tests by package

1 participant