Library飘红,junit测试代码报错
请教具体是否添加什么依赖或者是这么写不对呢
/*
* This Java source file was generated by the Gradle 'init' task.
*/
package com.webbuilder;
import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.*;
class LibraryTest {
@Test void testSomeLibraryMethod() {
Library classUnderTest = new Library();
assertTrue(classUnderTest.someLibraryMethod(), "someLibraryMethod should return 'true'");
}
}