Skip to content

Missing metrics for failed tests #65

Open
@husmen

Description

@husmen

Describe the bug
Monitoring results for failed tests are missing from .pymon.

To Reproduce

  1. Create some tests:
# test.py

def test_1():
    assert 1 == 1

def test_2():
    assert 1 == 2
  1. Run pytest: pytest test.py
  2. .pymon has only 1 entry for test_1 in TEST_METRICS table.

Expected behavior
Unless I missed something in the documentation, I expect metrics to be reported for failed tests as well.

Desktop (please complete the following information):

  • OS: Linux (Ubuntu 20.04), Windows 10
  • Python version: 3.8, 3.11
  • Pytest version: 6.x, 7.x
  • pytest-monitor version: 1.6.5

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions