- 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>
509 B
509 B
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 setVISUAL_TEST_REFERENCE_MODE=create_missingand runpixi 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).