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

Unit Test for dubbo-registry/dubbo-registry-api #2177

Closed
chickenlj opened this issue Aug 3, 2018 · 1 comment
Closed

Unit Test for dubbo-registry/dubbo-registry-api #2177

chickenlj opened this issue Aug 3, 2018 · 1 comment
Labels
help wanted Everything needs help from contributors

Comments

@chickenlj
Copy link
Contributor

Sub-task of #1690

@chickenlj
Copy link
Contributor Author

chickenlj commented Aug 3, 2018

The following branches are in need of UT:

  • org.apache.dubbo.registry.support.AbstractRegistry#register
  • org.apache.dubbo.registry.support.AbstractRegistry#unregister
  • org.apache.dubbo.registry.support.AbstractRegistry#subscribe
  • org.apache.dubbo.registry.support.AbstractRegistry#unsubscribe
  • org.apache.dubbo.registry.support.AbstractRegistry#recover
  • org.apache.dubbo.registry.support.AbstractRegistry#notify(java.util.List<org.apache.dubbo.common.URL>)
  • org.apache.dubbo.registry.support.AbstractRegistry#notify(org.apache.dubbo.common.URL, org.apache.dubbo.registry.NotifyListener, java.util.List<org.apache.dubbo.common.URL>)

The better the higher of the code coverage. But remember code coverage is not the only standard, A reasonable Test Case is also very important.

@chickenlj chickenlj added help wanted Everything needs help from contributors good first issue labels Aug 3, 2018
MasterHJG added a commit to MasterHJG/incubator-dubbo that referenced this issue Aug 7, 2018
Unit Test for dubbo-registry/dubbo-registry-api apache#2177
MasterHJG added a commit to MasterHJG/incubator-dubbo that referenced this issue Aug 7, 2018
Unit Test for dubbo-registry/dubbo-registry-api apache#2177
zhinieing added a commit to zhinieing/incubator-dubbo that referenced this issue Aug 13, 2018
beiwei30 pushed a commit that referenced this issue Aug 15, 2018
….support.AbstractRegistry #2177 Team2 (#2284)

* Fix format problem of AbstractRegistryTest

* Improve existing tests and add multi thread tests
beiwei30 pushed a commit that referenced this issue Aug 15, 2018
beiwei30 pushed a commit that referenced this issue Aug 15, 2018
* test

* Please enter the commit message for your changes. Lines starting

* test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Everything needs help from contributors
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants