question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Create fail_over Option

See original GitHub issue

We support --cov-fail-under and fail_under options to fail tests when tests are under some coverage amount. https://github.com/pytest-dev/pytest-cov/pull/141

In an effort to asymptotically get to 100%, some repos may want --cov-fail-over and fail_over options to ensure the fail_under config is updated.

Issue Analytics

  • State:open
  • Created 4 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
ionelmccommented, Aug 17, 2019

I think it’s an opportune moment to start working on a hookspec so people can implement any checks like fail over and stop the endless process of adding cli options.

On Fri, Aug 16, 2019, 18:07 Daniel Hahler notifications@github.com wrote:

I suggest using https://codecov.io/ - it can provide status about the patch being covered, and also the project’s coverage not dropping. It defaults to having the patch covered by the amount of current coverage (IIRC), but can be made to check for it to be covered by e.g. 100%.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/pytest-dev/pytest-cov/issues/320?email_source=notifications&email_token=AAA7TXLTO7COEOGRNTB4WPDQE27ENA5CNFSM4ILZF2L2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4O34BI#issuecomment-522042885, or mute the thread https://github.com/notifications/unsubscribe-auth/AAA7TXMNFMXR5ZGSBL4B3ITQE27ENANCNFSM4ILZF2LQ .

0reactions
nedbatcommented, Sep 22, 2019

I suggest there’s no need to add this to pytest-cov at all. Let pytest run the tests. Let coverage report on coverage. See #337.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Create new Failover Cluster Instance - SQL Server Always On
To specify the SQL Server cluster resource group name, you have two options: Use the drop-down box to specify an existing group to...
Read more >
How to Configure Failover Cluster in Windows Server 2019
Key moments. View all · determine the cluster disks · determine the cluster disks · determine the cluster disks · select the failover...
Read more >
How to set up and manage a Hyper-V Failover Cluster, Step ...
To begin, simply select any of the Validate Configuration items. One is found on the context menu of the Failover Cluster Manager root...
Read more >
How to create a Failover Cluster in Windows Server 2019
This article gives a short overview of how to create a Microsoft Windows Failover Cluster (WFC) with Windows Server 2019 or 2016.
Read more >
Configure DHCP failover for Windows Server - TechTarget
Right-click the selected DHCP scope, and select Configure Failover from the context menu. DHCP scope Configure Failover screenshot Configure Failover option ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found