Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor url parser test code #58

Merged
merged 2 commits into from
Aug 9, 2024
Merged

Refactor url parser test code #58

merged 2 commits into from
Aug 9, 2024

Conversation

rmisev
Copy link
Member

@rmisev rmisev commented Aug 8, 2024

  • Introduce string_or_null, parsed_obj and parsed_obj_with_failure classes and simplify run_parser_tests, run_host_parser_tests and run_idna_v2_tests functions.
  • Fix test code to catch and report JSON file errors

Introduce string_or_null, parsed_obj and parsed_obj_with_failure classes
and simplify run_parser_tests, run_host_parser_tests and
run_idna_v2_tests functions.
Copy link

codecov bot commented Aug 8, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.66%. Comparing base (7734cc8) to head (08a49a5).

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #58   +/-   ##
=======================================
  Coverage   99.66%   99.66%           
=======================================
  Files          16       16           
  Lines        2369     2369           
  Branches      384      385    +1     
=======================================
  Hits         2361     2361           
  Misses          8        8           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@rmisev rmisev merged commit 08a49a5 into main Aug 9, 2024
24 checks passed
@rmisev rmisev deleted the test branch August 9, 2024 19:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant