Annotation driven Junit Test cases
"sourabh" <[email protected]>
| Newsgroups | gmane.comp.java.junit.user |
|---|---|
| Message-ID | <[email protected]> |
Hi,
My team has recently started work on trying to extend Junit to support all inclusive annotation driven testing of a method in Java.
What I mean is that if we have a method
public int add(int a ,int b)
then, instead of having to write a separate class for testing it, we would like to annotate the method as follows
@AutoTest
@InputParams
@AutoAssert
public int add(int a,int b)
The responsibility of setting up junit to understand and execute this set of annotation would be delegated t our custom Runner.
The example above is quite basic as we plan to support testing for complex input objects that are seeded using an XML file.
We are in pretty advanced stages of completing this implementation. Please let me know how can we share our code for approvals/reviews with the Junit community.
Thanks,
SG
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/junit/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/junit/join
(Yahoo! ID required)
<*> To change settings via email:
[email protected]
[email protected]
<*> To unsubscribe from this group, send an email to:
[email protected]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/