simple test
This commit is contained in:
parent
063ec492c0
commit
12480fdfd8
|
@ -14,3 +14,11 @@ jar {
|
|||
attributes 'Main-Class': 'com.study.GradleTutorial'
|
||||
}
|
||||
}
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
}
|
||||
|
||||
dependencies {
|
||||
testImplementation group: 'junit', name: 'junit', version: '4.13.2'
|
||||
}
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
package com.study;
|
||||
|
||||
import org.junit.Test;
|
||||
|
||||
public class GradleTutorialTest {
|
||||
|
||||
@Test
|
||||
public void verifyNoExceptionThrown() {
|
||||
GradleTutorial.main(new String[]{});
|
||||
}
|
||||
|
||||
|
||||
}
|
Loading…
Reference in New Issue