A
Ajay
Hello.
(For the past 3 hours) I am searching for a tool to generate junit
tests for rather mundane classes such as this:
package .....;
/**
* @junit
*/
public class CurveKey {
private Long curveId;
private String marketDataSetId;
// constructors, getters, setters snipped
@Override public int hashCode() {
// snipped for readability
}
@Override public boolean equals(Object obj) {
// snipped for readability
}
}
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
What I would like the tool to do is to generate some form of automated
test for getters, setters, hashcode and equals.
Anyone knows of anything I could use?
During my search, I came across Parasoft JTest, which costs real
money, and XDoclet 2 junit plugin: which I could not get to work
(discussion at the xdoclet mailing list). Apart from these two, I came
across, about 6 projects, all of which are in a dormant state.
What do you do for your mundane classes?
Any help / information will be highly appreciated.
Thanks in advance
Ajay
(For the past 3 hours) I am searching for a tool to generate junit
tests for rather mundane classes such as this:
package .....;
/**
* @junit
*/
public class CurveKey {
private Long curveId;
private String marketDataSetId;
// constructors, getters, setters snipped
@Override public int hashCode() {
// snipped for readability
}
@Override public boolean equals(Object obj) {
// snipped for readability
}
}
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
What I would like the tool to do is to generate some form of automated
test for getters, setters, hashcode and equals.
Anyone knows of anything I could use?
During my search, I came across Parasoft JTest, which costs real
money, and XDoclet 2 junit plugin: which I could not get to work
(discussion at the xdoclet mailing list). Apart from these two, I came
across, about 6 projects, all of which are in a dormant state.
What do you do for your mundane classes?
Any help / information will be highly appreciated.
Thanks in advance
Ajay