Closed cryxli closed 10 years ago
The bukkit team added an implementation of plugin loading to the API which does not implement against the API but against real final classes.
Unit tests are impossible that way.
Strategy: Not run the real implementation of the Bukkit plugin but an alternative implementation just for unittests.
This questions the very nature of unittesting, since unittests across maven modules still do not work. But at least the method scoped unittests work.
Plugins require a special classloader attached. Everything is private or package based. All unittests are broken.