AEM 6.3 Junit with javascript
Hi ,
Wanted to know if there is any possibility to integrate javascript with junit for writing test cases.
Thanks
Hi ,
Wanted to know if there is any possibility to integrate javascript with junit for writing test cases.
Thanks
Hi @srinivas_chann1, I think you are asking about JavaScript unit tests for your client library. If you want to write JavaScript Unit tests for your client libraries, you can follow the steps provided in this blog article, How to write Javascript Unit Tests for AEM Client Libraries with Jest.
Provided in the steps from the blog, you can review an example of JavaScript unit tests being invoked as a part of the Maven build command; using the Maven front-end Plugin. The Jest test library is being utilised.
However, if you want to write Java Unit Tests using JavaScript, please explain your use case...
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.