Skip to content

raosamriddha/Gradle_Junit_Test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gradle_Junit_Test

Simple demo application to understand Junit working using Gradle

Gradle installation steps : https://gradle.org/install/

Gradle Dependency

Add the following lines to build.gradle in order to include JUnit dependencies

apply plugin: 'java'

dependencies {

testCompile 'junit:junit:4.12'  

}

Execution and results

Either run 'gradle build' or 'gradle test' to see the test results.

untitled

Or we can see the test report withinin project_path/build/reports/tests/test/index.html

untitled1

About

Simple demo application to understand Junit working using Gradle

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages