Repository navigation
Add tests helper to create temp testing folders - #145
Merged
Merged
Conversation
speziato
force-pushed
the
chore/isolated-config-folders-in-tests
branch
from
May 5, 2026 19:16
aaef815 to
7f868dc
Compare
speziato
force-pushed
the
chore/isolated-config-folders-in-tests
branch
from
May 5, 2026 19:33
7f868dc to
5153de5
Compare
speziato
marked this pull request as ready for review
May 5, 2026 19:40
matstech
reviewed
May 6, 2026
matstech
approved these changes
May 6, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary 💡
Add a helper that creates a temporary folder to be used to host configuration files for go tests.
Description 📝
Running tests locally before this PR could fail on particular conditions (e.g.: if the real Solo collections of the user running the test already include one named "Orders"). With this change, all tests that require either the configuration, environments, or collections files now will use a temporary folder, so it will not use the real user's folders.
Breaking Changes 💔
None
Tests performed 🧪
go test ./... -count=1before and after the change