Open lordofhyphens opened 6 years ago
Quickly running the tests on Windows (this assumes you can build Slic3r and have built it at least once)
/path/to
with the actual path to your Slic3r checkout):
Invoke-Expression "$(perl -Mlocal::lib=/path/to/slic3r/local-lib)"
perl t/20_print.t
to execute the single test.For Linux or OSX (using bash):
/path/to
with the actual path to your Slic3r checkout):
eval "$(perl -Mlocal::lib=/path/to/slic3r/local-lib)"
perl t/20_print.t
to execute the single test.
Version
1869b06
The tests for libslic3r could use more fleshing out around the invalidation logic (changing what config options invalidates what).
The only real complexity here is that some reverse-engineering needs to be done around the invalidation of regions to properly test things like perimeters (you need to set up some model objects, etc).
Ideally, I think that every configuration option that Slic3r supports should have its behavior tested for regression purposes, but I think that testing the important representative samples will get us by for now.
Related to #4364
Refer to 7b8369d for a simple example (invalidating skirt step based on changing skirt count).