Giter Site home page Giter Site logo

Comments (10)

anescobar1991 avatar anescobar1991 commented on August 15, 2024 3

Thank you! I will keep this open until I publish the reporter.

from jest-image-snapshot.

anescobar1991 avatar anescobar1991 commented on August 15, 2024

Yes! We did get a solution for this that we are using internally and will be open sourcing that HTML reporter shortly (new week or so).

It was a bummer to me that passing custom metadata is not currently supported by jest but that's something that needs to be take up with jest maintainers and I found an ugly workaround for the time being.

from jest-image-snapshot.

esamattis avatar esamattis commented on August 15, 2024

Awesome! Can't wait :)

I was already thinking of doing a global map of test names with the match results in the matcher and reading it in a reporter.

I opened an issue on Jest jestjs/jest#4547

from jest-image-snapshot.

Prior99 avatar Prior99 commented on August 15, 2024

Hi, I find the idea of an HTML report very interesting. Maybe with tools similar to the ones in bitbucket? Any updates on this?

from jest-image-snapshot.

anescobar1991 avatar anescobar1991 commented on August 15, 2024

@Prior99 @epeli let me give an update on this since it has been awhile:

I know I previously said I would open source a simple html reporter but I decided not too until jestjs/jest#4547 is resolved.

What we have internally is an ugly hack I don't wish to open source (think https://github.com/Hargne/jest-html-reporter but with a regex to check for a path to a png image in the failure message so we can embed that image into html).

If jestjs/jest#4547 can be resolved I can easily create an HTML reporter that could even integrate some cool diffing like what Bitbucket has if wanted. But I have not found the time to work on that jest issue. If you guys have the time and can help out with that it would be great! Otherwise it may be awhile.

from jest-image-snapshot.

Prior99 avatar Prior99 commented on August 15, 2024

I think we are thinking about different HTML reporters here. I will have a look at the issue and maybe send a pull request if I can find some time on a weekend.

from jest-image-snapshot.

anescobar1991 avatar anescobar1991 commented on August 15, 2024

@Prior99 what are you thinking of then? Do you think it should be its own feature request in another issue?

from jest-image-snapshot.

Prior99 avatar Prior99 commented on August 15, 2024

from jest-image-snapshot.

anescobar1991 avatar anescobar1991 commented on August 15, 2024

@Prior99 opened up #51 for your idea.

from jest-image-snapshot.

anescobar1991 avatar anescobar1991 commented on August 15, 2024

Closing this as I am not sure this is going to be worked on anytime soon and is really not a jest-image-snapshot issue. Can reopen if jestjs/jest#4547 makes it in.

from jest-image-snapshot.

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.