[SPIGOT-3851] JUnit 5 migration with release of 1.13 Created: 10/Mar/18  Updated: 13/Jul/18  Resolved: 13/Jul/18

Status: Resolved
Project: Spigot
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: New Feature Priority: Minor
Reporter: Senmori Assignee: Unassigned
Resolution: Done Votes: 1
Labels: 1.13, JUnit, Java, java8
Environment:

Any?



 Description   

Now that JUnit 5 has had its second general release (as of Feb 18, 2018) is it time to start talking about migrating our tests to the new framework whenever Bukkit updates to Java 8?

I realise 1.13 is still a ways off, and that it's not guaranteed Bukkit will even update to Java 8 with it, but JUnit 5 could make implementing and maintaining tests much easier.

Primarily I'm talking about parameterized tests with dependency injection.

As well, it natively supports Enum parameters, so we can get rid of a lot of the classes that only contain a single test and put them in a "holder" class and run those tests from there.

There's much more it does, but those are pretty much the one thing I was playing around with.

 

User Guide: https://junit.org/junit5/docs/current/user-guide/



 Comments   
Comment by Hex [ 13/Jul/18 ]

May be addressed after release.

Comment by Black Hole [ 14/Mar/18 ]

SrMisster
1. This bug tracker is english only
2. This bug tracker is for issue with the Spigot server software only
3. Don't hijack a random issue
4. For community support please use the Spigot forums

Comment by SrMisster [ 14/Mar/18 ]

fiz um servidor para jogar com um amigo em um mapa de escadona, entao baixei esse plugin de lucky block, so que nao estou conseguindo pegar as lucky blocks me ajuda, qnd coloco os comandos nao acontece nada, help

Comment by SrMisster [ 14/Mar/18 ]

fiz um servidor para jogar com um amigo em um mapa de escadona, entao baixei esse plugin de lucky block, so que nao estou conseguindo pegar as lucky blocks me ajuda, qnd coloco os comandos nao acontece nada, help

Generated at Sat Dec 13 13:49:27 UTC 2025 using Jira 10.3.13#10030013-sha1:56dd970ae30ebfeda3a697d25be1f6388b68a422.