6 रिपॉजिटरी
Validation mechanisms that ensure coverage percentages meet a predefined minimum requirement.
Distinct from Code Coverage: Distinct from general coverage measurement: focuses on the assertion and failure logic based on coverage percentages.
Explore 6 awesome GitHub repositories matching part of an awesome list · Threshold Enforcements. Refine with filters or upvote what's useful.
Istanbul is a JavaScript code coverage tool and instrumentation engine that measures the execution of statements, lines, functions, and branches. It functions as a test coverage analysis tool capable of monitoring code across unit, functional, and browser tests to identify untested areas of a codebase. The project distinguishes itself through a transparent instrumentation engine that uses module loader hooks to inject tracking code without requiring manual source modifications. It supports distributed test reporting by aggregating fragmented coverage data from multiple concurrent processes in
Enforces minimum coverage thresholds and triggers errors if requirements are not met.
Skim is a cross-platform interactive fuzzy finder that runs as a terminal application, a Rust library, a Vim and Neovim plugin, and a shell integration tool. It provides real-time filtering and selection from lists of items, supporting keyboard and mouse navigation, live preview panes, and multi-select functionality across Linux, macOS, and Windows. The tool distinguishes itself through a composable query expression tree that supports fuzzy, exact, inverse, prefix, suffix, and logical AND/OR operators, combined with a Smith-Waterman scoring engine that penalizes typos and gaps for natural rel
Sets a minimum coverage percentage and treats violations as informational to avoid blocking pull requests.
jscpd is a code duplication detector that scans source code across 223 languages to find identical or near-identical copy-pasted blocks using a rolling hash algorithm. It is built with a Rust core for high performance, exposed through a Node.js API and CLI, and can be run as a standalone binary with no runtime dependencies. The tool detects duplicates in embedded languages within Vue, Svelte, Astro, and Markdown files by tokenizing each language block separately, and it supports extensionless scripts via shebang detection. The project distinguishes itself through its integration capabilities
Reads a .jscpd.json configuration file and exits with a non-zero code when duplication limits are exceeded.
nyc is a JavaScript code coverage tool and command-line interface that instruments source files to track the execution of lines, branches, and functions during test runs. It acts as a wrapper for Node.js test runners, intercepting the module loading process to collect coverage data. The tool functions as a coverage data merger and build gating tool, allowing users to combine results from multiple independent test runs or child processes into a single unified report. It can automatically fail the build process if code coverage percentages fall below defined minimum thresholds. The project sup
Fails the build process when code coverage percentages fall below minimum target thresholds for branches, lines, and functions.
SimpleCov एक Ruby कोड कवरेज टूल और एनालिसिस इंजन है जिसका उपयोग यह ट्रैक करने के लिए किया जाता है कि परीक्षणों के दौरान कोड की कौन सी लाइनें, शाखाएं और मेथड्स निष्पादित होती हैं। यह एक कवरेज थ्रेशोल्ड एनफोर्सर और टेस्ट सूट एग्रीगेटर के रूप में कार्य करता है। यह टूल समानांतर वर्कर प्रक्रियाओं से कवरेज परिणामों को एक एकल एकीकृत रिपोर्ट में मर्ज करने की क्षमता के माध्यम से खुद को अलग करता है। यह कवरेज रिग्रेशन का पता लगाने के लिए बेसलाइन तुलना का समर्थन करता है। इसकी व्यापक क्षमताओं में मल्टी-फॉर्मेट रिपोर्ट जनरेशन, सोर्स फाइल ग्रुपिंग और रेगुलर एक्सप्रेशंस का उपयोग करके फाइल फिल्टरिंग शामिल है। सिस्टम सांख्यिकी प्रदर्शित करने और अनकवर्ड फाइलों को सूचीबद्ध करने के लिए एक कमांड-लाइन इंटरफेस भी प्रदान करता है।
Fails test suite execution if the Ruby code coverage percentage falls below a defined minimum.
JaCoCo एक Java कोड कवरेज टूल और बाइटकोड इंस्ट्रूमेंटर है जो मापता है कि परीक्षणों के दौरान सोर्स कोड के कौन से हिस्से निष्पादित होते हैं। यह ऑन-द-फ्लाई एप्लिकेशन निष्पादन की निगरानी करने के लिए एक रनटाइम एजेंट के रूप में या ऑफलाइन बाइटकोड इंस्ट्रूमेंटेशन के लिए एक लाइब्रेरी के रूप में कार्य करता है, जिससे यह उन एनवायरनमेंट में निष्पादन डेटा कैप्चर कर सकता है जहां रनटाइम एजेंट प्रतिबंधित हैं। यह प्रोजेक्ट निष्पादन को ट्रैक करने के लिए डायनामिक और स्टैटिक इंस्ट्रूमेंटेशन पथ दोनों प्रदान करके खुद को अलग करता है। इसमें ऑन-द-फ्लाई निगरानी के लिए एक रनटाइम एजेंट और निष्पादन से पहले संकलित क्लास फाइलों को संशोधित करने की क्षमता शामिल है। यह सक्रिय एप्लिकेशन को बाधित किए बिना रिमोट नेटवर्क कनेक्शन के माध्यम से चल रही प्रक्रियाओं से निष्पादन मेट्रिक्स को पुनः प्राप्त करने में सक्षम बनाता है। सिस्टम निर्देशों, शाखाओं, लाइनों, विधियों और क्लासेस के साथ-साथ साइक्लोमैटिक जटिलता मापों में मात्रात्मक कवरेज मेट्रिक्स की गणना करता है। यह कई परीक्षण रन से डेटा को मर्ज करने, CI/CD क्वालिटी गेट्स के भीतर कवरेज थ्रेशोल्ड लागू करने और ऐसी रिपोर्ट तैयार करने के लिए क्षमताएं प्रदान करता है जो निष्पादित बाइटकोड को वापस सोर्स कोड पर मैप करती हैं। इन परिणामों को सीधे कोड एडिटर्स के भीतर प्रदर्शित करने के लिए विज़ुअल एकीकरण उपलब्ध है। टूल डेटा संग्रह और रिपोर्ट निर्माण को स्वचालित करने के लिए बिल्ड ऑटोमेशन सिस्टम और कमांड लाइन इंटरफेस के साथ एकीकृत होता है।
Implements validation mechanisms that fail the build process if coverage percentages fall below a predefined minimum.