Artifacts/Year

Popular Categories

TwiP » 3.3alpha5

"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 ) (75 KB)
POM File View
Date (Dec 30, 2010)
HomePage http://twip.sourceforge.net/
Issue Tracker http://apps.sourceforge.net/trac/twip/wiki




Licenses

License URL
Apache 2.0 http://www.apache.org/licenses/LICENSE-2.0.txt

Depends on

Group Artifact Version
junit junit 4.5
org.hamcrest hamcrest-library 1.1
org.jboss.weld weld-se 1.0.1-Final
org.mockito mockito-core 1.8.5

Developers

Name Email Developer Id Roles Organization
snackbox snackbox on users.sourceforge.net snackbox

Source Control

Connection scm:svn:https://twip.svn.sourceforge.net/svnroot/twip/tags/twip-3.3alpha5
Developer Connection scm:svn:https://twip.svn.sourceforge.net/svnroot/twip/tags/twip-3.3alpha5
Tag HEAD
URL $https://twip.svn.sourceforge.net/svnroot/twip/tags/twip-3.3alpha5

Packages

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