Repository

Artifacts/Jars

Popular Tags

admin android apache api beans build build-system bytecode cache client cloud codehaus config console container database directory eclipse ejb esb framework groovy gwt http jboss json logging maven model module net osgi persistence plugin queue scala search security server servlet spring testing twitter ui web web-framework webserver webservice wicket xml

[All Tags]
home » net.sf.twip » twip » 3.3alpha3

TwiP

"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 File View
Date (Sep 21, 2010)
HomePage http://twip.sourceforge.net/
Organization
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.mockito mockito-core 1.8.2

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.3alpha3
Developer Connection scm:svn:https://twip.svn.sourceforge.net/svnroot/twip/tags/twip-3.3alpha3
Tag HEAD
URL https://twip.svn.sourceforge.net/svnroot/twip/tags/twip-3.3alpha3

Packages

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