Testing/it: Difference between revisions

From FreeCAD Documentation
No edit summary
(Updating to match new version of source page)
Line 6: Line 6:
{{TOCright}}
{{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]].
[[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]].

You can run the tests from the command line.

Run all tests:
{{Code|code=
freecad --run-test 0
}}

Run only some the specified unit test, for example:
{{Code|code=
freecad --run-test TestDraft
}}


== Funzioni di test ==
== Funzioni di test ==
Line 26: Line 38:


=== MeshTestsApp ===
=== MeshTestsApp ===
Add test function

=== TestDraft ===
Add test function
Add test function



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