Closed klimeryk closed 9 years ago
Thanks for pointing this out, I added a note to the README mentioning that 4.5 is the minimum. It might be possible to make it work with 4.4, but seeing as how 4.5 come out over six years ago I don't think it's a big priority! The instructions for JUnit 3 will probably also function as a workaround.
The README suggests that gwtmockito's GwtMockitoTestRunner is compatible with JUnit 4.x ("Getting started with GwtMockito using Junit 4 is easy."), when in fact it needs version >= 4.5. With version 4.4 you get the following exception:
According to a question on StackOverflow, this is because the required class was introduced in JUnit 4.5. Unless I'm missing something, I think it should be stated explicitly which version of JUnit is actually supported.
PS: Great piece of black magic classloader sorcery :)