Skip to content

Add some local tests#61

Merged
Teester merged 25 commits intomasterfrom
tests
Apr 25, 2025
Merged

Add some local tests#61
Teester merged 25 commits intomasterfrom
tests

Conversation

@Teester
Copy link
Copy Markdown
Owner

@Teester Teester commented Apr 24, 2025

Adds local tests to CompareProperties(), CompareStatements() and Utilities() which do not rely on accessing wikidata

Teester added 20 commits April 24, 2025 22:17
…iple_constraint_with_values() to work correctly by adding all variables
@Teester Teester self-assigned this Apr 24, 2025
@Teester Teester added the backend Issues relating to the python backend label Apr 24, 2025
@codecov
Copy link
Copy Markdown

codecov bot commented Apr 25, 2025

Codecov Report

Attention: Patch coverage is 96.03175% with 10 lines in your changes missing coverage. Please review.

Project coverage is 92.17%. Comparing base (5f754dc) to head (ed3f63c).
Report is 26 commits behind head on master.

Files with missing lines Patch % Lines
comparejsonld.py 79.41% 7 Missing ⚠️
tests/test_compare_properties.py 98.59% 1 Missing ⚠️
tests/test_compare_statements.py 98.18% 1 Missing ⚠️
tests/test_utilities.py 98.71% 1 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #61      +/-   ##
==========================================
+ Coverage   90.22%   92.17%   +1.94%     
==========================================
  Files           6       11       +5     
  Lines         972     1418     +446     
==========================================
+ Hits          877     1307     +430     
- Misses         95      111      +16     
Files with missing lines Coverage Δ
compareshape.py 93.46% <100.00%> (+20.83%) ⬆️
shape.py 94.37% <100.00%> (-2.17%) ⬇️
test_schemas.py 87.40% <100.00%> (-10.39%) ⬇️
tests/test_compare_v1_v2.py 88.42% <100.00%> (ø)
tests/test_v1.py 84.53% <100.00%> (ø)
tests/test_compare_properties.py 98.59% <98.59%> (ø)
tests/test_compare_statements.py 98.18% <98.18%> (ø)
tests/test_utilities.py 98.71% <98.71%> (ø)
comparejsonld.py 94.30% <79.41%> (-2.24%) ⬇️

... and 1 file with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5f754dc...ed3f63c. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@sonarqubecloud
Copy link
Copy Markdown

@Teester Teester merged commit c4ef08e into master Apr 25, 2025
8 checks passed
@Teester Teester deleted the tests branch April 25, 2025 14:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backend Issues relating to the python backend

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant