Git Product home page Git Product logo

Comments (9)

bySabi avatar bySabi commented on June 14, 2024

Right now this is not implemented on karma-tap-pretty-reporter but I think is more suitable to do on a prettifier package

from karma-tap-pretty-reporter.

AStaroverov avatar AStaroverov commented on June 14, 2024

It would be right, if we could use prettifiers in pipe. But we cant :(

from karma-tap-pretty-reporter.

bySabi avatar bySabi commented on June 14, 2024

If you create your custom prettifier I could add to karma-tap-pretty-reporter .

How you say, we cannot pipe on browsers enviroments.

Maybe we can make this at code level, without using standalone tools, just using something like tape
Is ther another tool, don´t tested it myself, subtap

from karma-tap-pretty-reporter.

infernalmaster avatar infernalmaster commented on June 14, 2024

You can use https://github.com/namuol/tap-difflet

    tapReporter: {
      // outputFile: './unit.tap',
      get prettify() { return () => require('tap-difflet')({ pessimistic: true }); },
      separator: '****************************',
    },

But you should update this packages to latest versions. And have node version with getters available. I use node 6.0

from karma-tap-pretty-reporter.

bySabi avatar bySabi commented on June 14, 2024

Why getters is needed in this case?

from karma-tap-pretty-reporter.

infernalmaster avatar infernalmaster commented on June 14, 2024

You are right, this code can be rewriten more simpler without getters:

    tapReporter: {
      // outputFile: './unit.tap',
      prettify: function() { return require('tap-difflet')({ pessimistic: true }); },
      separator: '****************************',
    },

Maybe this can be added to README

from karma-tap-pretty-reporter.

bySabi avatar bySabi commented on June 14, 2024

update README with Show only failed test use case.

from karma-tap-pretty-reporter.

bySabi avatar bySabi commented on June 14, 2024

closed due inactivity.

Feel free to reopen is needed

from karma-tap-pretty-reporter.

AStaroverov avatar AStaroverov commented on June 14, 2024

Thanks

from karma-tap-pretty-reporter.

Related Issues (4)

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.