I am working on a project that is using JDK 1.4 and I am planning to write JUnit test cases in JDK 1.5 for several reasons like:
- I wanna explore JDK 1.5
- to use Mocking frameworks more efficiently.
Is it a good idea to do so??
(I’ve created two projects in Eclipse and am trying this)
Yes go ahead. But you might not able to use few things for example generics. I mean if the original method is returing say,
Map, you can’t say in your test something like,I suppose.