Giter Site home page Giter Site logo

Error reporting about ava HOT 7 CLOSED

avajs avatar avajs commented on May 5, 2024
Error reporting

from ava.

Comments (7)

sindresorhus avatar sindresorhus commented on May 5, 2024

👍

from ava.

kevva avatar kevva commented on May 5, 2024

Renamed since error reporting etc will happen in a reporter. Let's convert the output to be TAP compliant first.

from ava.

sindresorhus avatar sindresorhus commented on May 5, 2024

I don't want TAP output as default as it's quite limiting and annoying to work with. I definitely want to support it, but the default reporter should be something nice and simple. My thought was to have a hard-coded reporter and a TAP option, but no reporter option, as TAP has a gadzillion reporters and it might be a good idea not to reinvent the wheel. Thoughts?

from ava.

kevva avatar kevva commented on May 5, 2024

Hm, yes I agree that it shouldn't be used as default (for the user), but maybe just under the hood. My thought was having it always write TAP output but use a default reporter, looking like the one we use now, if nothing else is specified.

from ava.

sindresorhus avatar sindresorhus commented on May 5, 2024

Having to depend on the TAP output for our default reporter limits what we can do. I honestly see no benefit of doing that. We can easily support TAP too, but I would prefer our default reporter is more tightly coupled so we can make it really good. So good most people won't need another reporter.

from ava.

kevva avatar kevva commented on May 5, 2024

Alright, that makes it a little easier too :). Let's focus on getting everything else to work nicely first and add TAP support later on.

from ava.

sindresorhus avatar sindresorhus commented on May 5, 2024

Yup, let's build what we need first and make it stable. I've honestly never needed another reporter. We can add bloat like that later on like you said.

from ava.

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.