Skip to content

Commit f914358

Browse files
authored
Readme (#64)
add readme and long description for pypi
1 parent ce6186c commit f914358

File tree

7 files changed

+73
-58
lines changed

7 files changed

+73
-58
lines changed

.github/ISSUE_TEMPLATE.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,8 @@
3333
#### Please tell us about your environment:
3434

3535
- Allure version: 2.1.0
36-
- Test framework: [email protected]
37-
- Allure adaptor: [email protected]
38-
- Generate report using: [email protected]
36+
- Test framework: [email protected]
37+
- Allure adaptor: [email protected]
3938

4039
#### Other information
4140

README.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Allure Python Integrations
2+
3+
The repository contains adaptors for python-based test frameworks.
4+
Documentation is available [online](https://docs.qameta.io/allure/2.0/), also you can get help at
5+
[gitter chanel](https://gitter.im/allure-framework/allure-core)
6+
7+
8+
## Pytest
9+
Allure [pytest](http://pytest.org) integration. It's developed as pytest plugin and distributed via
10+
[pypi](https://pypi.python.org/pypi/allure-pytest)
11+
12+
13+
## Behave
14+
Allure [behave](http://pythonhosted.org/behave/) integration. Just external formatter that produce test results in
15+
allure2 format. This package is available on [pypi](https://pypi.python.org/pypi/allure-behave)
16+
17+
18+
## Allure python commons
19+
Common engine for all modules. It is useful for make integration with your homemade frameworks.
20+
21+
22+
## Allure python testing
23+
Just pack of hamcrest matchers for validation result in allure2 json format.

allure-behave/README.rst

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
Allure Behave Formatter
2+
=======================
3+
4+
- `Source <https://github.com/allure-framework/allure-python>`_
5+
6+
- `Documentation <https://docs.qameta.io/allure/2.0/>`_
7+
8+
- `Gitter <https://gitter.im/allure-framework/allure-core>`_
9+
10+
11+
Installation and Usage
12+
======================
13+
14+
.. code:: bash
15+
16+
$ pip install allure-behave
17+
$ behave -f allure_behave.formatter:AllureFormatter -o %allure_result_folder% ./features
18+
$ allure serve %allure_result_folder%

allure-behave/setup.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import os
12
from setuptools import setup
23

34
PACKAGE = "allure-behave"
@@ -17,6 +18,10 @@
1718
]
1819

1920

21+
def read(fname):
22+
return open(os.path.join(os.path.dirname(__file__), fname)).read()
23+
24+
2025
def main():
2126
setup(
2227
name=PACKAGE,
@@ -28,6 +33,7 @@ def main():
2833
license="Apache-2.0",
2934
classifiers=classifiers,
3035
keywords="allure reporting behave",
36+
long_description=read('README.rst'),
3137
packages=["allure_behave"],
3238
package_dir={"allure_behave": "src"},
3339
install_requires=install_requires

allure-pytest/README.md

Lines changed: 0 additions & 55 deletions
This file was deleted.

allure-pytest/README.rst

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
Allure Pytest Plugin
2+
====================
3+
4+
- `Source <https://github.com/allure-framework/allure-python>`_
5+
6+
- `Documentation <https://docs.qameta.io/allure/2.0/>`_
7+
8+
- `Gitter <https://gitter.im/allure-framework/allure-core>`_
9+
10+
11+
Installation and Usage
12+
======================
13+
14+
.. code:: bash
15+
16+
$ pip install allure-pytest
17+
$ py.test --alluredir=%allure_result_folder% ./tests
18+
$ allure serve %allure_result_folder%

allure-pytest/setup.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import os
12
from setuptools import setup
23

34
PACKAGE = "allure-pytest"
@@ -18,6 +19,10 @@
1819
]
1920

2021

22+
def read(fname):
23+
return open(os.path.join(os.path.dirname(__file__), fname)).read()
24+
25+
2126
def main():
2227
setup(
2328
name=PACKAGE,
@@ -29,6 +34,7 @@ def main():
2934
license="Apache-2.0",
3035
classifiers=classifiers,
3136
keywords="allure reporting pytest",
37+
long_description=read('README.rst'),
3238
packages=["allure_pytest"],
3339
package_dir={"allure_pytest": "src"},
3440
entry_points={"pytest11": ["allure_pytest = allure_pytest.plugin"]},

0 commit comments

Comments
 (0)