This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Emma and JUnit

 
peter wooster
Ranch Hand
Posts: 1033
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've made an ANT build file that uses Emma with seperate instrumentation to run the JUnit money sample. This was inspired by the Clover tutorial example and should be familiar to anyone who has used that. Here's the build.xml file:



Vlad, I'd appreciate any comments or suggestions.

/peter
 
Cam Esp
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Nice work, really impressive. Just efficiency at its best.
 
j guar
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Peter, I noticed what I believe is a mistake. Instead of
<emma enabled="emma.enabled"

I think you should have
<emma enabled="${emma.enabled}"

as the variable contents being "false" or "true" are what matters, not whether the variable has been set.
 
Nidhi Garg
Greenhorn
Posts: 21
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have some .testdata and .testinfo files for junit testing. How do i include these in junit using emma.
when i am testing , i am getting error for these missing files.
where can i include non java classfiles in target test for junit ??

please reply
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic