Changelog
### 0.4.0
```
By default ``cookies`` removes baked projects. This release adds a new CLI option to keep generated projects:
text
pytest --keep-baked-projects
```
### 0.3.0
```
Add capability to specify the template directory via ``bake()``.
python
pytest.fixture
def custom_template():
return "templates/minimal/"
def test_bake_custom_project(cookies, custom_template):
"""Test for generating a new project."""
result = cookies.bake(template=custom_template)
assert result.exit_code == 0
assert result.exception is None
assert result.project.basename == 'example-project'
assert result.project.isdir()
Please see the [documentation](https://github.com/hackebrot/pytest-cookiesspecify-template-directory) for more information.
```
Links
- PyPI: https://pypi.org/project/pytest-cookies
- Changelog: https://pyup.io/changelogs/pytest-cookies/
- Repo: https://github.com/hackebrot/pytest-cookies
This PR updates pytest-cookies from 0.2.0 to 0.4.0.
Changelog
### 0.4.0 ``` By default ``cookies`` removes baked projects. This release adds a new CLI option to keep generated projects: text pytest --keep-baked-projects ``` ### 0.3.0 ``` Add capability to specify the template directory via ``bake()``. python pytest.fixture def custom_template(): return "templates/minimal/" def test_bake_custom_project(cookies, custom_template): """Test for generating a new project.""" result = cookies.bake(template=custom_template) assert result.exit_code == 0 assert result.exception is None assert result.project.basename == 'example-project' assert result.project.isdir() Please see the [documentation](https://github.com/hackebrot/pytest-cookiesspecify-template-directory) for more information. ```Links
- PyPI: https://pypi.org/project/pytest-cookies - Changelog: https://pyup.io/changelogs/pytest-cookies/ - Repo: https://github.com/hackebrot/pytest-cookies