Skip to content

Moved test generation from DAG files into main functionality #330

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

Merged
merged 3 commits into from
Jun 25, 2025

Conversation

jmafoster1
Copy link
Contributor

Now users can type python -m causal_testing -G... to generate tests rather than python causal_testing/testing/metamorphic_relation.py.

Copy link

github-actions bot commented Jun 13, 2025

🦙 MegaLinter status: ✅ SUCCESS

Descriptor Linter Files Fixed Errors Elapsed time
✅ PYTHON black 31 0 0.98s
✅ PYTHON pylint 31 0 5.61s

See detailed report in MegaLinter reports

MegaLinter is graciously provided by OX Security

Copy link

codecov bot commented Jun 13, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.75%. Comparing base (a940927) to head (a51b66d).
Report is 5 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #330      +/-   ##
==========================================
+ Coverage   95.69%   95.75%   +0.05%     
==========================================
  Files          27       27              
  Lines        1603     1624      +21     
==========================================
+ Hits         1534     1555      +21     
  Misses         69       69              
Files with missing lines Coverage Δ
causal_testing/__main__.py 97.43% <100.00%> (+0.46%) ⬆️
causal_testing/main.py 95.98% <100.00%> (+0.09%) ⬆️
causal_testing/testing/metamorphic_relation.py 100.00% <100.00%> (ø)

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 e7b8577...a51b66d. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@jmafoster1 jmafoster1 marked this pull request as ready for review June 13, 2025 09:35
@jmafoster1 jmafoster1 requested a review from f-allian June 13, 2025 09:35
Copy link
Contributor

@f-allian f-allian left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jmafoster1 All looks good! 👍🏼

@jmafoster1 jmafoster1 merged commit 2f08f47 into main Jun 25, 2025
22 checks passed
@jmafoster1 jmafoster1 deleted the generaete-tests-main branch June 25, 2025 15:35
@f-allian f-allian restored the generaete-tests-main branch June 26, 2025 12:41
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.

2 participants