Skip to content
This repository has been archived by the owner on Feb 23, 2022. It is now read-only.

Hobby programming project, with the intent of simplifying overtime calculation(s).

License

Notifications You must be signed in to change notification settings

x10an14/overtime-calculator

Repository files navigation

Overtime-Calculator

Build Status Coverage Status

Hobby programming project, with the intent of simplifying overtime calculation(s).

Major dependencies:

Intended features:

  • Read in input from CSV files
    • (Rows of "start time" and "end time")
  • Have it keep track of current surplus/deficit
    • Have it also keep track of surplus/deficit per week
    • Specify desired surplus/deficit to aim for (maybe also deadline so as to aim for a vacation?)
  • Display these intended features in a simple web GUI
    • (Maybe do this in a separate NodeJS repo?)
  • Split out library logic

CLI

  • Run (just) tests: pipenv run python -m pytest tests
    • py.test is used, and lies in Pipfile. Execute command from git repo root.
  • Run test Coverage: make test (Runs above test-command and creates coverage report).
  • Open coverage report in browser: pipenv run coverage html && <browser> htmlcov/index.html
    • Requires you to have run the equivalent of python -m coverage report -m, which make test does.

Tests:

The tests are composed by with the Hypothesis framework, and run with py.test. The tests should lie in the tests/ folder inside the git repo. Any data used for integration testing lies inside tests/data/.

About

Hobby programming project, with the intent of simplifying overtime calculation(s).

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages