error prompt:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test) on project ssm-demo: There are t
est failures.
[ERROR]
[ERROR] Please refer to C:UserslxIdeaProjectsssmdemotargetsurefire-reports for the individual test results.
Project Directory
test
package model;
import org.junit.*;
import org.junit.Assert.*;
public class HelloWorldTest {
@Test
public void sayHi(){
Assert.assertEquals("Hello world!",new HelloWorld().sayHi());
}
}