java-common-test

Java 8 Common Utilities

Лицензия

Лицензия

Категории

Категории

Java Языки программирования Protobuf Данные Data Structures
Группа

Группа

com.github.protobufel
Идентификатор

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

java-common-test
Последняя версия

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

0.1.7
Дата

Дата

Тип

Тип

jar
Описание

Описание

java-common-test
Java 8 Common Utilities
Ссылка на сайт

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

https://github.com/protobufel/java-common-test
Система контроля версий

Система контроля версий

https://github.com/protobufel/java-common-test

Скачать java-common-test

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

<!-- https://jarcasting.com/artifacts/com.github.protobufel/java-common-test/ -->
<dependency>
    <groupId>com.github.protobufel</groupId>
    <artifactId>java-common-test</artifactId>
    <version>0.1.7</version>
</dependency>
// https://jarcasting.com/artifacts/com.github.protobufel/java-common-test/
implementation 'com.github.protobufel:java-common-test:0.1.7'
// https://jarcasting.com/artifacts/com.github.protobufel/java-common-test/
implementation ("com.github.protobufel:java-common-test:0.1.7")
'com.github.protobufel:java-common-test:jar:0.1.7'
<dependency org="com.github.protobufel" name="java-common-test" rev="0.1.7">
  <artifact name="java-common-test" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.github.protobufel', module='java-common-test', version='0.1.7')
)
libraryDependencies += "com.github.protobufel" % "java-common-test" % "0.1.7"
[com.github.protobufel/java-common-test "0.1.7"]

Зависимости

runtime (2)

Идентификатор библиотеки Тип Версия
org.assertj : assertj-core jar 3.8.0
junit : junit jar 4.12

test (3)

Идентификатор библиотеки Тип Версия
com.google.guava : guava jar 22.0
com.google.guava : guava-testlib jar 22.0
pl.pragmatists : JUnitParams jar 1.1.0

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

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

Travis branch codecov Maven Central

Common Java 8 Test Utilities

 // This package provides some common AssertJ assertions and other test utilities.

 import static com.github.protobufel.test.common.misc.CommonAssertions.assertThatType;
 import com.github.protobufel.test.common.misc.CommonJUnitSoftAssertions;

 class MyTest {
     
 //...
 
     @Test
     public void testUtilityClass() {
        assertThatType(MyUtilityClass.class).isUtilityClass();
     }
     
     @Test
     public void testSomethingElse() {
        assertThatType(MyNonUtilityClass.class).isNotUtilityClass();
     }
     
// or use soft assertions:
    @Rule
    public final CommonJunitSoftAssertions softly = new CommonJunitSoftAssertions();

     
     @Test
     public void testUtilityClassSoftly() {
        softly.assertThatType(MyUtilityClass.class).isUtilityClass();
        softly.assertThat(true).isTrue();
     }
          
 //...
 }
For more see the JavaDoc Documentation.

Happy coding,

David Tesler

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

Версия
0.1.7
0.1.6
0.1.5
0.1.0