Commit Graph

22 Commits

Author SHA1 Message Date
wmayer
e48964fad5 Test: apply clang format 2023-09-04 07:22:09 -05:00
Benjamin Alterauge
086547c490 List all available test units, if none is selected.
From the command line (FreeCADCmd) only which not need the GUI.

A better description

Grammatically improvement

Use PrintMessage
2022-05-31 02:03:11 +02:00
luz paz
6394fed4e6 Fix various typos
Found via `codespell -q 3 -L aci,ake,aline,alle,alledges,alocation,als,ang,anid,apoints,ba,beginn,behaviour,bloaded,bottome,byteorder,calculater,cancelled,cancelling,cas,cascade,centimetre,childrens,childs,colour,colours,commen,connexion,currenty,dof,doubleclick,dum,eiter,elemente,ende,feld,finde,findf,freez,hist,iff,indicies,initialisation,initialise,initialised,initialises,initialisiert,inout,ist,kilometre,lod,mantatory,methode,metres,millimetre,modell,nd,noe,normale,normaly,nto,numer,oce,oder,ontop,orgin,orginx,orginy,ot,pard,parm,parms,pres,programm,que,rady,recurrance,rougly,seperator,serie,sinc,strack,substraction,te,thist,thru,tread,uint,unter,vertexes,wallthickness,whitespaces -S ./.git,*.po,*.ts,./ChangeLog.txt,./src/3rdParty,./src/Mod/Assembly/App/opendcm,./src/CXX,./src/zipios++,./src/Base/swig*,./src/Mod/Robot/App/kdl_cp,./src/Mod/Import/App/SCL,./src/WindowsInstaller,./src/Doc/FreeCAD.uml,./build/doc/SourceDocu`
2022-01-12 14:50:39 -06:00
luz paz
26636dbbad Test: Fix header uniformity, whitespace, doxygen headers 2020-11-18 08:58:06 +01:00
Philipp M. Fischer
0787ed8fbf fix to flush stdout after unit test execution
- added statement to flush the stdout
2019-10-05 16:46:45 +02:00
wmayer
1d11f742ca now each module registers its unit tests itself 2018-08-28 13:14:16 +02:00
looooo
6971114cc3 add python syntax checker 2018-05-23 19:13:54 +02:00
Markus Lampert
5e4533c959 Removing dependency on lxml - fixed some bugs on deleting a job and all it's sub components. 2017-06-21 11:41:35 -07:00
Markus Lampert
bd9ae7bc25 Disable exception catching in tests to figure out why TestPathApp cannot be imported on the build system. 2017-06-21 11:41:35 -07:00
Markus Lampert
1f4d010f40 Restored exception masking - although i'm not sure it's a good thing. 2017-01-28 11:46:17 -08:00
Markus Lampert
19798c1e08 Refactored cmake file once again - exposing root exception. 2017-01-28 11:46:17 -08:00
Markus Lampert
74d4a4322f Hooked Path tests into global unit test target. 2017-01-28 11:46:16 -08:00
Ian Rees
554e8af594 Allow unit test suite to run with missing modules. 2016-08-10 13:57:23 +02:00
WandererFan
8f0fc1aadf Add unit tests for TechDraw 2016-07-11 15:32:16 +02:00
Bruce Lacey
131ce6834a Exit with non-zero status when unit tests fail.
1.  Enhanced TestApp.py to return the unittest TestResult object to the calling method
2.  FreeCADTest.py now checks the TestResult object.  If all tests pass, FreeCADTest.py exits with a 0 however if any tests fail, then it exits with 1.  FreeCADTest.py calls os._exit() with the exit code instead of sys.exit() because Base::Interpreter:SystemExitException intercepts sys.exit() calls and swallows the exit code so there is no way to propogate the non-zero code from the python test cases through the interpreter to the shell in the current call stack.
2016-03-09 21:57:57 -08:00
wmayer
16819e29bb + write unit tests for Spreadsheet and expression stuff 2016-01-26 15:07:29 +01:00
wmayer
b0d6ffc5b2 + clean-up, fix and new methods added in unit test module 2015-10-19 21:51:43 +02:00
Przemo Firszt
aaf1495fde Test: Fix formatting in TestApp.py
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-07-27 14:03:44 +01:00
wmayer
9f9df364fd + apply Debian patch: unittest to stdout 2015-07-09 15:29:45 +02:00
Yorik van Havre
3b8708ef71 Arch: Added test suite 2013-08-15 19:24:54 -03:00
Yorik van Havre
2aacbf46e1 Draft: Added test suite 2013-08-15 19:24:54 -03:00
wmayer
120ca87015 + unify DLL export defines to namespace names
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5000 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-10-10 13:44:52 +00:00