MVN

net.sf.twip : twip

Maven & Gradle

Mar 31, 2011
15 usages

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.

<dependency>
    <groupId>net.sf.twip</groupId>
    <artifactId>twip</artifactId>
    <version>3.3</version>
</dependency>
Copy
pom.xml
Table Of Contents

Latest Version

Choose a version of net.sf.twip : twip to add to Maven or Gradle - Latest Versions:

  • Latest Stable: 3.3

All Versions

Choose a version of net.sf.twip : twip to add to Maven or Gradle - All Versions:

Version Vulnerabilities Updated
3.3
twip-3.3
3.1
twip-3.1
3.3alpha5
twip-3.3alpha5
3.3alpha4
twip-3.3alpha4
3.3alpha3
twip-3.3alpha3
3.3alpha2
twip-3.3alpha2
3.3alpha1
twip-3.3alpha1
3.2alpha1
twip-3.2alpha1
3.0
twip-3.0
2.3
twip-2.3
2.2
twip-2.2
2.0
twip-2.0
1.0
twip-1.0

How to add a dependency to Maven

Add the following net.sf.twip : twip maven dependency to the pom.xml file with your favorite IDE (IntelliJ / Eclipse / Netbeans):

<dependency>
    <groupId>net.sf.twip</groupId>
    <artifactId>twip</artifactId>
    <version>3.3</version>
</dependency>

How to add a dependency to Gradle

Gradle Groovy DSL: Add the following net.sf.twip : twip gradle dependency to your build.gradle file:

implementation 'net.sf.twip:twip:3.3'

Gradle Kotlin DSL: Add the following net.sf.twip : twip gradle kotlin dependency to your build.gradle.kts file:

implementation("net.sf.twip:twip:3.3")

How to add a dependency to SBT Scala

SBT Scala: Add the following net.sf.twip : twip sbt scala dependency to your build.sbt file:

libraryDependencies += "net.sf.twip" % "twip" % "3.3"

Advertisement