- Anonymous
Author | Committer | Branch | Timestamp | Parent |
---|---|---|---|---|
vocx-fc | yorik | master | 2020-02-02 06:36:49 | master 5a443e8d |
Changeset | Draft: add script to produce a test file as example The test script can be run by the program's executable or run as a macro. ``` freecad draft_test_objects.py ``` It can also be used as a Python module within the program to create a test file on demand. ``` import drafttests.draft_test_objects as dt dt.create_test_file() ``` The produced test file will be added in a different commit once this commit is merged. The idea is to have a test file created by a certain stable version of the master branch. Then as the code continues to change and grow, this file can be opened with future versions of the program to test for compatibility and regressions. |
|||
mod - src/Mod/Draft/CMakeLists.txt | Diff File | |||
add - src/Mod/Draft/drafttests/draft_test_objects.py | Diff File |