My pages
Projects
Communities
java.net
java.net
>
Wiki
>
Javapedia
>
FrameworksAndLibraries
> JUnit
As the new Java.net infrastructure contains project-level wikis, this main wiki will be shut down in the near future. For wiki page export and general wiki questions please contact the site admin at
communitymanager@java.net
.
Home
|
Help
|
Changes
|
Index
|
Search
| Go
JUnit
A popular open-source unit-testing framework for Java hosted at
http://junit.org/
. Extreme Programming recommends developing unit tests before coding (or at least concurrently). Developers like to use JUnit for all kinds of Java applications. For unit testing server-side code, check out
Apache Jakarta Cactus
.
Developer has to write Junit Class crosspond to every class he wants to test. This junit class should be written based on junit framework. There can be one or more method to verify single original method.
Some
JavaIDEs
include direct support for creating and running JUnit test suites.
Apache Maven
provides a good framework for maintaining tests, as do most
ContinuousIntegration
tools.
JUnit becomes even more useful with automatically generated test protocols.
See also
http://junitscenario.sourceforge.net/
http://jxunit.sourceforge.net/
http://dbunit.sourceforge.net/
http://jwebunit.sourceforge.net/
http://htmlunit.sourceforge.net/
JUnitPerf
http://junitour.sourceforge.net
http://groboutils.sourceforge.net/
http://sqlunit.sourceforge.net/
http://jtestcase.sourceforge.net/
http://xmlunit.sourceforge.net/
http://nounit.sourceforge.net/
http://junitpp.sourceforge.net/
http://jub.sourceforge.net/
http://alphaworks.ibm.com/tech/junitx
Log4Unit
, an extension to
Log4J
See
Testing
for more (general) information on testing Java applications.
Discussion about JUnit
Topic
JUnit
. {
Edit
|
Ref-By
|
Printable
|
Diffs
r11
<
r10
<
r9
<
r8
<
r7
|
More
}
java.net
RSS
Revision r11 - 2008-04-09 - 18:58:26 - robogeek
Parents:
WebHome
>
FrameworksAndLibraries