Viewing results of junit test for gradle?

Viewed 12106

So I currently have the following build.gradle file:

apply plugin: 'java'

sourceSets {
    main {
        java {
            srcDir 'src/model'
        }
    }

    test {
        srcDirs = ["tests/model"]
    }
}

dependencies {
    compile files('libs/mnist-tools.jar', 'libs/gson-2.2.4.jar')
    runtime fileTree(dir: 'libs', include: '*.jar')

    testCompile group: 'junit', name: 'junit', version: '4.+'
}  

that builds successfully when I type "gradle test" into the command line.

However I do the following error when running gradle test:

Creating properties on demand(a.k.a dynamic properties) has been deprecated.

As you can see, my junit tests are all in the folder test/model/ but I was wondering how do I see the results of if my junit tests passed?

You can view my repository here: https://github.com/quinnliu/WalnutiQ

3 Answers
Related