-
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
V2/refactor test helper #235
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AlexB52
force-pushed
the
v2/refactor-test-helper
branch
from
December 8, 2024 20:59
bd33518
to
c672bdd
Compare
AlexB52
added a commit
that referenced
this pull request
Dec 11, 2024
* listen to user inputs in executable (#213) * Listen to user inputs in executable * 'h' or 'help' -> Prints help * 'p' or 'pause' -> Pauses Retest. Tests aren't run until unpaused. * 'u' or 'unpause' -> Unpauses Retest * <Enter> -> Runs last changed triggered command * 'ra', 'run all' -> Runs all tests * 'e' or 'exit' -> Exits Retest * Create version 2.0.0.pre * Fix gets chomp no method error (#217) * Convert nil to string * Update version to v2 in tests * Update the help prompt * Refactor Runner#run_all_tests to raise unless for TestRunner (#219) * Manage stdin based on the process running (#220) * Create Program#run_synchronously (#221) * Create pre release 3 (#223) * Multiplex stdin between user input and listen input (#224) * Reverse Listen communication and restrict its usage as an automatic input * Delete Program#run_synchronously * Clear input dependencies on runner and prompt & refactor program * Create version v2.0.0.pre3 * v2 - Refactor runners (#226) * Update file selection logs * Create Command::Hardcoded * Use the Command::Hardcoded command * Update Runner#run arguments * Delete all runners except Runner * Switch to bundler 2.3.27 * Standardize ruby version in ci definition * Remove clear terminal call * Ask user which tests to run We add TTY::Prompt dependency for ease of user experience * Refactoring * Cleanup runner and commands * Remove all_test_runner * Refactor format batch of Ruby and Rake * V2 - Force selection of test files to run (#228) * Remove command dependency from program objects * Force selection of tests and run them on file changes * Small fixes: * Clear terminal window from the executable instead * Add a hint to reset when on forced selection * Update interactive help * Run last command on Enter * Create version 2.0.0.pre4 * Add Watchexec watcher as default when installed on machine * Revert to Bundler 2.3.27 * Create --exts and Delete --ext option We allow to pass a list of extensions instead of a regex and build the regex from the options instead of the user. This is simpler and easier for the user. * Display watcher used * Switch Listen to Wrapper Watcher::Default * Override watchexec with default watcher on CI * Allow VersionControl.files to take file extensions * Default to watchexec when installed * Remove .puts (for now) * Remove watchexec feature specs (for now) * Fix order of file change events in watchexec watcher (#231) * V2/watchexec feature test (#232) * Create Watchexec feature specs * Build watchexec in separate image * Add command to build watchexec image * Merge ruby-app to use both watchexec and listen watchers (#233) * Create version 2.0.0.pre5 * Add Interactive Feature tests (#234) * Fix Runner#last_command when running all tests * Refactor bundler-app helpers and test command * Add interactive feature tests * Pause/Unpause * Run all * Force selection * Start / Help * Run last command * V2/refactor test helper (#235) * Enable new test helper for all feature specs * Refactor all feature specs * Fix rails-app feature spec
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.