Skip to content

Add progress bar #429

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

Draft
wants to merge 16 commits into
base: main
Choose a base branch
from
Draft

Add progress bar #429

wants to merge 16 commits into from

Conversation

Chemaclass
Copy link
Member

@Chemaclass Chemaclass commented Jun 9, 2025

🔖 Changes

  • Display a progress bar at the bottom of the runner when running in non-parallel mode
    • To enable use the option -pb|--progress-bar

🧪 Demo

Screen.Recording.2025-06-09.at.17.38.41.mov

@Chemaclass Chemaclass self-assigned this Jun 9, 2025
@Chemaclass Chemaclass added the enhancement New feature or request label Jun 9, 2025
@Chemaclass Chemaclass mentioned this pull request Jun 9, 2025
2 tasks
@Chemaclass Chemaclass force-pushed the chore/progress-bar branch from e058b56 to 4868689 Compare June 9, 2025 16:13
@Chemaclass Chemaclass force-pushed the chore/progress-bar branch from 0a47a6f to b4db09f Compare June 9, 2025 16:19
@Chemaclass Chemaclass marked this pull request as ready for review June 9, 2025 16:44
Copy link
Contributor

@CosmeValera CosmeValera left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Idea:

Remove the need of writing --progres-bar (or -pb) when running the bashunit script.
Instead, integrate this functionality into the core behaviour of the default system.

For example:

  • <15 tests, don't show the progress bar
  • =>15 tests, show the progress bar

@Chemaclass
Copy link
Member Author

I am not 100% convince if I like to have this feature entirely. I am not sure if the value added worth the code complexity in it... I will rather wait a little bit and sleep on it. Maybe I can come up with a simpler approach.

@Chemaclass Chemaclass marked this pull request as draft June 9, 2025 19:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants