Artifacts/Year

Popular Categories

TwiP » 3.3alpha3

Note: There is a new version for this artifact

New Version3.3

"Tests with Parameters" allows you to simply add parameters to your JUnit test methods. TwiP calls such methods with all possible combinations of their parameters... or at least some reasonable subset of commonly failing values in the case of Integers, etc. You can further reduce these values with an assume expression in an annotation, e.g. ">= 0". Alternatively you can specify a static method or field to provide the values for your test method(s), if you want to test with other than the default values. By using TwiP you change the semantics of your tests from existence to for-all quantifiers, i.e. you specify "all ravens are black" instead of "Abraxas is black", "Toni is black", etc. This moves your tests closer to an executable specification, so TwiP is a very nice addition to BDD.

Artifact Download ( JAR )(71 KB)
POM FileView
Date(Sep 21, 2010)
HomePagehttp://twip.sourceforge.net/
Issue Trackerhttp://apps.sourceforge.net/trac/twip/wiki




Compile Dependencies (2)

Category Group / ArtifactVersionUpdates
Testingorg.hamcrest » hamcrest-library (optional) 1.11.3
Mockingorg.mockito » mockito-core (optional) 1.8.21.10.19

Provided Dependencies (1)

Category Group / ArtifactVersionUpdates
Testingjunit » junit 4.54.12

Developers

NameEmailDeveloper IdRolesOrganization
snackbox snackbox on users.sourceforge.netsnackbox

Packages

net.sf.twip
net.sf.twip.internal
net.sf.twip.mockito
net.sf.twip.parameterhandler
net.sf.twip.util
net.sf.twip.verify