Junit 4 and Java 5

CodePro AnalytiX (Audit & Test), includes over 1000 audit rules and metrics, JUnit test generation & editing, code coverage, and duplicate code analysis

Moderators: gnebling, jwren, Eric Clayberg, Dan Rubel, Brian Wilkerson, dcarew

Junit 4 and Java 5

Postby jtoyosla » Mon Nov 13, 2006 4:00 am

Hello,


it's possible to get a version of CodePro with junit 4 and Java5 ??

thanks a lot

Javier
jtoyosla
 
Posts: 2
Joined: Mon Nov 13, 2006 3:47 am

Postby Brian Wilkerson » Tue Nov 14, 2006 10:27 am

Javier,

CodePro already has considerable support for JUnit 4 and Java 5. What kind of support are you looking for?
Brian Wilkerson
Google, Inc.
http://www.google.com
Brian Wilkerson
Moderator
 
Posts: 32
Joined: Fri Apr 28, 2006 9:37 am

Postby jtoyosla » Thu Nov 16, 2006 4:31 am

I have just downloaded CodePRo v4.5.0 and i have installed it with eclipse 3.2. Then, i try to generate a Junit test case. And the new code generated .. it is a JUnit3 ( no annotations @Test for example )

Javier
jtoyosla
 
Posts: 2
Joined: Mon Nov 13, 2006 3:47 am

Postby Brian Wilkerson » Tue Nov 21, 2006 8:15 am

Javier,

I'm still not sure that I understand what you're asking. CodePro uses the same versions of JUnit and the JDK as you have configured Eclipse to use; it doesn't include either one. If you are using a version of Eclipse that includes JUnit 4, then that's the version of JUnit that CodePro will use. If you're using a version of Eclipse that supports Java 5 and are running it on JDK 1.5, then CodePro will work with your Java 5 source code.

All you need to do is download the installer that matches the version of Eclipse that you are using.
Brian Wilkerson
Google, Inc.
http://www.google.com
Brian Wilkerson
Moderator
 
Posts: 32
Joined: Fri Apr 28, 2006 9:37 am


Return to CodePro AnalytiX & PlusPak. EclipsePro Audit & Test

Who is online

Users browsing this forum: Yahoo [Bot] and 1 guest