Files
gears/tests/data/projekt_001/README.md
Lorenz Lechner be58b5856f tests: pytest, visual tests (projekt_001), CI (pylint+visual, update-references)
- Switch from unittest to pytest (test_gears.py, xfail for OCC helical extrusion)
- Add visual regression tests (freecad.visual_tests): test_visual_projects.py, projekt_001
- Pixi: test/test-visual/test-visual-xvfb/create-references/clean-test, create-references-xvfb
- GitHub: Pylint workflow on push, pull_request, workflow_dispatch; visual tests on Linux (xvfb)
- GitHub: Update reference images workflow (workflow_dispatch)
- setup-pixi v0.9.4, pixi v0.44.0, checkout v4
- .gitignore: artifacts/, .pytest_exitstatus

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-14 21:02:35 +01:00

509 B
Raw Blame History

projekt_001 Involute gear visual test

Place involute_gear_test.FCStd in this folder (same directory as metafile.yaml).

Then create or update reference images:

  • First time / missing references:
    pixi run create-references (or set VISUAL_TEST_REFERENCE_MODE=create_missing and run pixi run test-visual).
  • Update all references (e.g. after FreeCAD/OCC change):
    pixi run create-references.

Run visual tests: pixi run test-visual (requires a display, or use xvfb in CI).