aspose file tools*
The moose likes Testing and the fly likes test suit with jUnit 4 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Testing
Bookmark "test suit with jUnit 4" Watch "test suit with jUnit 4" New topic
Author

test suit with jUnit 4

miguel lisboa
Ranch Hand

Joined: Feb 08, 2004
Posts: 1281
i read this thread, but i still have a doubt
with older jUnit, i used to write:

how do i do it with junit4?
i even dowloaded junit-addons but seems i cant work it out

TiA
[ July 26, 2006: Message edited by: miguel lisboa ]

java amateur
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
Miguel, it doesn't seem to be too well documented but you do it with [drum roll, please] annotations!



Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
miguel lisboa
Ranch Hand

Joined: Feb 08, 2004
Posts: 1281
it really works

thanks a lot!
miguel lisboa
Ranch Hand

Joined: Feb 08, 2004
Posts: 1281
@ anyone searching for the same as i did:

careless of me! if i had looked into junit4 test code, which came with junit4 zip, i'd find:
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: test suit with jUnit 4