sebnozzi / CodingDojoPython

Project template for coding-dojos, Python version

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Description

Minimal Python unit-test setup. Useful for Coding-Dojos.

Test framework

You can either choose the built-in unittest or the more flexible PyTest.

If using PyTest, you need to install it first (see below at "Dependencies").

You will find unit-test files written for each framework. Choose the one that works for you; feel free to delete the other one.

Dependencies

Install dependencies with:

pip install -r requirements.txt

Running tests

It is strongly recommended that you use a Python IDE (like PyCharm) to run the tests.

If you are using PyTest, you can also run them from the command-line with:

pytest

Alternatively, for unittest it is:

python -m unittest

About

Project template for coding-dojos, Python version

License:MIT License


Languages

Language:Python 100.0%