[SPIGOT-6400] Add Mocking Library to CraftBukkit Created: 23/Mar/21 Updated: 07/Oct/23 Resolved: 07/Oct/23 |
|
| Status: | Resolved |
| Project: | Spigot |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | New Feature | Priority: | Minor |
| Reporter: | Sander Knauff | Assignee: | Unassigned |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Version: | Any |
| Guidelines Read: | Yes |
| Description |
|
Currently it is very difficult to write valid and isolated unit tests for CraftBukkit code or Patched Minecraft code. Adding a mocking library, such as Mockito, would ease the burden of dealing with the dependencies of the code so classes and methods can be tested thoroughly. |