This section contains the detail about unit testing.
Unit Testing
Unit Testing is one of the phase of software development process in which units(smallest part of the application) are separately examined for proper operation. Generally programmers and occasionally white box testers created unit tests. Its implementation can vary from being very manual (pencil and paper) to being formalized as part of build automation.
Goals
The main goal of unit testing is to take littlest part of software under test in the application, set apart it from rest of the code, and find out the whether it acts exactly as you expect. Each unit is tested separately before integrating them into modules to test the interfaces between modules.
Finding the error (or errors) in the integrated module is much more complicated than first isolating the units, testing each, then integrating them and testing the whole.
Unit tests can ensure that functionality is working and can be used to validate that this functionality still works after code changes.
Some of the famous java unit testing tools are listed below :
-
JMockit
-
Artima SuiteRunner
-
Cactus
-
Checkstyle
-
Cobertura
-
Continuous Testing
-
Daedalos JUnit Extensions
-
Dbunit
-
DDSteps
-
DepUnit
-
djUnit
-
Dumbster
-
EasyMock + ClassExtension
-
EclEmma
-
Ejb3unit
-
Emma
-
Feed4JUnit
-
Fest
-
Findbugs
-
Gretel
-
GroboUtils
-
Hansel 1.0
-
Haste
-
J2ME Unit Testing Toolkit
-
Jacareto
-
Jailer
-
JDepend
-
JEasyTest
-
JellyUnit
-
Jester
-
Jete
-
Jetif
-
JFCUnit
-
Jiffie
-
jMock
-
JOSIT
-
JsTester
-
JSystem
-
JTestCase
-
Jumble
-
JUnit
-
JUnit-addons
-
JUnitDoclet
-
JUnitEE
-
JUnitPerf
-
JXUnit
-
Macker
-
Mockito
-
MockObjects
-
Mockrunner
-
MoMEUnit
-
moreUnit
-
NoUnit
-
Pisces
-
PMD
-
Quilt
-
Slim
-
Sonar
-
StrutsTestCase for JUnit v1.9.5
-
T2
-
TagUnit
-
Testare
-
TestGen4J
-
TestNG
-
UISpec4J
-
Unitils
-
XHTMLUnit
-
XTest
[ 0 ] Comments