KratosMultiphysics
KRATOS Multiphysics (Kratos) is a framework for building parallel, multi-disciplinary simulation software, aiming at modularity, extensibility, and high performance. Kratos is written in C++, and counts with an extensive Python interface.
Public Member Functions | Public Attributes | List of all members
testing.run_tests.Commander Class Reference
Inheritance diagram for testing.run_tests.Commander:
Collaboration diagram for testing.run_tests.Commander:

Public Member Functions

def __init__ (self)
 
def RunTestSuit (self, application, applicationPath, path, level, verbose, command, timer)
 Calls the script that will run the tests. More...
 
def RunCppTests (self, applications, verbosity=1)
 Calls the cpp tests directly. More...
 

Public Attributes

 process
 
 exitCode
 

Constructor & Destructor Documentation

◆ __init__()

def testing.run_tests.Commander.__init__ (   self)

Member Function Documentation

◆ RunCppTests()

def testing.run_tests.Commander.RunCppTests (   self,
  applications,
  verbosity = 1 
)

Calls the cpp tests directly.

◆ RunTestSuit()

def testing.run_tests.Commander.RunTestSuit (   self,
  application,
  applicationPath,
  path,
  level,
  verbose,
  command,
  timer 
)

Calls the script that will run the tests.

   Input
   -----
   application: string
       Name of the application that will be tested.

   path: string
       Absoulte path with the location of the application.

   level: string
       minimum level of the test that will be run if possible.

   verbose: int
       detail of the ouptut. The grater the verbosity level, the greate the
       detail will be.

   command: string
       command to be used to call the tests. Ex: Python, Python3

   timer: integer
       limit time considered to execute the tests

Member Data Documentation

◆ exitCode

testing.run_tests.Commander.exitCode

◆ process

testing.run_tests.Commander.process

The documentation for this class was generated from the following file: