Repository

Artifacts/Jars

Popular Tags

ajax analysis annotations ant apache api archetype aspect asynchronously beans binding bpm build buildsystem bytecode cache cms codecoverage codehaus collections concurrency container database directory distributed doc eclipse ejb esb format framework graph graphics hadoop hibernate html http ide imap io jbi jdbc jdo jini jms jmx jndi jsf jsp language logging mail maven metadata microsoft mock net osgi parser pdf persistence plugin pool portal portlet query regexp rmi rpc rss ruleengine scheduling scm scripting security server servlet soa soap socket spring ssh svg swt system taglib template testing transaction ui web webdav webframework webserver webservice workflow xml xquery xslt

[See All Tags]
home » net.sf.twip » twip » 3.3alpha1

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) (74 KB)
POM File View
HomePage http://twip.sourceforge.net/
Organization
Issue Tracker http://apps.sourceforge.net/trac/twip/wiki




This artifact depends on ...

Group Artifact Version
junit junit 4.5
org.jmock jmock-junit4 [2.5.1,)
org.mockito mockito-core 1.8.2

Licenses

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

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

Packages

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