wood burning stoves 2.0*
The moose likes Testing and the fly likes regarding junit Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Testing
Bookmark "regarding junit" Watch "regarding junit" New topic
Author

regarding junit

san ch
Ranch Hand

Joined: Oct 18, 2004
Posts: 68
Hi

Iam new to using junit....i need a small clearification....i jus have a beginner knowledge in java .....can i learn junit directly or is it mandatory to have good acquaintance with core java before learning junit

thanks in advance
san
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
I wouldn't consider it a pre-requisite to have "good" knowledge of Java before starting to use JUnit. You do have to know some Java, of course, since JUnit tests are Java code but the vast majority of JUnit test classes tend to be really simple (as in they don't use many "advanced" language features).


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

Joined: Oct 18, 2004
Posts: 68
Hi Lasse Koskela

Thank you for the reply...ill search for some online resources on junit..i have been looking at junit.org.....thank you once again
San ch
Nigel Browne
Ranch Hand

Joined: May 15, 2001
Posts: 673
It is good to see a beginner, learning with testing as a forethought rather than an afterthought. You may like to search out Test-Driven Development on google.
I also recommend that you learn how to build and deliver you code with ANT sooner rather than later.
Ilja Preuss
author
Sheriff

Joined: Jul 11, 2001
Posts: 14112
You might want to take a look at the book "Agile Java: Crafting Code with Test-Driven Development".


The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: regarding junit
 
Similar Threads
hibernate MappingException: duplicate import
how long before we get a book(if a winner)
Emma and JUnit
testing JSP applications with JUnit
are we scrapping book promotions