Giter VIP home page Giter VIP logo

canyon's Introduction

Canyon GitHub license build status contributions welcome

๐Ÿ‘‹ Canyon is a JavaScript code coverage solution

Features

Bundling: Support for various bundling ecosystems.

  • vite - vite-plugin-istanbul
  • babel - babel-plugin-istanbul
  • swc - swc-coverage-instrument

React Native: Support for collecting coverage data in React Native.

File: Supports multiple file types, such as js, jsx, ts, and tsx.

Source Traceback: Enable the sourceMap option to trace back to the original source code coverage information.

CI: Provides coverage interfaces for easy integration with CI tools.

Changed Code: Configure the baseline commit SHA or branch name you want to compare, filter the coverage of changed files, and calculate the overall coverage of newly added lines.

Reporting Component: Build a minimal native JavaScript npm package, providing a modern frontend reporting hydration solution to replace traditional istanbul reports.

Browser Plugin: Provide a browser plugin for developers to detect application coverage details in real-time.

Canyon is a JavaScript code coverage collection platform. We address the difficulties developers and QA engineers encounter in collecting test case code coverage during end-to-end testing. It consists of three main parts:

  • A Babel plugin responsible for adapting to various CI tools and reading environment variables.

  • A backend service responsible for collecting and processing coverage data, and providing coverage reporting interfaces.

  • A frontend service responsible for displaying coverage reports.

Read the Docs to Learn More.

Architecture overview

Contribution

See Contributing Guide.

License

MIT.

canyon's People

Contributors

zhangtao25 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.