This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes Types of testing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Types of testing" Watch "Types of testing" New topic
Author

Types of testing

Helana Neumann
Greenhorn

Joined: Feb 07, 2008
Posts: 20
Hi, Christian,

What is unit testing, exactly, and how does it differ from other sorts of testing?

Thank you.

Best,
Helana Neumann
Christian Johansen
author
Ranch Hand

Joined: Oct 03, 2010
Posts: 46
Hi Helana,

A unit test is a small piece of code (function/method) that exercises some other code and verifies its expectations of its results. Unit tests typically test single behaviors of a system in isolation, and is aimed at catching method-level errors and providing a safety-net in which regressions can be caught. In TDD unit tests are also used to drive development and to guide the design of the code.

Unit testing is a developer activity, which sets it apart from how some large organizations do acceptance testing, as an example (i.e. organizations that have their own QA department/people).
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Types of testing
 
It's not a secret anymore!