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

Add unit tests #8

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

EdgarScott
Copy link

Hi. I've analysed your codebase and noticed that it is not fully tested.
I've written some tests for the methods in the following classes with the help of Diffblue Cover:

  • cn.hellohao.pojo.Keys
  • cn.hellohao.utils.ImgUrlUtil
  • cn.hellohao.utils.SetText
  • cn.hellohao.utils.StringUtils
  • cn.hellohao.utils.TypeDict

Hopefully, these tests will help you detect any regressions caused by future code changes. If you would find it useful to have additional tests written for this repository, I would be more than happy to look at other classes that you consider important in a subsequent PR.

These tests were written using Diffblue Cover
These tests were written using Diffblue Cover
These tests were written using Diffblue Cover
These tests were written using Diffblue Cover
These tests were written using Diffblue Cover
These tests were written using Diffblue Cover.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants