Added JUnit dependency to run tests
This commit is contained in:
parent
4d4db1b153
commit
33984c4c0d
3 changed files with 10 additions and 3 deletions
|
@ -22,11 +22,12 @@ public class DemoApplicationBuild extends BaseProject {
|
|||
version(3,1,5)));
|
||||
scope(test)
|
||||
.include(dependency("org.springframework.boot", "spring-boot-starter-test",
|
||||
version(3,1,5)));
|
||||
version(3,1,5)))
|
||||
.include(dependency("org.junit.jupiter", "junit-jupiter",
|
||||
version(5,10,0)));
|
||||
|
||||
testOperation().mainClass("com.example.demo.DemoApplicationTest");
|
||||
}
|
||||
|
||||
public static void main(String[] args) {
|
||||
new DemoApplicationBuild().start(args);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue