Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Re-run last test #558

Open
qnkhuat opened this issue Feb 15, 2024 · 2 comments
Open

Feature request: Re-run last test #558

qnkhuat opened this issue Feb 15, 2024 · 2 comments
Labels
client-clojure enhancement New feature or request

Comments

@qnkhuat
Copy link
Contributor

qnkhuat commented Feb 15, 2024

Thank you for the fantastic plugin :)

One of the things that I do often is that I need to re-run a test while making changes.
It'd save me a lot of file switching if we have something similar to ep but for test.

I'd expect the command to re-run the last test that was triggered.

I'm happy to open a PR if you can give me some pointers.
Thanks

@Olical Olical added client-clojure enhancement New feature or request labels Feb 16, 2024
@Olical
Copy link
Owner

Olical commented Feb 16, 2024

Good idea! I guess it'd be good to check if the testing APIs have a way to do this in a first class way, rather than Conjure having to keep the state somewhere. I'm happy to keep the state of the last test ran, we should just check if there's a built in mechanism to CIDER or something that already does this that we can hook into. I have a feeling there is?

@Olical
Copy link
Owner

Olical commented Feb 16, 2024

Ah I think CIDER supports running failed tests, not the last test you ran, so maybe we would have to implement it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
client-clojure enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants