Skip to content

Feature/test coverage improvement

Mykhailo Dalchenko requested to merge feature/test-coverage-improvement into master

Description

Implement test coverage through unittest module

  • separate core code from main script
  • add test.py test class (integration tests only)
  • add test configurations
  • update CI

Related Issue

Closes #22 (closed)

How Has This Been Tested?

Tested in CI, coverage of 78% achieved. More coverage is not really required imho as not covered parts are related to the toml configurations failing basic validation. However if there would be a serious reason to add them it can be done easily.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

Merge request reports