-
Notifications
You must be signed in to change notification settings - Fork 163
Closed
Description
Hi,
I create a new project using maven and 'spring-boot-blank-archetype'.
After that, i just kept the following code:
//HelloController.java
package com.tainer.soft.apptotest.core;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@RestController
public class HelloController {
@RequestMapping("/")
String hello() {
return "Hello World!";
}
}
And
//HelloControllerTest.java
@Test
public void testHello() throws Exception {
when().get("/").then()
.body(is("Hello World!"));
}
And then, running the testHello unit test, this messagem shown on the Java Test Runner Output:
[INFO] @@<TestRunner-{"name":"testFinished", "attributes":{"name":"com.tainer.soft.apptotest.core.HelloControllerTest#testHello", "duration":"3398"}}-TestRunner>
[INFO] @@<TestRunner-{"name":"testSuiteFinished", "attributes":{"name":"com.tainer.soft.apptotest.core.HelloControllerTest"}}-TestRunner>
[INFO] @@<TestRunner-{"name":"testSummary", "attributes":{"message":"Total tests run: 1, Failures: 0, Skips: 0"}}-TestRunner>
while a popup "Running Tests..." runs forever, without finish the process.
Any idea?
tanks for your time