| View: | [ 2009 | 2008 | 2007 | 2006 | 2005 | 2004 | 2003 | 2002 | 2001 ] |
| Articles Presentations | Tutorials |
- Bug patrol by Joe Walker - [Clicks: 82]
Joe Walker examines different types of bugs and seven tools to help you uncover them.
[FindBugs, PMD/CPD, Checkstyle, Jalopy/Jacobe, JDepend, JUnit, Eclipse]
http://www.javaworld.com/javaworld/jw-11-2003/jw-1121-quality.html - Nov, 2003 - Book Review of JUnit In Action by Dion Almaer - [Clicks: 92]
JUnit in Action (Manning Publications), shows you how to benefit from unit testing using the JUnit open source testing framework. It discusses unit testing techniques and best practices and gives examples of tough situations such as how to unit test EJBs, database applications, JSPs and Taglibs. In this book review, Dion Almaer gives a detailed synopsis of the sections on JUnit, Testing Strategies, and Testing Components and highlights some of the key strategies and tools used in the book.
http://www.theserverside.com/resources/article.jsp?l=JUnitBookReview - Nov, 2003 - Managing J2EE Systems with JMX and JUnit by Lucas McGregor - [Clicks: 70]
The promise of J2EE was to build more robust, scalable, and secure enterprise systems. J2EE promised that we could do it quickly and easily since J2EE is supposed to take the complexity out of building powerful distributed systems.
http://www.sys-con.com/story/?storyid=37797&DE=1 - Nov, 2003 - Eye on performance: A load of stress by Jack Shirazi, Kirk Pepperdine - [Clicks: 19]
Intrepid optimizers Jack Shirazi and Kirk Pepperdine, Director and CTO of JavaPerformanceTuning.com, follow performance discussions all over the Internet. A recent stop on TheServerSide.com message boards revealed some questions on stress testing and load testing. Jack and Kirk examine this subject in detail and discuss how the right tool can make a load of difference in your results.
http://www-106.ibm.com/developerworks/java/library/j-perf10283/ - Oct, 2003 - JUnit in Action (Chapter Excerpts) by Vincent Massol, Ted Husted - [Clicks: 142]
The Sampling JUnit chapter creates a test case for an application controller, which examines how several components work together. It introduces the case-study code, identifies what code to test, shows how to test it, and creates tests for exceptional conditions. The Testing in isolation with mock objects chapter introduces and demontrates mock objects, shows how to use mock objects as a refactoring technique, how mock objects can verify API contracts on collaborating classes, and looks at how mock objects can be used an HTTP connection sample application.
[Format: PDF]
http://www.theserverside.com/resources/article.jsp?l=JUnitInAction - Oct, 2003 - JUnit: Test-Driven Development by Jasmit Kochhar - [Clicks: 131]
JUnit is an open source, regression-testing framework that lets Java developers write unit tests as they develop systems. Jasmit Kochhar shows you how to use it to establish a close relationship between testing and development.
http://www.informit.com/isapi/product_id~{E48E6971-1CBE-43B9-9E6D-76A26A4B7D87}/session_id~{}/content/index.asp - Oct, 2003 - Test-driven development lets you eliminate bugs as you code by Harshad Oak - [Clicks: 31]
In software development, bugs are a fact of life. However, test-driven development can reduce software bugs to a minimal annoyance. See how to set up a system for your next project.
http://builder.com.com/5100-6370-5077388.html?tag=sc - Sep, 2003 - Running Individual Test Cases from Ant by Luke Francl - [Clicks: 84]
JUnit and Ant are indispensable tools for Java development. This article discusses how to use them together more effectively, allowing you more control over which test cases get run. We'll start by showing how to run a specific Test class from Ant, and then move on to selectively running individual test case methods inside a Test.
http://today.java.net/pub/a/today/2003/09/12/individual-test-cases.html - Sep, 2003 - Jakarta Pitfalls : Time-Saving Solutions for Struts, Ant, JUnit, and Cactus (Java Open Source Library) - [Clicks: 223]
[Two chapter excerpts - Testing: Cactus and Junit; Struts TagLibs and JSPs.]
http://www.theserverside.com/resources/article.jsp?l=JakartaPitfalls - Aug, 2003 - Multithreaded Tests with Junit by N. Alex Rupp - [Clicks: 63]
This article introduces GroboUtils, a JUnit extension library designed to address this problem and enable multithreaded unit testing in JUnit. A basic understanding of JUnit and threads is recommended but not necessary for readers of this article.
http://today.java.net/pub/a/today/2003/08/06/multithreadedTests.html - Aug, 2003 - Software Testing for Programmers, Part 2 by Thornton Rose - [Clicks: 53]
Turn your testing theories into practice by unit testing Java applications with JUnit.
http://www.developer.com/open/article.php/2231391 - Jul, 2003 - Designing Testability with Mock Objects by Mario Aquino - [Clicks: 35]
Using examples, this article will attempt to describe an approach to designing testable software using interfaces, mock objects, and JUnit.
[Includes source code for all article examples]
http://www.ociweb.com/jnb/jnbJun2003.html - Jun, 2003 - Demystifying Extreme Programming: The right (XP) tool for the job by Roy W. Miller - [Clicks: 20]
Choosing the best tools to help teams properly implement XP
http://www-106.ibm.com/developerworks/java/library/j-xp052703/ - May, 2003 - JUnit + Jtest = Automated Test Case Design and Static Analysis by Carson Ellsworth, Cynthia Dunlop - [Clicks: 60]
Jtest, an automated unit testing and static analysis tool, extends JUnit to provide automatic test case generation and static analysis functionality.
http://www.devx.com/Java/Article/15625 - May, 2003 - A JUnit Step-by-Step by Michel Casabianca - [Clicks: 213]
Let's take a closer look at how to write and run unit tests by using tools such as JUnit, Ant, and Oracle9i JDeveloper.
http://otn.oracle.com/oramag/oracle/03-may/o33junit.html - May, 2003 - Top 12 Reasons to Write Unit Tests by Eric M. Burke, Brian M. Coyner - [Clicks: 55]
We hope that by writing this article we can dispell these myths and encourage programmers to do the right thing and write tests!
http://www.onjava.com/pub/a/onjava/2003/04/02/javaxpckbk.html - Apr, 2003
- Struts Testing - EXPOSED! Unit Testing Struts Applications by Bill Siggelkow - [Clicks: 213]
[Includes source code]
http://prdownloads.sourceforge.net/struts/testing.zip?download - Oct, 2003 - (ZIP - 309 Kb) - Unit Testing J2EE applications by Vincent Massol - [Clicks: 194]
This session will start by explaining why we need unit tests by putting them in perspective with Agile development and Continuous Integration practices. We will then cover the different strategies for unit testing J2EE components (Servlets/Filters/Taglibs/JSPs/EJBs/Database access): Mock Objects and In-container testing with Cactus. We will discuss the pros and cons of each approach and propose strategies to decide when to use one or the other. The session will include demos. We will finish by demonstrating how to unit test J2EE components using Cactus and Aspect-Oriented Programming.
http://www.pivolis.com/pdf/Unit_Testing_J2EE_V1.1.pdf - Jun, 2003 - (PDF - 1181 Kb)
- Keeping critters out of your code: How to use WebSphere and JUnit to prevent programming bugs by David Carew, Sandeep Desai, Anthony Young-Garner - [Clicks: 128]
The extreme programming philosophy, which places heavy emphasis on unit testing, has gained popularity among developers. This tutorial explains how you can use JUnit, an open source unit testing framework, in conjunction with WebSphere Application Developer. Mastering these skills is the first step towards implementing an extreme programming environment in your own workplace.
[Formats: HTML, PDF, Zip]
https://www6.software.ibm.com/reg/devworks/dw-wes-junit-i?S_TACT=103AMW02&S_CMP=EDU - Jun, 2003