Skip to content
This repository has been archived by the owner on Apr 18, 2018. It is now read-only.

There's no reason why you should use this plugin anymore. Upgrade pytest and it'll provide you with what this plugin also provided.

License

Notifications You must be signed in to change notification settings

vmware-archive/pytest-logging

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pytest-logging

See Build Status on Travis CI See Build Status on AppVeyor

Configures logging and allows tweaking the log level with a py.test flag


This Pytest plugin was generated with Cookiecutter along with @hackebrot's Cookiecutter-pytest-plugin template.

Features

  • Configures python's logging to output log messages to the console(You need to tell PyTest not to capture output).
  • Increases the logging verbosity by lowering the log level by passing -v to PyTest

Requirements

  • None!

Installation

You can install "pytest-logging" via pip from PyPI:

$ pip install pytest-logging

Usage

  • Simply pass one or more -v flag(s) to PyTest to increase logging verbosity

Contributing

Contributions are very welcome. Tests can be run with tox, please ensure the coverage at least stays the same before you submit a pull request.

License

Distributed under the terms of the Apache 2.0 license, "pytest-logging" is free and open source software

Issues

If you encounter any problems, please file an issue along with a detailed description.

About

There's no reason why you should use this plugin anymore. Upgrade pytest and it'll provide you with what this plugin also provided.

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages