Skip to content

v2024.12.21

Pre-release
Pre-release
Compare
Choose a tag to compare
@adriamontoto adriamontoto released this 21 Dec 23:04
· 32 commits to master since this release
b93e5bc

Changelog

✨ Features

  • Mother Classes for Random Value Generation:
    • Implemented BaseMother as a foundational class for generating random values.
    • Added IntegerMother for generating random integers.
    • Added BoolMother for generating random boolean values.
    • Implemented StringMother for generating random string values.
    • Added FloatMother for generating random float values.
    • Implemented TextMother for generating random text values.
    • Created NameMother class for generating random name values.

🔨 Refactoring

  • Directory and File Organization:

    • Reorganized BoolMother and IntegerMother into the primitives directory.
    • Moved primitives-related tests to a dedicated primitives test folder.
    • Updated import of override for compatibility with Python 3.11.
    • Replaced string 'invalid' with IntegerMother.invalid_type() in IntegerMother tests.
    • Removed redundant type and value checks in IntegerMother.
  • Code Quality and Maintenance:

    • Updated date generation method for improved efficiency.
    • Ran automatic code formatter for consistent style.

🐛 Bug Fixes

  • Resolved issue with invalid type NoneType handling in IntegerMother.

Full Changelog