docs: write TESTING.md — test structure, googletest, and per-module test files #98
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Tier 3 — Infrastructure
File:
docs/TESTING.mdWhat this document should cover
Test infrastructure overview:
tests/lib/submodule (github.com/google/googletest)tests/CMakeLists.txtctest(invoked viapixi run test)Test directory structure:
Running tests:
pixi run test/pixi run test-debug/pixi run test-releasebuild.yml): C++ tests, Python CLI tests, GUI testsTest categories in CI:
Test fixtures:
assytest.FCStd— assembly test fixture (what it contains, when to use)assytestpart.FCStd— part test fixtureWriting new tests:
tests/src/, include inCMakeLists.txtPer-module test files — document where module-specific tests live (within
src/Mod/*/directories vs centralizedtests/)Key source files
tests/CMakeLists.txt— test build configtests/src/— test implementations.gitea/workflows/build.yml— CI test stepspixi.toml— test task definitionsAcceptance criteria
Superseded by the mdBook documentation structure set up in PR #105. The content scope of this issue is now covered by the pages in
docs/src/. Remaining content work is tracked in #104.