tcm

Metaclass based runtime generator of the test methods


Keywords
unittest, metaclass, python, python3, tcm
License
MIT
Install
pip install tcm==2.0.0

Documentation

version license Build Status Coverage Status

tcm (Test Case Meta)

This is primarily an excercise in Python metaprogramming which also lets me see GitHub, CI tools, and PyPI in action.

Things to develop:

  • a class method decorator to hold a table of arguments
  • a metaclass to automatically generate multiple test methods out of each decorated sample method

Tools to use:

  • tox to test the code with different Python versions
  • pylint and flake8 to keep individual commits clean
  • coverall to ensure 100% code coverage