Testing/ro: Difference between revisions
(Updating to match new version of source page) |
(Updating to match new version of source page) |
||
Line 1: | Line 1: | ||
<languages/> |
<languages/> |
||
{{Docnav |
{{Docnav |
||
|[[Debugging|Debugging]] |
|[[Debugging|Debugging]] |
||
|[[FreeCAD_Build_Tool|FreeCAD Build Tool]] |
|||
|[[Continuous Integration|Continuous Integration]] |
|||
}} |
}} |
||
[[Image:Workbench_Test.svg|thumb|128px|Test workbench icon]] |
[[Image:Workbench_Test.svg|thumb|128px|Test workbench icon]] |
||
⚫ | |||
<div class="mw-translate-fuzzy"> |
<div class="mw-translate-fuzzy"> |
||
Line 11: | Line 14: | ||
Aceasta este lista de aplicații de testare de la 0,15 Git 4207: |
Aceasta este lista de aplicații de testare de la 0,15 Git 4207: |
||
</div> |
</div> |
||
⚫ | |||
<div class="mw-translate-fuzzy"> |
<div class="mw-translate-fuzzy"> |
||
Line 82: | Line 83: | ||
=== Menu.MenuCreateCases === |
=== Menu.MenuCreateCases === |
||
Adăugați funcția de testare |
Adăugați funcția de testare |
||
<div class="mw-translate-fuzzy"> |
<div class="mw-translate-fuzzy"> |
Revision as of 18:58, 30 December 2020
Introducere
Aceasta este lista de aplicații de testare de la 0,15 Git 4207:
FreeCAD vine cu un cadru vast de testare. Bazele de testare se bazează pe un set de scripturi. Îngrijirea Python se află în modulul de testare.
You can run the tests from the command line, by using the -t
or --run-test
options.
Run all tests:
freecad --run-test 0
Run only some the specified unit test, for example:
freecad -t TestDraft
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.
Test functions
This is the list of test apps as of 0.15 git 4207:
TestAPP.All
Adăugați funcția de testare
BaseTests
Adăugați funcția de testare
UnitTests
Adăugați funcția de testare
Document
Adăugați funcția de testare
UnicodeTests
Adăugați funcția de testare
MeshTestsApp
Adăugați funcția de testare
TestDraft
Add test function
TestSketcherApp
Adăugați funcția de testare
TestPartApp
Adăugați funcția de testare
TestPartDesignApp
Adăugați funcția de testare
Workbench
Adăugați funcția de testare
Meniu
Adăugați funcția de testare
Menu.MenuDeleteCases
Adăugați funcția de testare
Menu.MenuCreateCases
Adăugați funcția de testare
- 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