is not current version
Last Version 3.3

net.sf.twip:twip 1.0

"Tests with Properties" allows you to simply add parameters to your JUnit tests. TwiP calls your test with all possible combinations of these parameters... or at least some commonly failing values in the case of Integers, etc. TwiP is especially useful, if you want to test all values of an enum or combinations of various boolean flags. Or 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 built-in values. Note that the number of test cases can grow quickly in this way, but the code you write tends to be much better reused than without TwiP. TwiP is comparable to the Parameterized and the experimental Theories Runners that are built into JUnit 4.5, but I think TwiP is much easier to grasp and handle, although the theory behind TwiP is the same as that for the Theories runner. As there can only be one runner for any given test class, TwiP also checks any JMock mockery field defined; see http://www.jmock.org/ for details. TwiP also enables the native Java assert keyword for your tests... I wonder why nobody uses them... I mean *nobody*, not even JUnit! I think it would help a lot if it simply was on by default.

Categories

Categories

Net
GroupId

GroupId

net.sf.twip
ArtifactId

ArtifactId

twip
Version

Version

1.0
Type

Type

jar

Download twip 1.0

Filename Size
twip-1.0.pom
twip-1.0.jar 15 KB
Browse

<!-- https://jarcasting.com/artifacts/net.sf.twip/twip/ -->
<dependency>
    <groupId>net.sf.twip</groupId>
    <artifactId>twip</artifactId>
    <version>1.0</version>
</dependency>
// https://jarcasting.com/artifacts/net.sf.twip/twip/
implementation 'net.sf.twip:twip:1.0'
// https://jarcasting.com/artifacts/net.sf.twip/twip/
implementation ("net.sf.twip:twip:1.0")
'net.sf.twip:twip:jar:1.0'
<dependency org="net.sf.twip" name="twip" rev="1.0">
  <artifact name="twip" type="jar" />
</dependency>
@Grapes(
@Grab(group='net.sf.twip', module='twip', version='1.0')
)
libraryDependencies += "net.sf.twip" % "twip" % "1.0"
[net.sf.twip/twip "1.0"]