Skip to content

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
@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.

3 participants