-
Notifications
You must be signed in to change notification settings - Fork 4
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
Run all tests on Enter press #209
Conversation
Hi @klevo
Both features have some issues that require a bit more work. bin/rails test:allUnless mistaken, a quick overview shows that the Additional work:
I've created an issue #210. It is a fair amount of work left and I'm happy to merge some of your changes if you can remove the listening part and give a solution to identify the rails version. I will add a new docker system tests later to include that change in our CI pipeline. If you're not keen on taking on the additional changes. I'm happy to look at this next and make it available when using the command Note: This change will be released in Listening to stdinThis is the main piece of work I'm supposed to tackle for V2. I've tried the current implementation, and it conflicts with the only input required when multiple test files are available. Retest asks you to confirm which test to run which would not be captured because we're already listening to Additional work:
This is issue #174. I will handle this change personally as this is the main change for release v2. |
Hey @AlexB52 - thanks for the detailed reply, it all makes sense. I'll close this PR, and rather open a new one for the |
Hi @klevo, I have pushed a pre-version of Retest 2.0.0. You can install it here with Launching
Here is the open discussion to collect feedback on the proof of concept Let me know what you think if you have time to check it out. This can be changed and improved upon. |
I'm looking for a replacement for Guard and I really like retest. The thing I miss is being able to run all tests with just a single keypress when desired. So here it goes.
Further this PR includes a change to the default Rails command for running all tests. Currently it would not include the system tests, when it's invoked with just "rails test". To really include all tests, including system tests, "rails test:all" needs to be used.