v2024.12.21
Pre-release
Pre-release
adriamontoto
released this
21 Dec 23:04
·
32 commits
to master
since this release
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.
- Implemented
🔨 Refactoring
-
Directory and File Organization:
- Reorganized
BoolMother
andIntegerMother
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'
withIntegerMother.invalid_type()
inIntegerMother
tests. - Removed redundant type and value checks in
IntegerMother
.
- Reorganized
-
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 inIntegerMother
.