Testing/it: Difference between revisions
Renatorivo (talk | contribs) No edit summary |
(Updating to match new version of source page) |
||
(6 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
<languages/> |
<languages/> |
||
{{docnav|Debugging|Continuous Integration}} |
{{docnav/it|[[Debugging/it|Correggere i bug]]|[[Continuous Integration/it|Integrazione continua]]}} |
||
[[Image:Workbench_Test.svg|64px]] |
[[Image:Workbench_Test.svg|64px]] |
||
⚫ | |||
<div class="mw-translate-fuzzy"> |
|||
{{TOCright}} |
|||
⚫ | |||
[[Test Framework/it|Test Framework]] non è in realtà un ambiente di modellazione, ma contiene un set di script [[Python/it|Python]] per eseguire diversi test sui componenti principali di FreeCAD, al fine di eseguire il debug dei problemi. Vedere anche come [[debugging/it|eliminare gli errori]]. |
|||
⚫ | |||
</div> |
|||
You can run the tests from the command line. |
|||
<div class="mw-translate-fuzzy"> |
|||
FreeCAD possiede una sua struttura di estensione per le prove. Le prove si basano su un insieme di script Python che si trovano nel modulo test. |
|||
</div> |
|||
Run all tests: |
|||
== Test functions == |
|||
{{Code|code= |
|||
This is the list of test apps as of 0.15 git 4207: |
|||
freecad --run-test 0 |
|||
}} |
|||
Run only some the specified unit test, for example: |
|||
{{Code|code= |
|||
freecad --run-test TestDraft |
|||
}} |
|||
== Funzioni di test == |
|||
⚫ | |||
=== TestAPP.All === |
=== TestAPP.All === |
||
Line 31: | Line 38: | ||
=== MeshTestsApp === |
=== MeshTestsApp === |
||
Add test function |
|||
=== TestDraft === |
|||
Add test function |
Add test function |
||
Line 60: | Line 70: | ||
[[Category:Developer Documentation/it]] |
[[Category:Developer Documentation/it]] |
||
[[Category:Test Framework]] |
[[Category:Test Framework/it]] |
||
[[Category:Workbenches]] |
[[Category:Workbenches/it]] |
Revision as of 20:51, 6 August 2019
Introduzione
Test Framework non è in realtà un ambiente di modellazione, ma contiene un set di script Python per eseguire diversi test sui componenti principali di FreeCAD, al fine di eseguire il debug dei problemi. Vedere anche come eliminare gli errori.
You can run the tests from the command line.
Run all tests:
freecad --run-test 0
Run only some the specified unit test, for example:
freecad --run-test TestDraft
Funzioni di test
Questa è la lista delle applicazioni di test di 0.15 Git 4207:
TestAPP.All
Add test function
BaseTests
Add test function
UnitTests
Add test function
Document
Add test function
UnicodeTests
Add test function
MeshTestsApp
Add test function
TestDraft
Add test function
TestSketcherApp
Add test function
TestPartApp
Add test function
TestPartDesignApp
Add test function
Workbench
Add test function
Menu
Add test function
Menu.MenuDeleteCases
Add test function
Menu.MenuCreateCases
Add test function
User documentation
- Getting started
- Installation: Download, Windows, Linux, Mac, Additional components, Docker, AppImage, Ubuntu Snap
- Basics: About FreeCAD, Interface, Mouse navigation, Selection methods, Object name, Preferences, Workbenches, Document structure, Properties, Help FreeCAD, Donate
- Help: Tutorials, Video tutorials
- Workbenches: Std Base, Arch, Assembly, CAM, Draft, FEM, Inspection, Mesh, OpenSCAD, Part, PartDesign, Points, Reverse Engineering, Robot, Sketcher, Spreadsheet, Start, Surface, TechDraw, Test Framework, Web
- Hubs: User hub, Power users hub, Developer hub