-
Notifications
You must be signed in to change notification settings - Fork 53
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
chore: refactor test utilities #2013
Conversation
library_generation_dir="${script_dir}"/.. | ||
output_folder="$(get_output_folder)" | ||
source "${script_dir}/test_utilities.sh" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now integration test script only source test_utilities.sh
readonly perform_cleanup=$1 | ||
|
||
cd "${SCRIPT_DIR}" | ||
mkdir -p "${SCRIPT_DIR}/output" | ||
|
||
# takes a versions.txt file and returns its version | ||
get_version_from_versions_txt() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This function is only used in generating showcase, so move it here.
[gapic-generator-java-root] Kudos, SonarCloud Quality Gate passed! |
[java_showcase_integration_tests] Kudos, SonarCloud Quality Gate passed! |
[java_showcase_unit_tests] Kudos, SonarCloud Quality Gate passed! |
In this PR:
library_generation/test/test_utilities.sh
.Follow up of #2004 (comment)