New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create integration tests for some major/bigger projects #3884
Comments
This looks like a good step forward. As a heavy user of NopSCADlib I have a strong interest that future releases of OpenSCAD don't break that library. I imagine users of the other libraries feel the same. Unfortunately the OpenSCAD community is not very vocal, so it is difficult to know how much each of these libraries is being used, and what the edge cases are. |
To test NopSCADlib and also to test OpenSCAD versions I run Images are generated to a temp file and compared with ImageMagick, using a lossy compare like the OpenSCAD tests, but it is a lot more sensitive. When the number of changed pixels goes over a threshold it updates the permanent png and leaves an After I added this mitigating commit nophead/NopSCADlib@f0c25d3 the image changes are just the small change to text and the STL changes are the small last digit floating point changes discussed in the forum. However the example is too simple to illustrate some of the problems, so I will update it later to make it more representative. I also sometimes rebuild all my projects and see if any of the gallery pictures change, but that takes hours.
|
The point of having this separate from the normal CI would be to also allow long runing test. Right now with the current test suite running almost 1500 tests, we did hit CI timeouts so some of the heavier tests are already disabled. Running scheduled should even allow for a staggered coverage, allowing even multiple-hours runs every month or something like that. That's probably something for step 2, we first need to get this going and see how the small hosted VM handles this, but right now this machine is mostly just idle. Sounds like starting with the |
I like the idea of running staggered tests to allow large coverage without hitting host limits. |
Note that
|
This is meant to track down regressions against more real-world designs to cover more ground than just with the small targeted scripts in the CI test suite.
Target would be to run regularly in a docker container on the build server using scheduler.
Some ideas to cover in comparison between latest release against nightly build:
Possible designs:
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: