awesome-repositories.com
Blog
MCP
awesome-repositories.com

Descoperă cele mai bune repository-uri open source cu căutare AI.

ExploreazăCăutări recomandateAlternative open-sourceSoftware self-hostedBlogHartă site
ProiectDespreCum realizăm clasamentulPresăServer MCP
LegalConfidențialitateTermeni
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
istanbuljs avatar

istanbuljs/nyc

0
View on GitHub↗
5,746 stele·365 fork-uri·JavaScript·isc·9 vizualizăriistanbul.js.org↗

Nyc

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 supports modern JavaScript and TypeScript by using source maps to link coverage data from transpiled code back to the original source files. It provides a multi-format reporting pipeline that outputs results as HTML, LCOV, JSON, XML, and plain text. Additional capabilities include glob-pattern file filtering, disk-based caching of instrumented files, and integration with testing frameworks such as Jest, Mocha, AVA, and tap.

Features

  • Code Coverage - Instruments JavaScript and TypeScript source files to track executed lines, branches, and functions during test runs.
  • Threshold Enforcements - Fails the build process when code coverage percentages fall below minimum target thresholds for branches, lines, and functions.
  • Coverage Data Aggregators - Combines raw coverage data from separate test suites or independent runs into a single consolidated report.
  • Code Instrumentation Utilities - Instruments source files during execution to collect real-time code coverage statistics.
  • Source Code Mapping - Maps coverage data from transpiled code back to the original source files using source maps.
  • Transpilation Mapping - Maps coverage data from compiled TypeScript or ES2015+ code back to original source files using source maps.
  • Source Map Resolution - Preserves source maps during code rewriting to map coverage data from transpiled TypeScript or ES2015+ back to original lines.
  • Runtime Module Hooking - Instruments source files on-the-fly by intercepting the Node.js module loading process with a custom require hook.
  • Build Gating Tools - Acts as a validator that fails the build process when code coverage percentages fall below defined minimum thresholds.
  • Code Coverage Tools - Provides a command-line tool to instrument JavaScript source files and track the execution of lines, branches, and functions.
  • Test Runner Wrappers - Functions as a wrapper for Node.js test runners, intercepting the module loading process to collect coverage data.
  • Test Runner Integrations - Connects with common testing frameworks to collect unified coverage data automatically via the command line.
  • HTML Visualizations - Produces a browsable HTML report showing per-file code coverage with visual highlighting.
  • Pre-instrumentation - Instruments source files ahead of time to facilitate coverage tracking via source maps.
  • Subprocess Instrumentation - Captures and merges code coverage data from multiple child processes spawned during tests.
  • TypeScript Instrumentation - Transpiles TypeScript source files to ensure compatible instrumentation and coverage tracking.
  • Glob Pattern Selectors - Allows selecting source files for instrumentation using include and exclude glob patterns.
  • Modern JavaScript Instrumentation - Transpiles modern JavaScript syntax to ensure compatible instrumentation and coverage tracking.
  • Coverage Summaries - Provides coverage summaries and file-level statistics directly to the command line in text or TeamCity formats.
  • Analysis Report Serialization - Serializes coverage analysis results into multiple human-readable and machine-readable formats.
  • Reporting Plugins - Uses a plugin-based architecture to output coverage results in multiple formats including HTML, LCOV, JSON, and XML.
  • Coverage Exclusions - Provides mechanisms to ignore specific lines, blocks, or files from coverage metrics using inline hints and configuration.
  • Report Generators - Transforms raw coverage data into diverse report formats such as HTML, LCOV, JSON, and XML.
  • Detailed JSON Reporting - Produces detailed JSON reports containing per-file coverage data for statements, functions, and branches.
  • Summary Reports - Outputs a concise JSON summary containing aggregate coverage percentages.
  • Test Coverage Collections - Captures and merges coverage metrics from child processes spawned during the execution of tests.
  • Testing and Quality Assurance - Command line interface for code coverage.
  • Framework-uri de testare - CLI for Istanbul coverage.

Istoric stele

Graficul istoricului de stele pentru istanbuljs/nycGraficul istoricului de stele pentru istanbuljs/nyc

Căutare AI

Explorează mai multe repository-uri excelente

Descrie ce ai nevoie în limbaj simplu — AI-ul sortează mii de proiecte open source selectate în funcție de relevanță.

Start searching with AI

Alternative open-source pentru Nyc

Proiecte open-source similare, clasificate după numărul de funcționalități comune cu Nyc.
  • gotwarlost/istanbulAvatar gotwarlost

    gotwarlost/istanbul

    8,662Vezi pe GitHub↗

    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

    JavaScript
    Vezi pe GitHub↗8,662
  • jacoco/jacocoAvatar jacoco

    jacoco/jacoco

    4,580Vezi pe GitHub↗

    JaCoCo is a Java code coverage tool and bytecode instrumenter that measures which parts of source code are executed during tests. It functions as a runtime agent to monitor application execution on the fly or as a library for offline bytecode instrumentation, allowing it to capture execution data in environments where runtime agents are restricted. The project distinguishes itself by providing both dynamic and static instrumentation paths to track execution. It includes a runtime agent for on-the-fly monitoring and the ability to modify compiled class files before execution. It further enable

    Javabytecodecoveragegroovy
    Vezi pe GitHub↗4,580
  • colszowka/simplecovAvatar colszowka

    colszowka/simplecov

    4,902Vezi pe GitHub↗

    SimpleCov is a Ruby code coverage tool and analysis engine used to track which lines, branches, and methods of code execute during tests. It functions as a coverage threshold enforcer and test suite aggregator, recording execution data to identify untested areas of an application. The tool distinguishes itself through the ability to merge coverage results from parallel worker processes and subprocesses into a single unified report. It supports baseline comparison to detect coverage regressions and can gather data from code executed via dynamic evaluation methods, such as those used in templat

    Ruby
    Vezi pe GitHub↗4,902
  • jestjs/jestAvatar jestjs

    jestjs/jest

    45,448Vezi pe GitHub↗

    Jest is a JavaScript testing framework designed for writing and running automated test suites to verify the correctness of JavaScript and TypeScript code. It functions as a comprehensive toolset that integrates a test runner, a mocking and spying library, a snapshot testing tool, and a code coverage tool. The framework distinguishes itself through snapshot testing, which records the serialized state of data structures to detect regressions in future executions. It also includes a mocking and spying library for simulating external dependencies and tracking function calls to isolate code during

    TypeScripteasyexpectationfacebook
    Vezi pe GitHub↗45,448
Vezi toate cele 30 alternative pentru Nyc→

Întrebări frecvente

Ce face istanbuljs/nyc?

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.

Care sunt principalele funcționalități ale istanbuljs/nyc?

Principalele funcționalități ale istanbuljs/nyc sunt: Code Coverage, Threshold Enforcements, Coverage Data Aggregators, Code Instrumentation Utilities, Source Code Mapping, Transpilation Mapping, Source Map Resolution, Runtime Module Hooking.

Care sunt câteva alternative open-source pentru istanbuljs/nyc?

Alternativele open-source pentru istanbuljs/nyc includ: gotwarlost/istanbul — Istanbul is a JavaScript code coverage tool and instrumentation engine that measures the execution of statements,… jacoco/jacoco — JaCoCo is a Java code coverage tool and bytecode instrumenter that measures which parts of source code are executed… colszowka/simplecov — SimpleCov is a Ruby code coverage tool and analysis engine used to track which lines, branches, and methods of code… jestjs/jest — Jest is a JavaScript testing framework designed for writing and running automated test suites to verify the… avajs/ava — Ava is a test runner for JavaScript and TypeScript designed to execute test suites with a focus on concurrency and… smartystreets/goconvey — GoConvey is a behavioral testing framework for the Go programming language that provides a test runner, a code…