0

I have deployed an OSGI bundle which is currently using a running FTP Server import some files , and saved the data in the Resource ( JCR / FS ) as provided . For the time being considering JCR , I have written sling unit test bundle which returns test results after hitting the SlingJunitServlet . What is the best way i can invoke the test bundle from the client side ?

4

1 回答 1

0

SlingRemoteTestRunner 允许作为 Maven 或其他构建的一部分运行的 JUnit 测试充当 SlingJUnitServlet 运行的服务器端测试的代理。

请参阅 testing/sample/integration 测试模块中的ServerSideSampleTest 示例

于 2013-06-01T13:07:59.053 回答