我正在尝试使用 JUnit Servlet 在 Adobe AEM 实例上远程执行 JUnit 测试。帖子供引用:Which Testing framework will suit for Adobe CQ5 Project?
我已经定义了我的测试用例,并希望能够在此 URL 上看到它
http://localhost:4502/system/sling/junit/
但它没有显示。
测试使用mvn test
正确运行。
这是一个非常简单的测试用例(junit3):
import junit.framework.TestCase;
public class mySampleTest extends TestCase {
public void testSomething(){
return;
}
}
我需要做什么才能使测试用例在 Sling 远程 JUnit 测试 servlet 中可用?
最佳答案
关于java - Sling 远程 Junit 测试用例,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28767453/