Skip to content

Repository files navigation

Sample Project

Description

Sample project for:

  • Virtual Envirnment
  • Folder Structure
  • __init__.py
  • unittest
  • GitHub Actions

Setup

Run scripts as a module

$ python -m src.func_00
$ python -m src.class_00
$ python -m test.test_func_00
$ python -m test.test_class_00
$ python -m unittest discover test
$ python -m coverage run -m unittest discover test
$ python -m coverage report
$ python -m coverage html

Run tests with coverage using the script

$. run_unittest_coverage.sh

Then open htmlcov/index.html in your browser, to see a report.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages