Skip to content

Add Enum automated tests#10

Merged
HEROgold merged 3 commits intomasterfrom
dev
Sep 4, 2025
Merged

Add Enum automated tests#10
HEROgold merged 3 commits intomasterfrom
dev

Conversation

@HEROgold
Copy link
Copy Markdown
Owner

@HEROgold HEROgold commented Sep 4, 2025

  • use classvar for null_values, and use them
  • remove or is none check, as we set value to None when it should.
  • fix Optional datatype not being counted as optional, skipping if statement.
  • Add and use hypothesis tests for generated Enum values.
  • use hypothesis to generate value and None values. Fixes Ensure test_optional_string always test for null values

@HEROgold HEROgold changed the title dev Add Enum automated tests Sep 4, 2025
@HEROgold HEROgold marked this pull request as ready for review September 4, 2025 01:11
@HEROgold HEROgold merged commit 0578893 into master Sep 4, 2025
2 checks passed
@HEROgold HEROgold deleted the dev branch September 12, 2025 18:07
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