Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/adriamontoto/object-mother-pattern
The Object Mother Pattern is a Python ๐ package that simplifies and standardizes the creation of test ๐งช objects.
https://github.com/adriamontoto/object-mother-pattern
development object-mother pattern python python3 python311 python312 python313 testing tools utilities validation
Last synced: about 1 month ago
JSON representation
The Object Mother Pattern is a Python ๐ package that simplifies and standardizes the creation of test ๐งช objects.
- Host: GitHub
- URL: https://github.com/adriamontoto/object-mother-pattern
- Owner: adriamontoto
- License: mit
- Created: 2024-12-21T07:10:53.000Z (about 2 months ago)
- Default Branch: master
- Last Pushed: 2024-12-29T18:12:37.000Z (about 2 months ago)
- Last Synced: 2024-12-29T18:32:27.833Z (about 2 months ago)
- Topics: development, object-mother, pattern, python, python3, python311, python312, python313, testing, tools, utilities, validation
- Language: Python
- Homepage: https://pypi.org/project/object-mother-pattern/
- Size: 33.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
- Security: SECURITY.md
Awesome Lists containing this project
README
# โ๏ธ Object Mother Pattern
The **Object Mother Pattern** is a Python ๐ package that simplifies and standardizes the creation of test ๐งช objects. This pattern is especially helpful in testing scenarios where you need to generate multiple instances of complex objects quickly and consistently. By providing a set of prebuilt ๐ ๏ธ object mothers, you can drop these into your existing test suite and skip the boilerplate setup yourself.
Easy to install and integrate, the **Object Mother Pattern** is a must-have for any Python developer looking to simplify their testing workflow, ensure design uniformity, and leverage the full potential of reusable test objects in their projects ๐.
## Table of Contents
- [๐ฅ Installation](#installation)
- [๐ค Contributing](#contributing)
- [๐ License](#license)
## ๐ฅ Installation
You can install **Object Mother Pattern** using `pip`:
```bash
pip install object-mother-pattern
```
## ๐ค Contributing
We welcome contributions to **Object Mother Pattern**! To ensure a smooth collaboration process, please follow the guidelines below.
### How to Contribute
**1. Fork the Repository:** Click the "Fork" button at the top right of the repository page.
**2. Clone Your Fork:**
```bash
git clone git+ssh://[email protected]//object-mother-pattern
```**3. Create a Branch:**
```bash
git checkout -b feature/your-feature-name
```**4. Make Your Changes:** Implement your new feature or fix a bug.
**5. Run Tests:** Ensure all the following tests pass before submitting your changes.
- Run tests:
```bash
make test
```- Run tests with coverage:
```bash
make coverage
```- Run linter:
```bash
make lint
```- Run formatter:
```bash
make format
```**6. Commit Your Changes:**
```bash
git commit -m "โจ feature: your feature description"
```**7. Push to Your Fork:**
```bash
git push origin feature/your-feature-name
```**8. Create a Pull Request:** Navigate to the original repository and create a pull request from your fork.
**9. Wait for Review:** Your pull request will be reviewed by the maintainers. Make any necessary changes based on their feedback.
## ๐ License
This project is licensed under the terms of the [`MIT license`](https://github.com/adriamontoto/object-mother-pattern/blob/master/LICENSE.md).