[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 |
| 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 |