terminusdb-client-python
terminusdb-client-python copied to clipboard
Increase test coverage
The coverage now is not very good 😞 :

So to make it better, do the following:
- Pick a file that has < 80% coverage 👎🏻
- Check the comment below to see if someone has already taken that file
- Comment below which file you are going to work on. If you are only taking a part of the file, please state clearly which methods are yours.
- After you have written new tests (that passes ✅ when run
tox, details here), check the new coverage by runningmake coveragein your terminal (at the dir of the repo). The goal is 80% 💪🏻 - When you send your PR, please link this issue by putting
see #123in the comment of your PR. Also, mention the new coverage. ⭐
Tips for writing the tests:
- Most of the functions have the JavaScript equivalent in the JS client, you can use the result of the JS client as the "answer" for the test
- You can use the TerminusDB console to check what the correct Json-LD of a query is (JS to Json-LD)
Working on this issue 😄
Pump coverage session scheduled every Friday. Who's interested?
@Cheukting sounds like a plan. 🚀