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.

Лицензия

Лицензия

Категории

Категории

Сеть
Группа

Группа

net.sf.twip
Идентификатор

Идентификатор

twip
Последняя версия

Последняя версия

3.3
Дата

Дата

Тип

Тип

jar
Описание

Описание

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.
Ссылка на сайт

Ссылка на сайт

http://twip.sourceforge.net/

Скачать twip

Имя Файла Размер
twip-3.3.pom
twip-3.3.jar 74 KB
twip-3.3-sources.jar 34 KB
twip-3.3-javadoc.jar 270 KB
Обзор

Как подключить последнюю версию

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

Зависимости

compile (3)

Идентификатор библиотеки Тип Версия
org.mockito : mockito-core Необязательный jar 1.8.5
org.hamcrest : hamcrest-library Необязательный jar 1.1
org.jboss.weld : weld-se Необязательный jar 1.0.1-Final

provided (1)

Идентификатор библиотеки Тип Версия
junit : junit jar 4.5

Модули Проекта

Данный проект не имеет модулей.

Версии библиотеки

Версия
3.3
3.3alpha5
3.3alpha4
3.3alpha3
3.3alpha2
3.3alpha1
3.2alpha1
3.1
3.0
2.3
2.2
2.0
1.0