Coder Social home page Coder Social logo

Replace instanbul with nyc about memdown HOT 6 CLOSED

vweevers avatar vweevers commented on May 27, 2024
Replace instanbul with nyc

from memdown.

Comments (6)

vweevers avatar vweevers commented on May 27, 2024 1

Before attacking the airtap part, which requires writing code, we can setup code coverage for node only and test parallel builds.

from memdown.

vweevers avatar vweevers commented on May 27, 2024 1

Nice, nyc doesn't seem to care about the .nyc-output/*.json filenames. We could write .nyc-output/airtap-001.json, .nyc-output/airtap-002.json or perhaps .nyc-output/<browser>-<version>-<os>.json, and nyc report still works.

from memdown.

vweevers avatar vweevers commented on May 27, 2024

Some research. Goal: combine lcov reports of node and browser tests and send it to coveralls.

from memdown.

vweevers avatar vweevers commented on May 27, 2024

Plan:

  • Remove TypeScript tests from memdown (to clean up npm scripts)
  • Remove existing coverage and report-coverage npm scripts and istanbul dependencies
  • Add coverage script: nyc report --reporter=text-lcov | coveralls
  • Add hook to .travis.yml: after_success: npm run coverage. Each Travis node job will send lcov reports to coveralls.
  • Add a feature to airtap to write LCOV files instanbul files to disk. Each browser result should be written to its own file.
  • Change our Travis browser job to run npm run test-browsers && npm run report-coverage.
  • Configure Coveralls to merge results of parallel builds.

from memdown.

ralphtheninja avatar ralphtheninja commented on May 27, 2024

Good work @vweevers

from memdown.

vweevers avatar vweevers commented on May 27, 2024

Waiting on airtap/airtap#194

from memdown.

Related Issues (20)

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.