Testing/fr: Difference between revisions

From FreeCAD Documentation
(Updating to match new version of source page)
(Created page with "== Menu Test ==")
Line 27: Line 27:
}}
}}


== Test menu ==
== Menu Test ==


Each top level directory in FreeCAD should have a file with the tests that can be run for that particular workbench or module. The file usually starts with the word {{incode|Test}}.
Each top level directory in FreeCAD should have a file with the tests that can be run for that particular workbench or module. The file usually starts with the word {{incode|Test}}.

Revision as of 10:00, 29 October 2019

Introduction

L'atelier Test n'est pas vraiment un atelier de modélisation, mais il contient un ensemble de scripts Python permettant d'effectuer différents tests sur les composants principaux de FreeCAD, afin de résoudre les problèmes. Voir aussi Debugging.

Vous pouvez lancer les tests depuis la ligne de commande.

Lancer tous les tests :

freecad --run-test 0

Exécutez uniquement quelques tests spécifiques, par exemple :

freecad --run-test TestDraft

Menu Test

Each top level directory in FreeCAD should have a file with the tests that can be run for that particular workbench or module. The file usually starts with the word Test.

To run a test from within FreeCAD, switch to the Test Workbench, then Test commands → TestToolsGui → Self test → Select test name, then enter the name of the Python file with the tests; for example, for the Draft Workbench, this would be TestDraft, then press Start.

Fonctions de test

Voici la liste des applications de test à partir de 0.15 Git 4207 :

TestAPP.All

Ajoute la fonction de test

BaseTests

Ajoute la fonction de test

UnitTests

Ajoute la fonction de test

Document

Ajoute la fonction de test

UnicodeTests

Ajoute la fonction de test

MeshTestsApp

Ajoute la fonction de test

TestDraft

Ajoute la fonction de test

TestSketcherApp

Ajoute la fonction de test

TestPartApp

Ajoute la fonction de test

TestPartDesignApp

Ajoute la fonction de test

Workbench

Ajoute la fonction de test

Menu

Ajoute la fonction de test

Menu.MenuDeleteCases

Ajoute la fonction de test

Menu.MenuCreateCases

Ajoute la fonction de test