simple test

This commit is contained in:
efim 2022-10-27 10:14:23 +00:00
parent 063ec492c0
commit 12480fdfd8
2 changed files with 21 additions and 0 deletions

View File

@ -14,3 +14,11 @@ jar {
attributes 'Main-Class': 'com.study.GradleTutorial'
}
}
repositories {
mavenCentral()
}
dependencies {
testImplementation group: 'junit', name: 'junit', version: '4.13.2'
}

View File

@ -0,0 +1,13 @@
package com.study;
import org.junit.Test;
public class GradleTutorialTest {
@Test
public void verifyNoExceptionThrown() {
GradleTutorial.main(new String[]{});
}
}