Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

pytest-manual-marker

Package Overview
Dependencies
Maintainers
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pytest-manual-marker

pytest marker for marking manual tests

  • 2.0.0.0
  • PyPI
  • Socket score

Maintainers
2

pytest-manual-marker

Pytest marker for marking manual tests. Adds options for collecting manual, automated (default) or both.

Adds a different test outcome for manaual tests.

Usage

# content of test_manual.py
import pytest

@pytest.mark.manual
def test_manual():
    """this needs a opt in and will report manual as test status"""

def test_automated():
    """this is a empty test just for shows"""

collect only manual tests

$ pytest --collect-only -q --manual
test_manual.py::test_manual

1/2 tests collected (1 deselected) in 0.00s

collect only automated tests

$ pytest --collect-only -q
test_manual.py::test_automated

1/2 tests collected (1 deselected) in 0.00s

collect manual and automated tests

$ pytest --collect-only -q --include-manual  # collect both manual and automated tests
test_manual.py::test_manual
test_manual.py::test_automated

2 tests collected in 0.00s

Install

Install this plugin::

! pip install pytest-manual-marker

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc