Python Unit Tests with Docker and Travis CI for External Workbenches

Here's the place for discussion related to coding in FreeCAD, C++ or Python. Design, interfaces and structures.
User avatar
gbroques
Posts: 6
Joined: Thu Jan 23, 2020 3:28 am
Location: St. Louis, Missouri

Python Unit Tests with Docker and Travis CI for External Workbenches

Postby gbroques » Sat Feb 08, 2020 11:02 pm

Hi all,
I threw together a proof-of-concept repo for running python unit tests in a Docker container with Travis CI:
https://github.com/gbroques/freecad16-unit-tests-poc

My plan is to build upon this pattern to add unit tests and continuous integration for an external workbench.

Just thought I'd share in case someone else had similar ideas, and wanted a reference point.

Let me know your thoughts!

---

NOTE: I have requirements to use legacy FreeCAD 0.16, so that's what this uses.