Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

annotations and reflection  RSS feed

 
Barry Andrews
Ranch Hand
Posts: 529
C++ Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Has anyone used reflection with annotations to do testing? If so, what experiences have you had?

Does the book cover the usage of reflection with annotations?

thanks,

Barry
 
Alexandru Popescu
Ranch Hand
Posts: 995
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
TestNG for JDK 1.5 is using java annotations for determining different types of methods inside your test classes.

--
./pope
[the_mindstorm]
 
Nate Forman
author
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The book has an overview of the annotation facility. However, the spec was not frozen before we had to ship. We also hadn't had time to use it professionally, (it being unpublished and all...) so we couldn't give it the same treatment as the rest of the material.

Best Regards,

Nate
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!