unna97 / twarc2sql

This converts the output jsonl file twarc2 api to sql.
https://twarc2sql.readthedocs.io
MIT License
0 stars 0 forks source link

Feature Requests: Add tests for all functions #8

Open unna97 opened 1 year ago

unna97 commented 1 year ago

Is your feature request related to a problem? Please describe. Add the tests for all functions & add GitHub action to test them automatically.

Few useful resources:

Add coverage to check automatically test coverage. https://coverage.readthedocs.io/en/7.2.3/ https://app.codecov.io/gh/unna97/twarc2sql/new

(- Split this feature into multiple issues?)

unna97 commented 1 year ago

For SQL database tests: https://coderpad.io/blog/development/a-guide-to-database-unit-testing-with-pytest-and-sqlalchemy/

unna97 commented 1 year ago

18 tries to solve this issue