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

V2/refactor test helper #235

Merged
merged 11 commits into from
Dec 8, 2024
Merged

V2/refactor test helper #235

merged 11 commits into from
Dec 8, 2024

Conversation

AlexB52
Copy link
Owner

@AlexB52 AlexB52 commented Dec 8, 2024

No description provided.

@AlexB52 AlexB52 force-pushed the v2/refactor-test-helper branch from bd33518 to c672bdd Compare December 8, 2024 20:59
@AlexB52 AlexB52 merged commit c2744b9 into v2.0 Dec 8, 2024
16 checks passed
@AlexB52 AlexB52 deleted the v2/refactor-test-helper branch December 8, 2024 21:04
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
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant