Skip to content

Add unit tests for org.dromara.soul.common.utils.UUIDUtils#44

Closed
JohnLBergqvist wants to merge 1 commit into
apache:masterfrom
Diffblue-benchmarks:add-unit-tests-for-org.dromara.soul.common.utils.UUIDUtils
Closed

Add unit tests for org.dromara.soul.common.utils.UUIDUtils#44
JohnLBergqvist wants to merge 1 commit into
apache:masterfrom
Diffblue-benchmarks:add-unit-tests-for-org.dromara.soul.common.utils.UUIDUtils

Conversation

@JohnLBergqvist

Copy link
Copy Markdown

Hi,

I've analysed your code base and noticed that org.dromara.soul.common.utils.UUIDUtils in the soul-common module is not fully tested.

I've written some tests for the functions in this class with the help of Diffblue Cover.

In addition, I noticed that instantiating UUIDUtils via the public constructor will never cause the block at line 83 to be entered.

Hopefully these tests should 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 particular classes that you consider important.

These tests were written using Diffblue Cover.
Dependencies required to run the tests have also been added.
@yu199195

Copy link
Copy Markdown
Member

thanks,please look at other particular classes

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