utKit (module)

Unit testing tools

Classes

utKit(moduleDirectory[, dbConn])

Override dryx utKit

Sub-modules

utKit(moduleDirectory[, dbConn])

Override dryx utKit

class utKit(moduleDirectory, dbConn=False)[source]

Bases: fundamentals.utKit.utKit

Override dryx utKit

get_project_root()[source]

Get the root of the ``python`` package - useful for getting files in the root directory of a project

Return

  • rootPath – the root path of a project

refresh_database()[source]

Refresh the unit test database

setupModule()[source]

The setupModule method

Return

  • log – a logger

  • dbConn – a database connection to a test database (details from yaml settings file)

  • pathToInputDir – path to modules own test input directory

  • pathToOutputDir – path to modules own test output directory

tearDownModule()[source]

The tearDownModule method