bdk-blender/tests/utils/readme.rst
Campbell Barton 01bc51e7eb Tests: move utilities into their own directory
These programs don't run as part of automated tests but can be useful
utilities for developers to expose issues or bisecting
(in the case of event simulation).
2023-09-27 16:50:09 +10:00

663 B
Raw Permalink Blame History

Test Utilities

These tests are not intended to run as part of automated unit testing, rather they can be used to expose issues though stress testing or other less predictable actions that arent practical to include in unit tests.

Examples include:

  • Loading many blend files from a directory, which can expose issues in file reading.

  • Running operators in various contexts which can expose crashes.

  • Simulating user input for so git bisect can be performed on bugs that require user interaction.

  • Fuzz testing file importers & file format support.

Note that we could make reduced versions of these tests into unit tests at some point.