Added tests and categories

This commit is contained in:
Jeroen van Erp
2015-06-17 16:04:01 +02:00
parent 314d9d01cf
commit b8eec64a37
12 changed files with 147 additions and 13 deletions

View File

@@ -22,6 +22,13 @@ configurations {
test {
include "**/*Test.*"
if (!project.hasProperty("allTests")) {
useJUnit {
excludeCategories 'com.hierynomus.sshj.test.SlowTests'
excludeCategories 'com.hierynomus.sshj.test.KnownFailingTests'
}
}
afterSuite { descriptor, result ->
if (descriptor.className != null) {
def indicator = "\u001B[32m✓\u001b[0m"