Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Readme #64

Merged
merged 3 commits into from
Jun 27, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,8 @@
#### Please tell us about your environment:

- Allure version: 2.1.0
- Test framework: [email protected]
- Allure adaptor: [email protected]
- Generate report using: [email protected]
- Test framework: [email protected]
- Allure adaptor: [email protected]

#### Other information

Expand Down
23 changes: 23 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Allure Python Integrations

The repository contains adaptors for python-based test frameworks.
Documentation is available [online](https://docs.qameta.io/allure/2.0/), also you can get help at
[gitter chanel](https://gitter.im/allure-framework/allure-core)


## Pytest
Allure [pytest](http://pytest.org) integration. It's developed as pytest plugin and distributed via
[pypi](https://pypi.python.org/pypi/allure-pytest)


## Behave
Allure [behave](http://pythonhosted.org/behave/) integration. Just external formatter that produce test results in
allure2 format. This package is available on [pypi](https://pypi.python.org/pypi/allure-behave)


## Allure python commons
Common engine for all modules. It is useful for make integration with your homemade frameworks.


## Allure python testing
Just pack of hamcrest matchers for validation result in allure2 json format.
18 changes: 18 additions & 0 deletions allure-behave/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
Allure Behave Formatter
=======================

- `Source <https://github.com/allure-framework/allure-python>`_

- `Documentation <https://docs.qameta.io/allure/2.0/>`_

- `Gitter <https://gitter.im/allure-framework/allure-core>`_


Installation and Usage
======================

.. code:: bash

$ pip install allure-behave
$ behave -f allure_behave.formatter:AllureFormatter -o %allure_result_folder% ./features
$ allure serve %allure_result_folder%
6 changes: 6 additions & 0 deletions allure-behave/setup.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import os
from setuptools import setup

PACKAGE = "allure-behave"
Expand All @@ -17,6 +18,10 @@
]


def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()


def main():
setup(
name=PACKAGE,
Expand All @@ -28,6 +33,7 @@ def main():
license="Apache-2.0",
classifiers=classifiers,
keywords="allure reporting behave",
long_description=read('README.rst'),
packages=["allure_behave"],
package_dir={"allure_behave": "src"},
install_requires=install_requires
Expand Down
55 changes: 0 additions & 55 deletions allure-pytest/README.md

This file was deleted.

18 changes: 18 additions & 0 deletions allure-pytest/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
Allure Pytest Plugin
====================

- `Source <https://github.com/allure-framework/allure-python>`_

- `Documentation <https://docs.qameta.io/allure/2.0/>`_

- `Gitter <https://gitter.im/allure-framework/allure-core>`_


Installation and Usage
======================

.. code:: bash

$ pip install allure-pytest
$ py.test --alluredir=%allure_result_folder% ./tests
$ allure serve %allure_result_folder%
6 changes: 6 additions & 0 deletions allure-pytest/setup.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import os
from setuptools import setup

PACKAGE = "allure-pytest"
Expand All @@ -18,6 +19,10 @@
]


def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()


def main():
setup(
name=PACKAGE,
Expand All @@ -29,6 +34,7 @@ def main():
license="Apache-2.0",
classifiers=classifiers,
keywords="allure reporting pytest",
long_description=read('README.rst'),
packages=["allure_pytest"],
package_dir={"allure_pytest": "src"},
entry_points={"pytest11": ["allure_pytest = allure_pytest.plugin"]},
Expand Down