dbschenker / contribution-checker

A tool to identify certain authors in repositories and analyze their commits. Helpful to check if and to which degree an organization's members have contributed to third-party projects.
Apache License 2.0
3 stars 1 forks source link

Create unit tests #3

Open mxmehl opened 1 year ago

mxmehl commented 1 year ago

It would be great to have unit tests, e.g. with pytest.

The setup could be to create a mock Git repo, create some commits from different authors, and check the output against the JSON we'd expect.

mxmehl commented 1 year ago

My experience with pytest and other suites is highly limited so it'd be great if someone else took this over.