Skip to content
This repository has been archived by the owner on Oct 6, 2023. It is now read-only.

IDE integrations #24

Open
mathieutu opened this issue Aug 27, 2021 · 8 comments
Open

IDE integrations #24

mathieutu opened this issue Aug 27, 2021 · 8 comments
Labels
enhancement New feature or request

Comments

@mathieutu
Copy link
Contributor

Hi,
I've gave a shot to peeky for testing a package.
It's really easy to configure and much quicker than jest to run, BUT I've unfortunately lost a lot of DX.

Indeed, I've usually some tools to launch and restart my tests directly in the IDE:

Run tests from editor

Rerun failed tests

It's quite the same than your interface, but in my IDE, so quicker and... better for me.

Do you know if we can do something about that?

I think that if we want to avoid to make plugins for all of the IDEs, the easier would be a way to provide a Jest compatible interface, to be able to select Peeky as a Jest runner.

What are you thoughts about that?

Thanks.

@mathieutu mathieutu changed the title IDE plugins. IDE integrations. Aug 27, 2021
@Akryum Akryum added the enhancement New feature or request label Aug 30, 2021
@mathieutu
Copy link
Contributor Author

@Akryum from your message, can we understand that you prefer to make ide plugins than adapt peeky to create a jest interface? (which is really what I would choose personally)

@Akryum
Copy link
Owner

Akryum commented Aug 30, 2021

@mathieutu I'm not sure of the direction, just doing some research. If we can trick IDE into thinking it's Jest, maybe it's worth a shot - I have no clue how to do that for now though.

@mathieutu
Copy link
Contributor Author

For jetbrain at least, we can summarize the work to "make a jest compatible cli". In background, the ide just call the cli with some args. If we create a cli which is a just a proxy we can answer a lot of issue imo. I'll make some tests.

@Akryum
Copy link
Owner

Akryum commented Aug 30, 2021

I didn't find any relevant documentation about this yet. Also I don't have any Jetbrains IDE on my computer 😅

@mathieutu
Copy link
Contributor Author

Ok, I've made some tests, and what I've seen is that Jetbrain (and probably also vscode) uses custom reporters of its own to parse and understand the jest or mocha results. It will so be a bit more difficult than planned, as it would force us to add a reporter feature to Peeky, which will have the same interface than jest...

@Akryum
Copy link
Owner

Akryum commented Aug 31, 2021

#30

@mathieutu
Copy link
Contributor Author

#30

Who passed --quiet mode to @Akryum? I knew him more --verbose! 😛

@Akryum Akryum changed the title IDE integrations. IDE integrations Dec 7, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants