From 4e448fd1da1ad6f3f51d9e5ad4e2c0dd332af98c Mon Sep 17 00:00:00 2001 From: GERALD NICOLAS Date: Fri, 15 Jan 2021 09:52:15 +0100 Subject: [PATCH] =?utf8?q?Quelques=20pr=C3=A9cisions?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/Tools/blocFissure/doc/testcases.rst | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/src/Tools/blocFissure/doc/testcases.rst b/src/Tools/blocFissure/doc/testcases.rst index 47be3dc5e..34ae5c8f7 100644 --- a/src/Tools/blocFissure/doc/testcases.rst +++ b/src/Tools/blocFissure/doc/testcases.rst @@ -120,13 +120,21 @@ All 12 bended pipe test cases are not shown here because they are relatively sim Running test cases ===================================== -In SALOME interface: +All the files for these test cases are stored in the directory of the installation of SALOME: -0) **Generate med and breps files.** Once the files are generated, they are saved in SALOME source files. There is no need to generate them again:: +``Salome-VXXXX_package-YY/modules/SMESH_VXXXX/lib/python3.6/site-packages/salome/blocFissure`` + +The test cases can be runned either through the python window of the SALOME GUI or with a python script. + +0) **Generate med and breps files.**:: from blocFissure.materielCasTests import genereMateriel -Then the user can either launch all test cases, several at once or just one : +Once the files are generated, they are saved into the directory of the installation of SALOME: + +``Salome-VXXXX_package-YY/modules/SMESH_VXXXX/lib/python3.6/site-packages/salome/blocFissure/materielCasTests`` + +There is no need to generate them again. 1) **To execute all test cases**:: @@ -134,11 +142,11 @@ Then the user can either launch all test cases, several at once or just one : 2) **To execute only selected test cases**: -modify execution_Cas.py file and change:: +modify the file ``execution_Cas.py`` and change:: runall = False. #old : True -And change from 0 to 1 of the number of the test you want to launch:: +And change from 0 to 1 of the index of the test you want to launch:: torun = [ 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,] -- 2.39.2