Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

regarding junit

 
san ch
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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).
 
san ch
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 703
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 14112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You might want to take a look at the book "Agile Java: Crafting Code with Test-Driven Development".
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic