dcsimg
Basic Question on JUnit usage
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Krishna_Balanagu
Posted On:   Wednesday, July 18, 2007 09:20 AM

Pl. fogive my limited knowledge with Java.


I would like to know whether JUnit tests can be created if I receive the executable jar of an application instead of its source code?


Thanks in advance


Krish

Re: Basic Question on JUnit usage

Posted By:   Robert_Lybarger  
Posted On:   Wednesday, July 18, 2007 06:54 PM

If said executable jar is also provided with programming API docs of some variety, then the quick answer is "yes". You will write your own test classes and make calls the whatever is that jar file to create "fixture objects" and then do method calls on them, then assert some return value / system state / exception.
About | Sitemap | Contact