Minimal Cookiecutter template for authoring pytest plugins that help you write better programs.
Install Cookiecutter and generate a new pytest plugin project:
$ pip install cookiecutter
$ cookiecutter https://github.com/pytest-dev/cookiecutter-pytest-plugin
Cookiecutter prompts you for information regarding your plugin:
full_name [Raphael Pierzina]: Andreas Pelme
email [raphael@hackebrot.de]: andreas@pelme.se
github_username [hackebrot]: pelme
plugin_name [foobar]: awesome
module_name [awesome]: awesome
short_description [A simple plugin to use with pytest]:
version [0.1.0]:
pytest_version [2.9.1]:
Select docs_tool:
1 - mkdocs
2 - sphinx
3 - none
Choose from 1, 2, 3 [1]: 1
Select license:
1 - MIT
2 - BSD-3
3 - GNU GPL v3.0+
Choose from 1, 2, 3 [1]: 2
INFO:post_gen_project:Moving files for mkdocs.
There you go - you just created a minimal pytest plugin:
pytest-awesome/
βββ LICENSE
βββ README.rst
βββ pyproject.toml
βββ src
β βββ pytest_awesome
β βββ __init__.py
β βββ plugin.py
βββ tests
β βββ conftest.py
β βββ test_awesome.py
βββ tox.ini
pyproject.toml.README.rst file that contains useful information about your
pluginIf you plan on submitting your plugin to the pytest-dev organization you need to meet the following requirements:
Please see the official guidelines at Submit a Plugin.
Please consult the pytest docs for more information on hooks at pytest hook reference.
We welcome you to contribute to this project. Please visit the documentation to get started!
If you encounter any problems, please file an issue along with a detailed description.
Everyone interacting in the Cookiecutter pytest Plugin project's codebases, issue trackers, chat rooms, and mailing lists is expected to follow the PyPA Code of Conduct.
Distributed under the terms of the MIT license, Cookiecutter pytest Plugin is free and open source software.
Python
48.7%
Makefile
27.9%
Batchfile
23.4%
Minimal Cookiecutter template for authoring pytest plugins that help you write better programs.
Install Cookiecutter and generate a new pytest plugin project:
$ pip install cookiecutter
$ cookiecutter https://github.com/pytest-dev/cookiecutter-pytest-plugin
Cookiecutter prompts you for information regarding your plugin:
full_name [Raphael Pierzina]: Andreas Pelme
email [raphael@hackebrot.de]: andreas@pelme.se
github_username [hackebrot]: pelme
plugin_name [foobar]: awesome
module_name [awesome]: awesome
short_description [A simple plugin to use with pytest]:
version [0.1.0]:
pytest_version [2.9.1]:
Select docs_tool:
1 - mkdocs
2 - sphinx
3 - none
Choose from 1, 2, 3 [1]: 1
Select license:
1 - MIT
2 - BSD-3
3 - GNU GPL v3.0+
Choose from 1, 2, 3 [1]: 2
INFO:post_gen_project:Moving files for mkdocs.
There you go - you just created a minimal pytest plugin:
pytest-awesome/
βββ LICENSE
βββ README.rst
βββ pyproject.toml
βββ src
β βββ pytest_awesome
β βββ __init__.py
β βββ plugin.py
βββ tests
β βββ conftest.py
β βββ test_awesome.py
βββ tox.ini
pyproject.toml.README.rst file that contains useful information about your
pluginIf you plan on submitting your plugin to the pytest-dev organization you need to meet the following requirements:
Please see the official guidelines at Submit a Plugin.
Please consult the pytest docs for more information on hooks at pytest hook reference.
We welcome you to contribute to this project. Please visit the documentation to get started!
If you encounter any problems, please file an issue along with a detailed description.
Everyone interacting in the Cookiecutter pytest Plugin project's codebases, issue trackers, chat rooms, and mailing lists is expected to follow the PyPA Code of Conduct.
Distributed under the terms of the MIT license, Cookiecutter pytest Plugin is free and open source software.
Python
48.7%
Makefile
27.9%
Batchfile
23.4%