-
-
Notifications
You must be signed in to change notification settings - Fork 249
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
Added Unit Test For UserIdUtils #3280
Conversation
@mahibi @AndyScherzinger as we had a chat i have started the writing tests by writing a simple unit test |
@Smarshal21 I added some minor comments. On top of that it would be nice if you could add a Github action to execute the tests. For inspiartion see https://github.com/nextcloud/android/blob/master/.github/workflows/unit-tests.yml while that would need to be rewriten since you won't have jacoco and the comment deletion. So a simple execution should be enough, like a modified version of https://github.com/nextcloud/android/blob/master/.github/workflows/unit-tests.yml#L32-L35 with a different, fitting value for https://github.com/nextcloud/android/blob/master/.github/workflows/unit-tests.yml#L35 |
Also @Smarshal21 since we added you to the organization you can just create the branches within this repository. This makes your life and ours easier since rebases are a bit simpler and all GH actions will get executes since that is blocked on forks for security reasons. |
Sure |
Yeah Thanks!! |
Done |
could you tell me more about the github actions?? |
@Smarshal21 anything specific besides the referenced workflow files? |
Sorry for the late reply, very busy these days :/ |
Nope |
Thats fine :) |
nothing else I would say :) Better to keep the PRs small that helps with keeping reviews short and merges happening quickly 👍 Also one thing for the future, git related, to keep the PR clean and tidy, best to rebase it against |
i guess there was some confusion about the suggested github workflow. The test itself is absolutely fine @Smarshal21 so i merged it. Adding the github workflow is unrelated. It is about executing all tests on github, see https://docs.github.com/en/actions/using-workflows/triggering-a-workflow for explanation. |
Hello there, We hope that the review process is going smooth and is helpful for you. We want to ensure your pull request is reviewed to your satisfaction. If you have a moment, our community management team would very much appreciate your feedback on your experience with this PR review process. Your feedback is valuable to us as we continuously strive to improve our community developer experience. Please take a moment to complete our short survey by clicking on the following link: https://cloud.nextcloud.com/apps/forms/s/i9Ago4EQRZ7TWxjfmeEpPkf6 Thank you for contributing to Nextcloud and we hope to hear from you soon! |
fixes #3279
Added Unit Test For UserIdUtils
🏁 Checklist
/backport to stable-xx.x