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

Coverage #354

Merged
merged 9 commits into from
Jan 8, 2025
Merged

Coverage #354

merged 9 commits into from
Jan 8, 2025

Conversation

qubixes
Copy link
Member

@qubixes qubixes commented Jan 6, 2025

  • Add minimum 95% testing coverage (currently at 95.03%).
  • Improved testing.
  • Variable type can now be inferred from the distribution even if the distribution supports multiple variable types.
  • MetaVar.get_var_type now returns a TypeError instead of a ValueError for unsupported types.
  • A more appropriate error is thrown when a distribution is created with missing parameters.
  • The UniqueDistributionMixin now implements __new__ instead of __init__, so that the mixin does not cause the input parameters to change to *args, **kwargs. This should not have any effect on the user, except that the documentation and signature will now give the correct parameters for the unique faker and regex distributions.

@qubixes qubixes merged commit 3e1eae0 into develop Jan 8, 2025
13 checks passed
@qubixes qubixes deleted the coverage branch January 8, 2025 11:25
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