Skip to content

Respect the verbose option when printing out results#97

Merged
DmitrySharabin merged 4 commits intomainfrom
fix-verbose
Jun 18, 2025
Merged

Respect the verbose option when printing out results#97
DmitrySharabin merged 4 commits intomainfrom
fix-verbose

Conversation

@DmitrySharabin
Copy link
Copy Markdown
Member

@DmitrySharabin DmitrySharabin commented Jun 18, 2025

For now, even if we specify that option, groups with all passed tests won’t be shown. In CI/CD, this option is not respected even partially. Rel to #7 and #96.

With the changes, one can enable verbose output via the --verbose CLI argument.

I also changed the formatting of skipped tests. For now, they are formatted as failed. Unfortunately, we don’t have many ANSI colors to choose from, so I decided to stick with yellow (I also tried black, as it was the closest to gray, but I thought the final look wasn't decent enough).

As a result of all these changes, we can get (when testing color.js):

image

Running tests with both options (ci and verbose) enabled allows us to (at least partially) address use cases mentioned by @kleinfreund in #96.

@netlify
Copy link
Copy Markdown

netlify bot commented Jun 18, 2025

Deploy Preview for h-test ready!

Name Link
🔨 Latest commit 6a6ab0f
🔍 Latest deploy log https://app.netlify.com/projects/h-test/deploys/6852a39150e583000860f3c2
😎 Deploy Preview https://deploy-preview-97--h-test.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@DmitrySharabin DmitrySharabin requested a review from LeaVerou June 18, 2025 09:46
Unfortunately, we don’t have many ANSI colors to choose from, so I decided to stick with yellow.
@DmitrySharabin DmitrySharabin merged commit 9079aaf into main Jun 18, 2025
4 checks passed
@DmitrySharabin DmitrySharabin deleted the fix-verbose branch June 18, 2025 13:18
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.

2 participants