Scribe-Data icon indicating copy to clipboard operation
Scribe-Data copied to clipboard

Add missing tests for files with low coverage

Open axif0 opened this issue 8 months ago • 4 comments

Terms

Behavior

The following files have low test coverage. Missing lines are listed below. We need to add test cases to improve coverage.

File Path Stmts Miss Cover Missing Lines
check_query_forms.py 226 190 16% 56-69, 89-93, 113-131, 151-153, 173-195, 216-223, 279-356, 377-391, 419-476, 497-519, 529-621, 625
process_unicode.py 59 46 22% 15, 47-202
sparql.py 26 15 42% 32-36, 69, 74-86

Add test cases to improve coverage.

axif0 avatar Mar 25 '25 20:03 axif0

hi @axif0 @andrewtavis I would like to take this on just let me know how you'd like to proceed!

haasham1 avatar Apr 05 '25 13:04 haasham1

Sure thing, @meerhaasham1! How about you look into writing tests for process_unicode.py? You'd add a unicode directory to the tests directory and then you can add a file test_process_unicode.py with the tests for the file :)

andrewtavis avatar Apr 05 '25 13:04 andrewtavis

Got it, @andrewtavis ! I’ll start by adding the unicode directory to the tests folder and work on writing the tests for process_unicode.py. I’ll keep you updated as I make progress! 😊

haasham1 avatar Apr 05 '25 14:04 haasham1

Sounds great, @meerhaasham1! 🚀

andrewtavis avatar Apr 05 '25 14:04 andrewtavis

I'm going to close this issue as there have been enough changes that we should open another one :) Thanks much, @axif0 and @haasham1! 😊

andrewtavis avatar Jun 27 '25 20:06 andrewtavis