This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes IDEs, Version Control and other tools and the fly likes eclips and Junit testing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "eclips and Junit testing" Watch "eclips and Junit testing" New topic
Author

eclips and Junit testing

Simon Xu
Ranch Hand

Joined: Aug 16, 2000
Posts: 235
I have yet used eclips. Can eclips be used for extreme programming? Does it has test-first?
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
Yes, Eclipse can be used for extreme programming. Eclipse can also be used for waterfall, RUP, DSDM, Scrum, Evo, and just about any other software development process which includes writing code. The same with test-driven development -- Eclipse can be used for that, but you can also do TDD with Notepad if you want to.


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

Joined: Aug 16, 2000
Posts: 235
Thanks, Lasse.
I have another question. Did anyone plugin Junit into eclipse?
Simon
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
Yes, the JUnit plugin is part of the default configuration.
Michael Zalewski
Ranch Hand

Joined: Apr 23, 2002
Posts: 168
I really love the JUnit plug-in for Eclipse. You can set break points in your unit tests, then Run | Debug As .. | JUnit Test. When you hit the breakpoint, you can examine the stack, alter variables, and fix up the code without ever leaving the IDE.
Ilja Preuss
author
Sheriff

Joined: Jul 11, 2001
Posts: 14112
Originally posted by Lasse Koskela:
Yes, Eclipse can be used for extreme programming.

Eclipse is actually a perfect fit for XP. The instant compilation supports very short code/test cycles. Refactoring support is improving continuously. The JUnit plugin makes it very easy to fix your tests by providing clickable stack traces. And the quick fixes are great for programming by intention. Write a test for a non-existing method, press Ctrl-1 on the method call and let Eclipse generate the method body for you.


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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: eclips and Junit testing