Skip to content

refactor: Use relative path instead of absolute when running test#920

Merged
alestiago merged 7 commits intoVeryGoodOpenSource:mainfrom
mrgnhnt96:test-paths
Dec 15, 2023
Merged

refactor: Use relative path instead of absolute when running test#920
alestiago merged 7 commits intoVeryGoodOpenSource:mainfrom
mrgnhnt96:test-paths

Conversation

@mrgnhnt96
Copy link
Contributor

Fixes: #754

Status

READY

Description

The change introduced in this PR is to clean up the console when the cwd is printed. Specifically when running very_good test.
Sometimes the full path of the cwd is too long and would be cut off. If running recursively, this can leave the developer confused as to which directory was tested.

image

A solution to the problem is to shorten the path printed to console. Instead of printing the absolute path, the relative path is used.

image

Type of Change

  • ✨ New feature (non-breaking change which adds functionality)
  • 🛠️ Bug fix (non-breaking change which fixes an issue)
  • ❌ Breaking change (fix or feature that would cause existing functionality to change)
  • 🧹 Code refactor
  • ✅ Build configuration change
  • 📝 Documentation
  • 🗑️ Chore

@mrgnhnt96 mrgnhnt96 requested a review from a team as a code owner December 13, 2023 17:22
@mrgnhnt96 mrgnhnt96 changed the title Use relative path instead of absolute when running test refactor: Use relative path instead of absolute when running test Dec 13, 2023
Copy link
Contributor

@alestiago alestiago left a comment

Choose a reason for hiding this comment

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

Thank you for your contribution! I left some very small comments about it, overall LGTM

@alestiago alestiago self-assigned this Dec 14, 2023
@alestiago alestiago added the waiting for response Waiting for follow up label Dec 14, 2023
@mrgnhnt96
Copy link
Contributor Author

Thanks for your review! See the respective changes and lmk if you have any other suggestions!

alestiago
alestiago previously approved these changes Dec 14, 2023
@alestiago alestiago removed the waiting for response Waiting for follow up label Dec 14, 2023
wolfenrain
wolfenrain previously approved these changes Dec 14, 2023
@mrgnhnt96 mrgnhnt96 dismissed stale reviews from wolfenrain and alestiago via af197e8 December 14, 2023 17:59
@alestiago alestiago merged commit 0670bb0 into VeryGoodOpenSource:main Dec 15, 2023
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.

fix: package name not visible in output when run tests recursive

3 participants