Quality-Test

The goal of quality-test is to provide a small Java library for basic code quality checks within unit tests. It is discouraged to use quality-test in production code. The checks provided in this library are designed to be used in unit-tests. The checks and utilities provided in this package check static properties of classes, for example whether classes are marked final or constructors are private. Additionally, there are utils to give additional code coverage for private constructors. Quality-Test often can be used together with Google Reflections (http://code.google.com/p/reflections/) to perform checks such as, assure that every class in package *.dto.* is final or make sure that no class in the package *.controller.* contains any non-final static variables.

Лицензия

Лицензия

Категории

Категории

Сеть
Группа

Группа

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

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

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

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

1.3
Дата

Дата

Тип

Тип

jar
Описание

Описание

Quality-Test
The goal of quality-test is to provide a small Java library for basic code quality checks within unit tests. It is discouraged to use quality-test in production code. The checks provided in this library are designed to be used in unit-tests. The checks and utilities provided in this package check static properties of classes, for example whether classes are marked final or constructors are private. Additionally, there are utils to give additional code coverage for private constructors. Quality-Test often can be used together with Google Reflections (http://code.google.com/p/reflections/) to perform checks such as, assure that every class in package *.dto.* is final or make sure that no class in the package *.controller.* contains any non-final static variables.
Ссылка на сайт

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

http://qualitycheck.sourceforge.net/modules/quality-test/

Скачать quality-test

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

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

Зависимости

compile (3)

Идентификатор библиотеки Тип Версия
net.sf.qualitycheck : quality-check jar 1.3
com.google.code.findbugs : jsr305 jar 2.0.1
com.google.guava : guava jar 14.0.1

test (8)

Идентификатор библиотеки Тип Версия
commons-logging : commons-logging jar 1.1.1
junit : junit jar 4.11
org.slf4j : slf4j-api jar 1.7.5
org.slf4j : slf4j-simple jar 1.7.5
org.powermock : powermock-module-junit4 jar 1.5.1
org.powermock : powermock-api-easymock jar 1.5.1
org.easymock : easymock jar 3.2
cglib : cglib jar 3.0

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

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

Quality-Check

The goal of quality-check is to provide a small Java library for basic runtime code quality checks. It provides similar features to org.springframework.util.Assert or com.google.common.base.Preconditions without the need to include big libraries or frameworks such as Spring or Guava. The package quality-check tries to replace these libraries and provide all the basic code quality checks you need.

The checks provided here are typically used to validate method parameters and detect errors during runtime. To detect errors before runtime we use JSR-305 Annotations. With these annotations you are able to detect possible bugs earlier. For more informations look at FindBugs™ JSR-305 support.

We noticed that many projects just copy org.springframework.util.Assert or com.google.common.base.Preconditions to get access to these quality checks. Therefore we provide these features and small library that can be included in any application without big overhead.

License

Please visit the Quality-Check web site for more information:

http://qualitycheck.sourceforge.net/

Copyright 2012 André Rouél, Dominik Seichter

Dominik Seichter and André Rouél licenses this product to you under the Apache License, version 2.0 (the "License"); you may not use this product except in compliance with the License. You may obtain a copy of the License at:

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

net.sf.qualitycheck

Before

Before the fun 🎉

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

Версия
1.3
1.2
1.1