I need to analyze whether having different versions of java for product (AUT) and Tests (written using testng) will have any impact on test-ability of the AUT. Lets say product is using Java 7 and the testNG tests are using Java 6 (JRE) to run [or vice versa]. Will this result in any kind of issues ?

The type of tests can be anything from unit, system, functional, integration, etc.

Please help.

有帮助吗?

解决方案

Most likely you have code written in Java 7 and a tests written in Java 6. This is not a problem provided you have a JVM which can run Java 7 i.e. JRE 7+.

The fact some of the code is written in Java 1.1 or 5.0 or 6, or even compiled using this version doesn't matter.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top