check_unittests

Module: tests.check_unittests

This module checks whether the unittests for every nodes exist. If [-l] option is specified, the result will be printed into log file ‘check_unittests_logger_YYYY-MM-DD_HH-MM-SS.log’ in the current directory.

Options
-l:– prints the result into log file
-log:– prints the result into log file
Author:Titiruck Nuntapramote (titiruck.nuntapramote@dfki.de)
Created:2012/01/03

Function Summary

existing_test(lst, dir, files) Function to get a list of existing test
get_class(module, lst) Function to get a list of class.

Functions

existing_test()

pySPACE.tests.check_unittests.existing_test(lst, dir, files)[source]

Function to get a list of existing test

Arguments
lst:– The test suite, to which the tests are added.
dir:– The directory which contains the files
files:– List of files

get_class()

pySPACE.tests.check_unittests.get_class(module, lst)[source]

Function to get a list of class. For now, this is only used to get classes in datatype.

Arguments
module:– Module to get classes from
lst:– list of classes