Skip to content

Commit

Permalink
Set version to 0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
drejc committed Oct 6, 2017
1 parent c322ee8 commit af42a13
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 1 deletion.
27 changes: 27 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,29 @@
# utils.junit
JUnit helpers and extensions

## Setup
```xml
<dependency>
<groupId>com.zandero</groupId>
<artifactId>utils.junit</artifactId>
<version>0.1</version>
<scope>test</scope>
</dependency>
```

## Usage

### Make sure final classes are well defined

- checks that class final
- checks that it has only one private constructor
- checks all methods should are static

```java

@Test
public void checkDefinition() {
AssertFinalClass.isWellDefined(FinalClass.class);
}
```

2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<artifactId>utils.junit</artifactId>
<groupId>com.zandero</groupId>
<version>1.0</version>
<version>0.1</version>
<packaging>jar</packaging>

<name>Zandero JUnit Utils</name>
Expand Down

0 comments on commit af42a13

Please sign in to comment.