mirror of
https://projects.blender.org/blender/blender.git
synced 2025-01-22 07:22:12 -05:00
1ad083dabf
"Expected textual data output" comparison based tests for FBX, OBJ, PLY, STL import. - There's a tests/python/modules/io_report.py that can produce a "fairly short text description of the scene" (meshes, objects, curves, cameras, lights, materials, armatures, actions, images). About each object, it lists some basic information (e.g. number of vertices in the mesh), plus a small slice of "data" (e.g. first few values of each mesh attribute). - Custom import parameters, if needed, can be provided by having a sidecar .json file next to imported file (same basename, json extension), that would have a single json object with custom arguments. - Add FBX test coverage, with 46 fairly small files (total size 3.8MB) covering various possible cases (meshes, animations, materials, hierarchies, cameras, etc. etc.). - Switch OBJ/PLY/STL import tests to the above machinery, remove C++ testing code. Pull Request: https://projects.blender.org/blender/blender/pulls/132624 |
||
---|---|---|
.. | ||
colored_print.py | ||
global_report.py | ||
imbuf_test.py | ||
io_report.py | ||
mesh_test.py | ||
render_report.py | ||
test_utils.py |