Metaclass based runtime generator of the test methods
Project description
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 versionspylint
andflake8
to keep individual commits cleancoverall
to ensure 100% code coverage
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
tcm-2.0.0.tar.gz
(7.6 kB
view details)
Built Distribution
tcm-2.0.0-py3-none-any.whl
(5.4 kB
view details)
File details
Details for the file tcm-2.0.0.tar.gz
.
File metadata
- Download URL: tcm-2.0.0.tar.gz
- Upload date:
- Size: 7.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.0 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.9.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b837cd63d430c1ecd89bf671b5861b4af0eca3d727fe90adaf9e7f969dbf2a60 |
|
MD5 | e0a1583d57e42a0c16448f371b5fdbf6 |
|
BLAKE2b-256 | 95522281cf1d64eb10da6bf812c6b14ee01fff58362fdc4242a635aee7f5a453 |
Provenance
File details
Details for the file tcm-2.0.0-py3-none-any.whl
.
File metadata
- Download URL: tcm-2.0.0-py3-none-any.whl
- Upload date:
- Size: 5.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.0 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.9.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d8913784c067bbc91e964569b058933a3874ef84d1b8ad0acbbad2ae53d11236 |
|
MD5 | e322bdf5fb1e4ec6c32b8891a554f0cc |
|
BLAKE2b-256 | e43dc79415d66ba24d5fa749796010826293d348d810d13ed51eb8f07bd57e0a |