Skip to content

Support for shadow-cljs? #18

Open
Open

Description

@davidpham87

Hello,

Thanks a lot for your blog post on how to test re-frame application. May I ask you if we can kamera with shadow-cljs?

Best regards,
David

Activity

  1. oliyh commented on Jun 20, 2019

    @oliyh
    Owner

    Hi,

    You're welcome! Yes of course, kamera has a high level API for devcards which I guess you can use with shadow-cljs - you just give it the URL where it can find the devcards index page.
    https://github.com/oliyh/kamera/blob/master/src/clj/kamera/devcards.clj#L98

    Alternatively there is a lower level API where you give it a series of "targets" which is a bunch of URLs and comparison images - see the 'Core API' section in the readme.

    If you have an example project of shadow-cljs + devcards I would be interested to see it to see if it would be easy to support it out of the box.

    Let me know if you have any more questions.

    Cheers

  2. davidpham87 commented on Jun 20, 2019

    @davidpham87
    Author

    Thanks for your swift answer!

    This is the repository of example from shadow-cljs:
    https://github.com/shadow-cljs/examples/tree/master/deps-edn-re-frame-and-devcards

    I am going to dig a bit on my side to see if I can manage it! Thanks for your time!

  3. oliyh commented on Jul 8, 2020

    @oliyh
    Owner

    Hi @davidpham87, did you find anything out? I'm just doing some issue cleanup.

    Thanks

  4. davidpham87 commented on Nov 28, 2020

    @davidpham87
    Author

    I have been thinking about it: I think you could do it without it, but I will probably need to make public some of your functions :-) I hope I will have time to study the question in the next 2 months.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions