Skip to content

Commit

Permalink
pom and readme
Browse files Browse the repository at this point in the history
  • Loading branch information
giograno committed Dec 10, 2020
1 parent 8a6ec21 commit 09d475c
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 6 deletions.
17 changes: 14 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,27 @@ Unit test code, just like any other source code, is subject to bad programming p

Test smells are defined as bad programming practices in unit test code (such as how test cases are organized, implemented and interact with each other) that indicate potential design problems in the test source code.



## Project Overview

The purpose of this project is twofold:

1. Contribute to the list of existing test smells, by proposing new test smells that developers need to be aware of.
2. Provide developers with a tool to automatically detect test smell in their unit test code.


## More Information

Visit the project website: https://testsmells.github.io/

## Execution

Running the jar with `--help` will print its usage.

```
Options:
-f, --file PATH The csv input file
-t, --thresholds [default|spadini]
The threshold to use for the detection
-g, --granularity [boolean|numerical]
Boolean value of numerical for the
detection
```
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@
<archive>
<manifest>
<mainClass>
Main
testsmell.RunnerKt
</mainClass>
</manifest>
</archive>
Expand Down
4 changes: 2 additions & 2 deletions src/test/java/testsmell/TestFileTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
class TestFileTest {

private String fileTest = "commons-lang," +
"/Users/grano/projects/commons-lang/src/test/java/org/apache/commons/lang3/RandomStringUtilsTest.java," +
"/Users/grano/projects/commons-lang/src/main/java/org/apache/commons/lang3/RandomStringUtils.java";
"/Users/giograno/projects/commons-lang/src/test/java/org/apache/commons/lang3/RandomStringUtilsTest.java," +
"/Users/giograno/projects/commons-lang/src/main/java/org/apache/commons/lang3/RandomStringUtils.java";
private String fileTestWindows = "myCoolApp," +
"F:\\Apps\\myCoolApp\\code\\test\\GraphTest.java," +
"F:\\Apps\\myCoolApp\\code\\src\\Graph.java";
Expand Down

0 comments on commit 09d475c

Please sign in to comment.