File tree Expand file tree Collapse file tree 1 file changed +24
-1
lines changed Expand file tree Collapse file tree 1 file changed +24
-1
lines changed Original file line number Diff line number Diff line change 22UtilsVerifier is a pure java library that can be used in junit tests to verify that Utility method is properly defined.
33
44[ ![ Build Status] ( https://travis-ci.org/karczews/UtilsVerifier.svg?branch=master )] ( https://travis-ci.org/karczews/UtilsVerifier )
5+ [ ![ Sonatype Nexus (Releases)] ( https://img.shields.io/nexus/r/https/oss.sonatype.org/com.github.karczews/utilsverifier.svg?style=flat )] ( https://oss.sonatype.org/content/repositories/releases/com/github/karczews/utilsverifier/ )
56[ ![ codecov] ( https://codecov.io/gh/karczews/UtilsVerifier/branch/master/graph/badge.svg )] ( https://codecov.io/gh/karczews/UtilsVerifier )
67[ ![ Sonatype Nexus (Snapshots)] ( https://img.shields.io/nexus/s/https/oss.sonatype.org/com.github.karczews/utilsverifier.svg?style=flat )] ( https://oss.sonatype.org/content/repositories/snapshots/com/github/karczews/utilsverifier/ )
78[ ![ License] ( https://img.shields.io/badge/license-Apache%202.0-blue.svg )] ( https://github.com/karczews/UtilsVerifier/blob/master/LICENSE )
89
910By default verification includes:
10- * private constructor check
11+ * class has only one private constructor
1112 * class is final
1213 * class has no instance fields
1314 * class has no instance methods
1617--------
1718``` java
1819 UtilsVerifier . forClass(ClassToTest . class). verify();
20+ ```
21+
22+
23+ Download
24+ --------
25+
26+ To use library with Gradle
27+
28+ ``` groovy
29+ dependencies {
30+ compile 'com.github.karczews:utilsverifier:0.0.2'
31+ }
32+ ```
33+
34+ or using Maven:
35+
36+ ``` xml
37+ <dependency >
38+ <groupId >com.github.karczews</groupId >
39+ <artifactId >utilsverifier</artifactId >
40+ <version >0.0.2</version >
41+ </dependency >
1942```
You can’t perform that action at this time.
0 commit comments