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

Add globals/common functions #347

Merged
merged 5 commits into from
Oct 3, 2024
Merged

Add globals/common functions #347

merged 5 commits into from
Oct 3, 2024

Conversation

Chemaclass
Copy link
Member

@Chemaclass Chemaclass commented Oct 3, 2024

📚 Description

There are a set of common functions that I am reimplementing in diff projects while working on my tests. Functions like current_dir, or even log_info to help me debug a concrete variable.

🔖 Changes

  • Move the bashunit internal global functions into tests/bootstrap.sh
  • Add a list of global/common functions (src/globals.sh) that exists to primarily to improve the DX

✅ To-do list

  • I updated the CHANGELOG.md to reflect the new feature or fix
  • I updated the documentation to reflect the changes

For now with the tests its enough. I/we will improve this in the next follow up.

Screenshot 2024-10-03 at 18 53 21

@Chemaclass Chemaclass added the enhancement New feature or request label Oct 3, 2024
@Chemaclass Chemaclass self-assigned this Oct 3, 2024
@Chemaclass Chemaclass changed the title Add globals Add globals/common functions Oct 3, 2024
@Chemaclass Chemaclass merged commit f552273 into main Oct 3, 2024
9 checks passed
@Chemaclass Chemaclass deleted the feat/add-globals branch October 3, 2024 16:59
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
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants