Slicer Discord
OpenSCAD Unit Testing and Documentation Tool – Modelo 3D imprimible de Thingiverse Thingiverse

OpenSCAD Unit Testing and Documentation Tool

por runsun
16 Descargas
8 Likes
0 Makes
Ver Modelo
**OpenSCAD_DocTest** is a library for *documentation* and *unit testing* of functions in [**OpenSCAD**](http://www.openscad.org). Both doc and tests are written in arrays and processed by `doctest()` and output to the console. It has different modes like doc only, test only, show tests as examples (i.e., no testing), etc, and capable of commenting on test cases easily, making it a good tool for demonstrating **demo of usages**.
Whichever mode it operates on, the output (in the console) can be copied and pasted to a doc editor (like LibreOffice Writer), and an api doc can be generated with very minor editing. The file openscad_doctest_api.html servers as a good demo for this feature.
The **unit test** feature helps to ensure quality, reduces maintenance burden, facilitate re-factoring, and, my favorite, allows for **test-first** or **test-driven programming**, i.e., write the expected outcome of a function first, then starts writing the code to see if it behaves as expected.
NOTE
Fuente
Thingiverse
Lo que necesitas para imprimir: Principiante Baja confianza
Pieza única
Soportes 1/3
Ensamblaje 0/3
Ajustes 1/3
Tamaño de cama 0/3
Postproceso 0/3
Impresora
FDM / FFF
Formato de archivo
STL
Material
TPU
Software
Cura, PrusaSlicer o similar
Aún no hay valoraciones
Aún no hay comentarios – ¡sé el primero!

Modelos similares

6 Sugerencias
Feed Blog Slicer Calculadora Búsqueda por imagen Enviar Contacto Discord ☕ Buy me a coffee
DE EN FR ES IT NL

Añadir a colección