3

According to the SourceForge project page, junit-addons is compatible with Junit 3.7 and 3.8. Does anyone know if this will work with Junit4.x? If not, are there any alternative libraries with HTML reporting functions*?

*I am trying to avoid using Ant for this, as my client wishes against using Ant.

Bender the Greatest
  • 17,062
  • 18
  • 82
  • 145

1 Answers1

2

I don't think junit-addons is compatible with junit 4, it certainly doesn't look it from the sourceforge page you displayed.

I would recommend using ant or maven. If invoking the command line version of ant is a problem, you could always look at embedding it. See the answers to Run ant from Java for a good starting point.

Community
  • 1
  • 1
Matthew Farwell
  • 59,707
  • 18
  • 122
  • 168
  • I ended up going with Ant even though it "wasn't an option". Seems the client didn't really care about using Ant as long as the build process didn't rely on it. – Bender the Greatest Oct 17 '11 at 15:57