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

test: improve coverage #3874

Closed
mghio opened this issue Aug 6, 2021 · 13 comments · Fixed by #4113, #4193, #4271, #4280 or #4287
Closed

test: improve coverage #3874

mghio opened this issue Aug 6, 2021 · 13 comments · Fixed by #4113, #4193, #4271, #4280 or #4287
Labels
good first issue good first issue Good for beginners help wanted

Comments

@mghio
Copy link
Contributor

mghio commented Aug 6, 2021

The code coverage https://codecov.io/github/ctripcorp/apollo seems to be less than 60%.

It would be great if it can be brought up around 80-90%.

@nobodyiam
Copy link
Member

Yes, 80-90% is truly a better status. Do you have some time to work on this?

@mghio
Copy link
Contributor Author

mghio commented Aug 11, 2021

OK, I'm free on weekends, but I need to take the time to familiarize myself with the code logic first.

@nobodyiam
Copy link
Member

Sure, feel free to let the community know if you need any assistance.

@Anilople Anilople added the good first issue good first issue Good for beginners label Aug 23, 2021
@Anilople Anilople reopened this Nov 27, 2021
@Anilople
Copy link
Contributor

#4113 add test for https://github.com/apolloconfig/apollo/blob/4a202065964a2daf4ebe1316b0f6ea5c0ce73105/apollo-core/src/main/java/com/ctrip/framework/apollo/core/utils/PropertiesUtil.java

Thanks @youyulan


The test of xxxUtil is a good first pull request for new contributors.

@Anilople Anilople changed the title Improve coverage test: improve coverage Nov 27, 2021
@Anilople
Copy link
Contributor

Anilople commented Dec 4, 2021

These xxxUtil are lacking test too.

@ayush0407
Copy link
Contributor

Are there any more tests left and do you guys want me to cover them?

@nobodyiam
Copy link
Member

@ayush0407 Thanks for your kind support, I believe what @Anilople proposed is still valid.

These xxxUtil are lacking test too.

@ayush0407
Copy link
Contributor

Ok cool, I'll try to cover as many of these as I can over this weekend. Thanks guys!

@ayush0407
Copy link
Contributor

Which branch should I pull from and commit to?

@Anilople
Copy link
Contributor

Which branch should I pull from and commit to?

see https://www.apolloconfig.com/#/en/contributing

@ayush0407
Copy link
Contributor

Yeah, I forked the project created a new branch but when I am trying to commit from my eclipse IDE it's not allowing me.
Am I missing something?
Please help me out.

@Anilople
Copy link
Contributor

Yeah, I forked the project created a new branch but when I am trying to commit from my eclipse IDE it's not allowing me. Am I missing something? Please help me out.

Try another git tool?

@ayush0407
Copy link
Contributor

I tried from terminal using auth code but it's giving access denied 403 for my id?
remote: Permission to ayush0407/apollo.git denied to ayush0407.
fatal: unable to access 'https://github.com/ayush0407/apollo.git/': The requested URL returned error: 403
ayushjha@Ayushs-MacBook-Pro apollo7 %

ayush0407 pushed a commit to ayush0407/apollo that referenced this issue Mar 17, 2022
ayush0407 pushed a commit to ayush0407/apollo that referenced this issue Mar 17, 2022
ayush0407 pushed a commit to ayush0407/apollo that referenced this issue Mar 17, 2022
@ayush0407 ayush0407 mentioned this issue Mar 17, 2022
5 tasks
ayush0407 added a commit to ayush0407/apollo that referenced this issue Mar 18, 2022
This reverts commit bd9f5e2.

Reverting the commit.
ayush0407 added a commit to ayush0407/apollo that referenced this issue Mar 19, 2022
ayush0407 added a commit to ayush0407/apollo that referenced this issue Mar 19, 2022
ayush0407 added a commit to ayush0407/apollo that referenced this issue Mar 19, 2022
ayush0407 added a commit to ayush0407/apollo that referenced this issue Mar 20, 2022
ayush0407 added a commit to ayush0407/apollo that referenced this issue Mar 22, 2022
ayush0407 added a commit to ayush0407/apollo that referenced this issue Mar 24, 2022
nobodyiam pushed a commit that referenced this issue Mar 25, 2022
Adding JUnit. Fixes #3874
@nobodyiam nobodyiam reopened this Mar 25, 2022
ayush0407 added a commit to ayush0407/apollo that referenced this issue Mar 27, 2022
@ayush0407 ayush0407 mentioned this issue Mar 27, 2022
5 tasks
ayush0407 added a commit to ayush0407/apollo that referenced this issue Mar 27, 2022
ayush0407 added a commit to ayush0407/apollo that referenced this issue Mar 27, 2022
@nobodyiam nobodyiam reopened this Mar 28, 2022
@nobodyiam nobodyiam reopened this Mar 28, 2022
ayush0407 added a commit to ayush0407/apollo that referenced this issue Mar 31, 2022
@ayush0407 ayush0407 mentioned this issue Mar 31, 2022
5 tasks
ayush0407 added a commit to ayush0407/apollo that referenced this issue Apr 1, 2022
@ayush0407 ayush0407 mentioned this issue Apr 1, 2022
5 tasks
ayush0407 added a commit to ayush0407/apollo that referenced this issue Apr 1, 2022
ayush0407 added a commit to ayush0407/apollo that referenced this issue Apr 1, 2022
ayush0407 added a commit to ayush0407/apollo that referenced this issue Apr 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment