-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
65 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,6 +8,7 @@ cache: | |
|
||
env: | ||
- TOXENV=py27 | ||
- TOXENV=py33 | ||
- TOXENV=py34 | ||
#- TOXENV=py35 | ||
#- TOXENV=py36 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,25 @@ | ||
[![Documentation Status](https://readthedocs.org/projects/pytest_info_collector/badge/?version=latest)](http://pytest_info_collector.readthedocs.org/en/latest/?badge=latest) | ||
[![Build Status](https://travis-ci.org/aragilar/pytest_info_collector.svg?branch=master)](https://travis-ci.org/aragilar/pytest_info_collector) | ||
[![Coverage Status](https://codecov.io/github/aragilar/pytest_info_collector/coverage.svg?branch=master)](https://codecov.io/github/aragilar/pytest_info_collector?branch=master) | ||
[![Version](https://img.shields.io/pypi/v/pytest_info_collector.svg)](https://pypi.python.org/pypi/pytest_info_collector/) | ||
[![License](https://img.shields.io/pypi/l/pytest_info_collector.svg)](https://pypi.python.org/pypi/pytest_info_collector/) | ||
[![Wheel](https://img.shields.io/pypi/wheel/pytest_info_collector.svg)](https://pypi.python.org/pypi/pytest_info_collector/) | ||
[![Format](https://img.shields.io/pypi/format/pytest_info_collector.svg)](https://pypi.python.org/pypi/pytest_info_collector/) | ||
[![Supported versions](https://img.shields.io/pypi/pyversions/pytest_info_collector.svg)](https://pypi.python.org/pypi/pytest_info_collector/) | ||
[![Supported implemntations](https://img.shields.io/pypi/implementation/pytest_info_collector.svg)](https://pypi.python.org/pypi/pytest_info_collector/) | ||
[![PyPI](https://img.shields.io/pypi/status/pytest_info_collector.svg)](https://pypi.python.org/pypi/pytest_info_collector/) | ||
[![Documentation Status](https://readthedocs.org/projects/pytest-info-collector/badge/?version=latest)](http://pytest-info-collector.readthedocs.org/en/latest/?badge=latest) | ||
[![Build Status](https://travis-ci.org/aragilar/pytest-info-collector.svg?branch=master)](https://travis-ci.org/aragilar/pytest-info-collector) | ||
[![Coverage Status](https://codecov.io/github/aragilar/pytest-info-collector/coverage.svg?branch=master)](https://codecov.io/github/aragilar/pytest-info-collector?branch=master) | ||
[![Version](https://img.shields.io/pypi/v/pytest-info-collector.svg)](https://pypi.python.org/pypi/pytest-info-collector/) | ||
[![License](https://img.shields.io/pypi/l/pytest-info-collector.svg)](https://pypi.python.org/pypi/pytest-info-collector/) | ||
[![Wheel](https://img.shields.io/pypi/wheel/pytest-info-collector.svg)](https://pypi.python.org/pypi/pytest-info-collector/) | ||
[![Format](https://img.shields.io/pypi/format/pytest-info-collector.svg)](https://pypi.python.org/pypi/pytest-info-collector/) | ||
[![Supported versions](https://img.shields.io/pypi/pyversions/pytest-info-collector.svg)](https://pypi.python.org/pypi/pytest-info-collector/) | ||
[![Supported implemntations](https://img.shields.io/pypi/implementation/pytest-info-collector.svg)](https://pypi.python.org/pypi/pytest-info-collector/) | ||
[![PyPI](https://img.shields.io/pypi/status/pytest-info-collector.svg)](https://pypi.python.org/pypi/pytest-info-collector/) | ||
|
||
`pytest_info_collector` is a plugin for pytest providing a fixture for collecting | ||
information from tests and displaying it, independent of the test status. | ||
|
||
pytest_info_collector is | ||
A simple example of this is: | ||
```python | ||
|
||
def test_single(test_info): | ||
test_info("A simple test") | ||
``` | ||
which would display "A simple test" at the end of the tests. Further | ||
documentation can be found at [https://pytest-info-collector.readthedocs.io](https://pytest-info-collector.readthedocs.io). | ||
|
||
Bug reports and suggestions should be filed at | ||
[https://github.com/aragilar/pytest_info_collector/issues](https://github.com/aragilar/pytest_info_collector/issues). | ||
[https://github.com/aragilar/pytest-info-collector/issues](https://github.com/aragilar/pytest-info-collector/issues). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
`pytest_info_collector` is a plugin for pytest providing a fixture for collecting | ||
information from tests and displaying it, independent of the test status. | ||
|
||
A simple example of this is: | ||
|
||
:: | ||
|
||
def test_single(test_info): | ||
test_info("A simple test") | ||
|
||
which would display "A simple test" at the end of the tests. Further | ||
documentation can be found at `<https://pytest-info-collector.readthedocs.io>`_. | ||
|
||
Bug reports and suggestions should be filed at | ||
`<https://github.com/aragilar/pytest-info-collector/issues>`_. | ||
|
||
|
||
|Documentation Status| |Build Status| |Coverage Status| | ||
|
||
.. |Documentation Status| image:: https://readthedocs.org/projects/pytest-info-collector/badge/?version=latest | ||
:target: http://pytest-info-collector.readthedocs.org/en/latest/?badge=latest | ||
.. |Build Status| image:: https://travis-ci.org/aragilar/pytest-info-collector.svg?branch=master | ||
:target: https://travis-ci.org/aragilar/pytest-info-collector | ||
.. |Coverage Status| image:: https://codecov.io/github/aragilar/pytest-info-collector/coverage.svg?branch=master | ||
:target: https://codecov.io/github/aragilar/pytest-info-collector?branch=master |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,37 @@ | ||
from setuptools import setup | ||
import versioneer | ||
|
||
DESCRIPTION_FILES = ["pypi-intro.rst"] | ||
|
||
long_description = [] | ||
import codecs | ||
for filename in DESCRIPTION_FILES: | ||
with codecs.open(filename, 'r', 'utf-8') as f: | ||
long_description.append(f.read()) | ||
long_description = "\n".join(long_description) | ||
|
||
setup( | ||
name="pytest-info-collector", | ||
version=versioneer.get_version(), | ||
packages = ['pytest_info_collector'], | ||
install_requires = ["pytest"], | ||
author = "James Tocknell", | ||
author_email = "[email protected]", | ||
description = "Solver thing", | ||
#license = "BSD", | ||
#keywords = "wheel", | ||
url = "http://pytest_info_collector.rtfd.io", | ||
description = "pytest plugin to collect information from tests", | ||
long_description = long_description, | ||
license = "3-clause BSD", | ||
keywords = "pytest testing", | ||
url = "https://pytest-info-collector.readthedocs.io", | ||
entry_points = { | ||
'pytest11': [ | ||
'name_of_plugin = pytest_info_collector', | ||
] | ||
}, | ||
classifiers=[ | ||
'Framework :: Pytest', | ||
'Development Status :: 3 - Alpha', | ||
'Intended Audience :: Developers', | ||
'License :: OSI Approved :: BSD License', | ||
'Programming Language :: Python :: 2', | ||
'Programming Language :: Python :: 2.7', | ||
'Programming Language :: Python :: 3', | ||
|