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

#78: the properties file stays stable. Wrote test #107

Conversation

MattesMrzik
Copy link
Contributor

The test confirms that the properties file remains stable even if values are updated. The test further revealed, that the set method of EnvironmentVariablesPropertiesFile does not update the "export" flag if the old and new value are identical (see issue #106 )

@MattesMrzik
Copy link
Contributor Author

The PR tests should succeed if PR #108 is merged.

Copy link
Member

@hohwille hohwille left a comment

Choose a reason for hiding this comment

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

@MattesMrzik thanks for adding this test. You created a nice test-scenario that should cover most relevant cases. 👍
You could even add a case that removes a variable by settings its value to null to cover that as well.
I left a few general comments on writing great tests. Please have a look. After resolving these comments, we can merge.

@hohwille hohwille linked an issue Oct 20, 2023 that may be closed by this pull request
@hohwille hohwille added this to the release:2024.01.001 milestone Oct 20, 2023
Copy link
Member

@hohwille hohwille left a comment

Choose a reason for hiding this comment

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

@MattesMrzik thanks for the rework. Now everything is perfectly nailed - great work 👍

@hohwille hohwille merged commit 6b7c97c into devonfw:main Oct 23, 2023
hohwille pushed a commit to hohwille/IDEasy that referenced this pull request Oct 24, 2023
hohwille pushed a commit to hohwille/IDEasy that referenced this pull request Oct 24, 2023
@MattesMrzik MattesMrzik deleted the feature/#78-improve-writing-changes-to-ide.properties branch November 22, 2023 10:58
@hohwille hohwille added the story-review marks PRs that will be presented in the sprint-review label May 3, 2024
@hohwille hohwille added reviewed Marks PRs that have been presented in the sprint-review meeting or that do not need to be presented. and removed story-review marks PRs that will be presented in the sprint-review labels May 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
reviewed Marks PRs that have been presented in the sprint-review meeting or that do not need to be presented.
Projects
None yet
2 participants