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 for dough-data #65

Open
wants to merge 25 commits into
base: main
Choose a base branch
from
Open

Add unit tests for dough-data #65

wants to merge 25 commits into from

Conversation

md5sha256
Copy link
Contributor

@md5sha256 md5sha256 commented Aug 8, 2021

Waiting on #62 to be merged as this includes the tests for CopyUtils.

Whilst the PR has enough tests, there is room for improvement in the quality and (potentially) necessary documentation of the tests.

This PR adds tests for the blocks and collections packages in dough data alongside data.TriStateOptional. ~~That being said, there aren't any tests for the persistence package. ~~

I'm hoping once MockBukkit/MockBukkit#244 is merged I can start working on writing tests for PersistentDataAPI.

I haven't added @Displayname annotations to the tests consistently but there are a few which do have them.

This brings us up to 88% class coverage and 75% lines covered.

@sonarcloud
Copy link

sonarcloud bot commented Aug 8, 2021

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication

@J3fftw1
Copy link
Contributor

J3fftw1 commented Feb 25, 2024

Marking this as stale
The repo is no merged to the Slimefun org so it should be reviewed faster in the future.

@J3fftw1 J3fftw1 added the Stale This marks the Pull Request as Stale. label Feb 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Stale This marks the Pull Request as Stale.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants