1 Developer Guides {#dev_guides}
6 This directory contains sources of Open CASCADE Technology (OCCT), a collection
7 of C++ libraries providing services for 3D surface and solid modeling, CAD data
8 exchange, and visualization. OCCT can be best applied in development of
9 software dealing with 3D modeling (CAD), manufacturing / measuring (CAM) or
10 numerical simulation (CAE).
12 The OCCT code is subject to the Open CASCADE Technology Public License Version
13 6.6 (the "License"). You may not use the content of the relevant files except in
14 compliance with the License. Please see the LICENSE file or obtain a copy of the
15 License at http://www.opencascade.org and read it completely before using this
20 OCCT automatic testing system is integrated with @ref draw "DRAW Test Harness",
21 a console application based on Tcl (a scripting language).
22 All tests are run from DRAW command prompt (run **draw.bat** or
23 **draw.sh** to start it).
25 Standard OCCT tests are located in subdirectory **tests** of the OCCT root
26 folder. This location is set as default at DRAW start (see environment variable
27 _CSF_TestScriptsPath_ defined in **src/DrawResources/DrawDefaults**).
29 The tests are organized in three levels:
30 - Group: a group of related test grids, usually testing a particular subset of OCCT functionality (e.g. *blend*).
31 - Grid: a set of test cases within a group, usually aimed at testing a particular aspect or mode of execution of the relevant functionality (e.g. *buildevol*).
32 - Test case: a script implementing an individual test (e.g. *K4*).
34 To run all tests, type command *testgrid*:
38 For running only a group or a grid of tests, give additional arguments indicating the group and (if needed) the grid name:
40 Draw[]\> testgrid blend simple
42 As the tests progress, the result of each test case is reported.
43 At the end of the log a summary of test cases is output, including the list of
44 detected regressions and improvements, if any.
45 The tests are considered as non-regressive if only OK, BAD (i.e. known problem),
46 and SKIPPED (i.e. not executed, typically because of lack of a data file)
47 statuses are reported.
49 To run a single test, type command 'test' followed by the names of
50 group, grid, and test case.
52 Draw[1]\> test blend simple A1
53 CASE blend simple A1: OK
55 To see intermediate commands and their output during the test execution,
56 add one more argument '-echo' at the end of the command line, or type 'dlog get'
57 after test completion.
59 For more information consult \subpage dev_guides__tests
64 \subpage dev_guides__documentation
69 \subpage dev_guides__wok
74 \subpage dev_guides__building
79 \subpage dev_guides__cdl